On Tue, Dec 8, 2020 at 4:51 PM GitLab Bridge on behalf of jlinton <cki-gitlab@xxxxxxxxxx> wrote: > > From: Jeremy Linton <jeremy.linton@xxxxxxx> > > Coresight is a hardware assisted debug and trace technology. > Now that 5.10 allows them to be built as modules lets > enable the functionality in fedora. > > More information about coresight may be found here: > > https://developer.arm.com/ip-products/system-ip/coresight-debug-and-trace > > Signed-off-by: Jeremy Linton <jeremy.linton@xxxxxxx> Reviewed-by: Peter Robinson <pbrobinson@xxxxxxxxxxxxxxxxx> Generally LGTM from a Fedora aarch64 PoV, I know this functionality was being reviewed for RHEL, so should it go into redhat/configs/common/ instead? Peter > --- > redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT | 1 + > redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_CATU | 1 + > .../fedora/generic/arm/aarch64/CONFIG_CORESIGHT_CPU_DEBUG | 1 + > redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_CTI | 1 + > .../generic/arm/aarch64/CONFIG_CORESIGHT_CTI_INTEGRATION_REGS | 1 + > .../fedora/generic/arm/aarch64/CONFIG_CORESIGHT_LINKS_AND_SINKS | 1 + > .../generic/arm/aarch64/CONFIG_CORESIGHT_LINK_AND_SINK_TMC | 1 + > .../fedora/generic/arm/aarch64/CONFIG_CORESIGHT_SINK_ETBV10 | 1 + > .../fedora/generic/arm/aarch64/CONFIG_CORESIGHT_SINK_TPIU | 1 + > .../fedora/generic/arm/aarch64/CONFIG_CORESIGHT_SOURCE_ETM4X | 1 + > redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_STM | 1 + > .../configs/fedora/generic/arm/aarch64/CONFIG_PID_IN_CONTEXTIDR | 1 + > redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM | 1 + > redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_DUMMY | 1 + > redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_PROTO_BASIC | 1 + > redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_PROTO_SYS_T | 1 + > .../configs/fedora/generic/arm/aarch64/CONFIG_STM_SOURCE_CONSOLE | 1 + > .../configs/fedora/generic/arm/aarch64/CONFIG_STM_SOURCE_FTRACE | 1 + > .../fedora/generic/arm/aarch64/CONFIG_STM_SOURCE_HEARTBEAT | 1 + > 19 files changed, 19 insertions(+) > create mode 100644 redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT > create mode 100644 redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_CATU > create mode 100644 redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_CPU_DEBUG > create mode 100644 redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_CTI > create mode 100644 redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_CTI_INTEGRATION_REGS > create mode 100644 redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_LINKS_AND_SINKS > create mode 100644 redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_LINK_AND_SINK_TMC > create mode 100644 redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_SINK_ETBV10 > create mode 100644 redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_SINK_TPIU > create mode 100644 redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_SOURCE_ETM4X > create mode 100644 redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_STM > create mode 100644 redhat/configs/fedora/generic/arm/aarch64/CONFIG_PID_IN_CONTEXTIDR > create mode 100644 redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM > create mode 100644 redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_DUMMY > create mode 100644 redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_PROTO_BASIC > create mode 100644 redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_PROTO_SYS_T > create mode 100644 redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_SOURCE_CONSOLE > create mode 100644 redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_SOURCE_FTRACE > create mode 100644 redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_SOURCE_HEARTBEAT > > diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT > new file mode 100644 > index 000000000000..4d70504d87d4 > --- /dev/null > +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT > @@ -0,0 +1 @@ > +CONFIG_CORESIGHT=m > diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_CATU b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_CATU > new file mode 100644 > index 000000000000..160c1a367bad > --- /dev/null > +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_CATU > @@ -0,0 +1 @@ > +CONFIG_CORESIGHT_CATU=m > diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_CPU_DEBUG b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_CPU_DEBUG > new file mode 100644 > index 000000000000..05ee4b1530f6 > --- /dev/null > +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_CPU_DEBUG > @@ -0,0 +1 @@ > +CONFIG_CORESIGHT_CPU_DEBUG=m > diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_CTI b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_CTI > new file mode 100644 > index 000000000000..da3d7a8beae5 > --- /dev/null > +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_CTI > @@ -0,0 +1 @@ > +CONFIG_CORESIGHT_CTI=m > diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_CTI_INTEGRATION_REGS b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_CTI_INTEGRATION_REGS > new file mode 100644 > index 000000000000..d480f04ef0fb > --- /dev/null > +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_CTI_INTEGRATION_REGS > @@ -0,0 +1 @@ > +# CONFIG_CORESIGHT_CTI_INTEGRATION_REGS is not set > diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_LINKS_AND_SINKS b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_LINKS_AND_SINKS > new file mode 100644 > index 000000000000..c1885e26676d > --- /dev/null > +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_LINKS_AND_SINKS > @@ -0,0 +1 @@ > +CONFIG_CORESIGHT_LINKS_AND_SINKS=m > diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_LINK_AND_SINK_TMC b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_LINK_AND_SINK_TMC > new file mode 100644 > index 000000000000..af3cefcef6b2 > --- /dev/null > +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_LINK_AND_SINK_TMC > @@ -0,0 +1 @@ > +CONFIG_CORESIGHT_LINK_AND_SINK_TMC=m > diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_SINK_ETBV10 b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_SINK_ETBV10 > new file mode 100644 > index 000000000000..e2179b9b003b > --- /dev/null > +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_SINK_ETBV10 > @@ -0,0 +1 @@ > +CONFIG_CORESIGHT_SINK_ETBV10=m > diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_SINK_TPIU b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_SINK_TPIU > new file mode 100644 > index 000000000000..3875bb704ffe > --- /dev/null > +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_SINK_TPIU > @@ -0,0 +1 @@ > +CONFIG_CORESIGHT_SINK_TPIU=m > diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_SOURCE_ETM4X b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_SOURCE_ETM4X > new file mode 100644 > index 000000000000..7989081534a0 > --- /dev/null > +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_SOURCE_ETM4X > @@ -0,0 +1 @@ > +CONFIG_CORESIGHT_SOURCE_ETM4X=m > diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_STM b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_STM > new file mode 100644 > index 000000000000..742eeaa7521c > --- /dev/null > +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_CORESIGHT_STM > @@ -0,0 +1 @@ > +CONFIG_CORESIGHT_STM=m > diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_PID_IN_CONTEXTIDR b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_PID_IN_CONTEXTIDR > new file mode 100644 > index 000000000000..29cefd2bda14 > --- /dev/null > +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_PID_IN_CONTEXTIDR > @@ -0,0 +1 @@ > +CONFIG_PID_IN_CONTEXTIDR=y > diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM > new file mode 100644 > index 000000000000..3542730b9e82 > --- /dev/null > +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM > @@ -0,0 +1 @@ > +CONFIG_STM=m > diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_DUMMY b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_DUMMY > new file mode 100644 > index 000000000000..704a19ecec34 > --- /dev/null > +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_DUMMY > @@ -0,0 +1 @@ > +# CONFIG_STM_DUMMY is not set > diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_PROTO_BASIC b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_PROTO_BASIC > new file mode 100644 > index 000000000000..7aed3f091d14 > --- /dev/null > +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_PROTO_BASIC > @@ -0,0 +1 @@ > +# CONFIG_STM_PROTO_BASIC is not set > diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_PROTO_SYS_T b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_PROTO_SYS_T > new file mode 100644 > index 000000000000..2dfea9b0aebf > --- /dev/null > +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_PROTO_SYS_T > @@ -0,0 +1 @@ > +# CONFIG_STM_PROTO_SYS_T is not set > diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_SOURCE_CONSOLE b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_SOURCE_CONSOLE > new file mode 100644 > index 000000000000..aa10fd4769d8 > --- /dev/null > +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_SOURCE_CONSOLE > @@ -0,0 +1 @@ > +# CONFIG_STM_SOURCE_CONSOLE is not set > diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_SOURCE_FTRACE b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_SOURCE_FTRACE > new file mode 100644 > index 000000000000..db5d7c1dcb81 > --- /dev/null > +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_SOURCE_FTRACE > @@ -0,0 +1 @@ > +# CONFIG_STM_SOURCE_FTRACE is not set > diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_SOURCE_HEARTBEAT b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_SOURCE_HEARTBEAT > new file mode 100644 > index 000000000000..70814f3b7bce > --- /dev/null > +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_STM_SOURCE_HEARTBEAT > @@ -0,0 +1 @@ > +# CONFIG_STM_SOURCE_HEARTBEAT is not set > -- > GitLab > _______________________________________________ > kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx