Re: [PATCH] coresight: tmc: Fix overflow when calculating is bigger than 2GiB
From: Suzuki K Poulose
Date: Thu May 07 2026 - 15:13:29 EST
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@xxxxxxx>