Sent as a splitted re-roll of patchset [1] to keep the patches more
semantically grouped. The patches themselves have been tested and
reviewed in the previous submission already.
Changes since v1:
- Sent as a separate patchset.
- Added acme to the recipients list as I forgot to include him in [1].
[1] https://lore.kernel.org/all/20210916154635.1525-1-german.gomez@arm.com/
Andrew Kilroy (2):
perf cs-etm: Print size using consistent format
perf arm-spe: Print size using consistent format
tools/perf/util/arm-spe.c | 2 +-
tools/perf/util/cs-etm.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
2.25.1
On 2021/11/5 9:36, Randy Dunlap wrote:
> On 11/4/21 6:20 PM, Qi Liu wrote:
>> diff --git a/drivers/hwtracing/coresight/ultrasoc/Kconfig
>> b/drivers/hwtracing/coresight/ultrasoc/Kconfig
>> new file mode 100644
>> index 000000000000..c18c25bf9df3
>> --- /dev/null
>> +++ b/drivers/hwtracing/coresight/ultrasoc/Kconfig
>> @@ -0,0 +1,12 @@
>> +# SPDX-License-Identifier: MIT
>> +#
>> +# ultrasoc configuration
>> +#
>> +config ULTRASOC_SMB
>> + tristate "Ultrasoc system memory buffer drivers"
>> + depends on ARM64 && CORESIGHT
>
> The "depends" line should be indented with a tab instead of spaces...
>
ah, yes, my editor might be set incorrectly, thanks for the reminder,
I'll correct it next time.
Qi
>> + help
>> + This enables support for the Ultrasoc system memory buffer
>> + driver that is responsible for receiving the trace data from
>> + Coresight ETM devices and storing them to a system buffer
>> + respectively.
>
>
The following changes since commit 561ced0bb90a4be298b7db5fb54f29731d74a3f6:
arm64: errata: Enable TRBE workaround for write to out-of-range address (2021-10-27 11:46:06 -0600)
are available in the Git repository at:
git@gitolite.kernel.org:pub/scm/linux/kernel/git/coresight/linux.git tags/coresight-fixes-v5.16
for you to fetch changes up to 20b02fe36530a1e48dde73c80b882ae276346ea3:
arm64: cpufeature: Export this_cpu_has_cap helper (2021-11-04 10:46:21 -0600)
---------------------------------------------------------------
coresight: Fix for v5.16
This fix enables to compile the TRBE driver as a module by
exporting function this_cpu_has_cap().
Signed-off-by: Mathieu Poirier <mathieu.poirier(a)linaro.org>
----------------------------------------------------------------
Arnd Bergmann (1):
arm64: cpufeature: Export this_cpu_has_cap helper
arch/arm64/kernel/cpufeature.c | 1 +
1 file changed, 1 insertion(+)
From: Arnd Bergmann <arnd(a)arndb.de>
Export the this_cpu_has_cap() for use by modules. This is
used by TRBE driver. Without this patch, TRBE will fail
to build as a module :
ERROR: modpost: "this_cpu_has_cap" [drivers/hwtracing/coresight/coresight-trbe.ko] undefined!
Fixes: 8a1065127d95 ("coresight: trbe: Add infrastructure for Errata handling")
Cc: Will Deacon <will(a)kernel.org>
Cc: Catalin Marinas <catalin.marinas(a)arm.com>
Cc: Mathieu Poirier <mathieu.poirier(a)linaro.org>
Cc: Anshuman Khandual <anshuman.khandual(a)arm.com>
Signed-off-by: Arnd Bergmann <arnd(a)arndb.de>
[ change to EXPORT_SYMBOL_GPL ]
Acked-by: Catalin Marinas <catalin.marinas(a)arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose(a)arm.com>
---
arch/arm64/kernel/cpufeature.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c
index f8a3067d10c6..82e68c69bb99 100644
--- a/arch/arm64/kernel/cpufeature.c
+++ b/arch/arm64/kernel/cpufeature.c
@@ -2839,6 +2839,7 @@ bool this_cpu_has_cap(unsigned int n)
return false;
}
+EXPORT_SYMBOL_GPL(this_cpu_has_cap);
/*
* This helper function is used in a narrow window when,
--
2.25.4