[PATCH] coresight: tmc: Fix overflow when calculating is bigger than 2GiB
Suzuki K Poulose
suzuki.poulose at arm.com
Thu May 7 12:12:17 PDT 2026
On Tue, 17 Feb 2026 13:19:43 +0000, Leo Yan wrote:
> When specifying a 2GB AUX buffer, the ETR driver ends up allocating only
> a 1MB buffer instead:
>
> # echo 'file coresight-tmc-etr.c +p' > \
> /sys/kernel/debug/dynamic_debug/control
> # perf record -e cs_etm/@tmc_etr0,timestamp=0/u -C 0 -m ,2G -- test
> coresight tmc_etr0: allocated buffer of size 1024KB in mode 0
>
> [...]
Applied, thanks!
[1/1] coresight: tmc: Fix overflow when calculating is bigger than 2GiB
https://git.kernel.org/coresight/c/f195d54deef1
Best regards,
--
Suzuki K Poulose <suzuki.poulose at arm.com>
More information about the linux-arm-kernel
mailing list