summaryrefslogtreecommitdiff
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorKarl Mehltretter <kmehltretter@gmail.com>2026-09-21 21:44:33 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2026-10-14 17:19:55 +0100
commit4fd69e8a9ebc42e292637ec2ebfb6bcf2d2f6c0e (patch)
tree3794d6c8f87f757232b87085f382556b7e7b2295 /scripts/checkstack.pl
parent41a3f4bc3e4ae4722fd24743bf3f286cea14e3dc (diff)
ARM: 9521/1: cacheinfo: count external caches in early_cache_level()
early_cache_level() counts only caches described by CLIDR. An external PL310 is absent from CLIDR, and its arm,pl310-cache compatible is not accepted by init_of_cache_level(), so early allocation falls back to an incomplete count. init_cache_level() later adds the DT-described L2, forcing reallocation on the secondary CPU with interrupts disabled. This defeats early allocation on PREEMPT_RT. Use init_cache_level() for early sizing too, so the initial allocation includes external caches described by the device tree. Assisted-by: LLM Cc: stable@vger.kernel.org Tested-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Link: https://lore.kernel.org/r/20260912195552.76673-3-kmehltretter@gmail.com/ Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions