]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: dts: broadcom: Fix L2 linesize for Raspberry Pi 5
authorWillow Cunningham <willow.e.cunningham@gmail.com>
Mon, 7 Oct 2024 21:29:54 +0000 (17:29 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Jan 2025 09:34:10 +0000 (10:34 +0100)
commitf0f2e5aa56e944cb703c9ccc0ad8c5bbeb3f8874
treef942ebcd3d18e6df155779085099a5f9bc5a47ba
parent122a2f3550a857e40abb7d231750f224f764afa8
arm64: dts: broadcom: Fix L2 linesize for Raspberry Pi 5

[ Upstream commit 058387d9c6b70e225da82492e1e193635c3fac3f ]

Set the cache-line-size parameter of the L2 cache for each core to the
correct value of 64 bytes.

Previously, the L2 cache line size was incorrectly set to 128 bytes
for the Broadcom BCM2712. This causes validation tests for the
Performance Application Programming Interface (PAPI) tool to fail as
they depend on sysfs accurately reporting cache line sizes.

The correct value of 64 bytes is stated in the official documentation of
the ARM Cortex A-72, which is linked in the comments of
arm64/boot/dts/broadcom/bcm2712.dtsi as the source for cache-line-size.

Fixes: faa3381267d0 ("arm64: dts: broadcom: Add minimal support for Raspberry Pi 5")
Signed-off-by: Willow Cunningham <willow.e.cunningham@maine.edu>
Link: https://lore.kernel.org/r/20241007212954.214724-1-willow.e.cunningham@maine.edu
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/broadcom/bcm2712.dtsi