* [PATCH 1/4] coresight: etm4x: Add ETM PID for Cortex-A78
2021-04-07 16:00 [PATCH 0/4] coresight: Patches for v5.13 Mathieu Poirier
@ 2021-04-07 16:00 ` Mathieu Poirier
2021-04-07 16:00 ` [PATCH 2/4] coresight: etm: perf: Make symbol 'format_attr_contextid' static Mathieu Poirier
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Mathieu Poirier @ 2021-04-07 16:00 UTC (permalink / raw)
To: gregkh; +Cc: linux-arm-kernel, linux-kernel
From: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Add ETM PID for Cortex-A78 to the list of supported ETMs.
Link: https://lore.kernel.org/r/20210213112829.26834-1-saiprakash.ranjan@codeaurora.org
Reviewed-by: Mike Leach <mike.leach@linaro.org>
Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
---
drivers/hwtracing/coresight/coresight-etm4x-core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hwtracing/coresight/coresight-etm4x-core.c b/drivers/hwtracing/coresight/coresight-etm4x-core.c
index 15016f757828..a5b13a7779c3 100644
--- a/drivers/hwtracing/coresight/coresight-etm4x-core.c
+++ b/drivers/hwtracing/coresight/coresight-etm4x-core.c
@@ -1951,6 +1951,7 @@ static const struct amba_id etm4_ids[] = {
CS_AMBA_UCI_ID(0x000bbd05, uci_id_etm4),/* Cortex-A55 */
CS_AMBA_UCI_ID(0x000bbd0a, uci_id_etm4),/* Cortex-A75 */
CS_AMBA_UCI_ID(0x000bbd0c, uci_id_etm4),/* Neoverse N1 */
+ CS_AMBA_UCI_ID(0x000bbd41, uci_id_etm4),/* Cortex-A78 */
CS_AMBA_UCI_ID(0x000f0205, uci_id_etm4),/* Qualcomm Kryo */
CS_AMBA_UCI_ID(0x000f0211, uci_id_etm4),/* Qualcomm Kryo */
CS_AMBA_UCI_ID(0x000bb802, uci_id_etm4),/* Qualcomm Kryo 385 Cortex-A55 */
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/4] coresight: etm: perf: Make symbol 'format_attr_contextid' static
2021-04-07 16:00 [PATCH 0/4] coresight: Patches for v5.13 Mathieu Poirier
2021-04-07 16:00 ` [PATCH 1/4] coresight: etm4x: Add ETM PID for Cortex-A78 Mathieu Poirier
@ 2021-04-07 16:00 ` Mathieu Poirier
2021-04-07 16:00 ` [PATCH 3/4] coresight: core: Fix typo in coresight-core.c Mathieu Poirier
2021-04-07 16:00 ` [PATCH 4/4] MAINTAINERS: Add CoreSight header files Mathieu Poirier
3 siblings, 0 replies; 5+ messages in thread
From: Mathieu Poirier @ 2021-04-07 16:00 UTC (permalink / raw)
To: gregkh; +Cc: linux-arm-kernel, linux-kernel
From: Wei Yongjun <weiyongjun1@huawei.com>
The sparse tool complains as follows:
drivers/hwtracing/coresight/coresight-etm-perf.c:61:25: warning:
symbol 'format_attr_contextid' was not declared. Should it be static?
This symbol is not used outside of coresight-etm-perf.c, so this
commit marks it static.
Reported-by: Hulk Robot <hulkci@huawei.com>
Link: https://lore.kernel.org/r/20210308123250.2417947-1-weiyongjun1@huawei.com
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
---
drivers/hwtracing/coresight/coresight-etm-perf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hwtracing/coresight/coresight-etm-perf.c b/drivers/hwtracing/coresight/coresight-etm-perf.c
index 0f603b4094f2..bdbb77334329 100644
--- a/drivers/hwtracing/coresight/coresight-etm-perf.c
+++ b/drivers/hwtracing/coresight/coresight-etm-perf.c
@@ -58,7 +58,7 @@ static ssize_t format_attr_contextid_show(struct device *dev,
return sprintf(page, "config:%d\n", pid_fmt);
}
-struct device_attribute format_attr_contextid =
+static struct device_attribute format_attr_contextid =
__ATTR(contextid, 0444, format_attr_contextid_show, NULL);
static struct attribute *etm_config_formats_attr[] = {
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/4] coresight: core: Fix typo in coresight-core.c
2021-04-07 16:00 [PATCH 0/4] coresight: Patches for v5.13 Mathieu Poirier
2021-04-07 16:00 ` [PATCH 1/4] coresight: etm4x: Add ETM PID for Cortex-A78 Mathieu Poirier
2021-04-07 16:00 ` [PATCH 2/4] coresight: etm: perf: Make symbol 'format_attr_contextid' static Mathieu Poirier
@ 2021-04-07 16:00 ` Mathieu Poirier
2021-04-07 16:00 ` [PATCH 4/4] MAINTAINERS: Add CoreSight header files Mathieu Poirier
3 siblings, 0 replies; 5+ messages in thread
From: Mathieu Poirier @ 2021-04-07 16:00 UTC (permalink / raw)
To: gregkh; +Cc: linux-arm-kernel, linux-kernel
From: Qi Liu <liuqi115@huawei.com>
Fix the following checkpatch warning:
WARNING: 'compoment' may be misspelled - perhaps 'component'?
Link: https://lore.kernel.org/r/1616487086-50418-1-git-send-email-liuqi115@huawei.com
Signed-off-by: Qi Liu <liuqi115@huawei.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
---
drivers/hwtracing/coresight/coresight-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hwtracing/coresight/coresight-core.c b/drivers/hwtracing/coresight/coresight-core.c
index 0062c8935653..b57bea167102 100644
--- a/drivers/hwtracing/coresight/coresight-core.c
+++ b/drivers/hwtracing/coresight/coresight-core.c
@@ -86,7 +86,7 @@ static int coresight_id_match(struct device *dev, void *data)
i_csdev->type != CORESIGHT_DEV_TYPE_SOURCE)
return 0;
- /* Get the source ID for both compoment */
+ /* Get the source ID for both components */
trace_id = source_ops(csdev)->trace_id(csdev);
i_trace_id = source_ops(i_csdev)->trace_id(i_csdev);
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 4/4] MAINTAINERS: Add CoreSight header files
2021-04-07 16:00 [PATCH 0/4] coresight: Patches for v5.13 Mathieu Poirier
` (2 preceding siblings ...)
2021-04-07 16:00 ` [PATCH 3/4] coresight: core: Fix typo in coresight-core.c Mathieu Poirier
@ 2021-04-07 16:00 ` Mathieu Poirier
3 siblings, 0 replies; 5+ messages in thread
From: Mathieu Poirier @ 2021-04-07 16:00 UTC (permalink / raw)
To: gregkh; +Cc: linux-arm-kernel, linux-kernel
Adding CoreSight headers to the list of supported files so that maintainers
can be notified when changes are submitted.
Link: https://lore.kernel.org/r/20210326155431.2011889-1-mathieu.poirier@linaro.org
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 6ae3955525a9..aa86b4d0bfce 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1764,6 +1764,7 @@ F: Documentation/devicetree/bindings/arm/coresight.txt
F: Documentation/trace/coresight/*
F: drivers/hwtracing/coresight/*
F: include/dt-bindings/arm/coresight-cti-dt.h
+F: include/linux/coresight*
F: tools/perf/arch/arm/util/auxtrace.c
F: tools/perf/arch/arm/util/cs-etm.c
F: tools/perf/arch/arm/util/cs-etm.h
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread