summaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-6.1/950-1058-fixup-arch-arm64-Add-Revision-Serial-Model-to-cpuinf.patch
blob: adedaf6d4b241c902153393bb3d720b83260f761 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From e641fd7a50987ad6b7ce1ab36189bc8817295e42 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Tue, 31 Oct 2023 16:34:56 +0000
Subject: [PATCH] fixup! arch/arm64: Add Revision, Serial, Model to cpuinfo

Delete the Hardware string, which is pointless and misleading.

See: https://github.com/raspberrypi/bookworm-feedback/issues/129

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
 arch/arm64/kernel/cpuinfo.c | 2 --
 1 file changed, 2 deletions(-)

--- a/arch/arm64/kernel/cpuinfo.c
+++ b/arch/arm64/kernel/cpuinfo.c
@@ -224,8 +224,6 @@ static int c_show(struct seq_file *m, vo
 		seq_printf(m, "CPU revision\t: %d\n\n", MIDR_REVISION(midr));
 	}
 
-	seq_printf(m, "Hardware\t: BCM2835\n");
-
 	np = of_find_node_by_path("/system");
 	if (np) {
 		if (!of_property_read_u32(np, "linux,revision", &revision))