[PATCH] ARM: dts: bcm2837: Add the missing L1/L2 cache information

Stefan Wahren stefan.wahren at i2se.com
Tue Dec 28 09:52:48 PST 2021

Am 18.12.21 um 21:00 schrieb Richard Schleich:
> This patch fixes the kernel warning
> "cacheinfo: Unable to detect cache hierarchy for CPU 0"
> for the bcm2837 on newer kernel versions.
> Signed-off-by: Richard Schleich <rs at noreya.tech>

Tested-by: Stefan Wahren <stefan.wahren at i2se.com>

I tested the patch with a Raspberry Pi 3 B Plus (arm64/defconfig) and here are
some outputs:




Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):           1
NUMA node(s):        1
Vendor ID:           ARM
Model:               4
Model name:          Cortex-A53
Stepping:            r0p4
CPU max MHz:         1400,0000
CPU min MHz:         600,0000
BogoMIPS:            38.40
L1d cache:           32K
L1i cache:           32K
L2 cache:            512K
NUMA node0 CPU(s):   0-3
Flags:               fp asimd evtstrm crc32 cpuid

More information about the linux-rpi-kernel mailing list