bcm27xx: update 6.1 patches to latest version
[openwrt/staging/dangole.git] / target / linux / bcm27xx / patches-6.1 / 950-1058-fixup-arch-arm64-Add-Revision-Serial-Model-to-cpuinf.patch
1 From e641fd7a50987ad6b7ce1ab36189bc8817295e42 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Tue, 31 Oct 2023 16:34:56 +0000
4 Subject: [PATCH] fixup! arch/arm64: Add Revision, Serial, Model to cpuinfo
5
6 Delete the Hardware string, which is pointless and misleading.
7
8 See: https://github.com/raspberrypi/bookworm-feedback/issues/129
9
10 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
11 ---
12 arch/arm64/kernel/cpuinfo.c | 2 --
13 1 file changed, 2 deletions(-)
14
15 --- a/arch/arm64/kernel/cpuinfo.c
16 +++ b/arch/arm64/kernel/cpuinfo.c
17 @@ -224,8 +224,6 @@ static int c_show(struct seq_file *m, vo
18 seq_printf(m, "CPU revision\t: %d\n\n", MIDR_REVISION(midr));
19 }
20
21 - seq_printf(m, "Hardware\t: BCM2835\n");
22 -
23 np = of_find_node_by_path("/system");
24 if (np) {
25 if (!of_property_read_u32(np, "linux,revision", &revision))