Invalid /proc/cpuinfo on arm64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-raspi (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Hirsute |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hardware BCM2835 is incorrect and model name is missing on arm64:
$ uname -a
Linux rpi-4b-rev1d2-2c1a 5.11.0-1003-raspi #3-Ubuntu SMP PREEMPT Thu Mar 4 14:53:05 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
$ cat /proc/cpuinfo | tail -15
CPU revision : 3
processor : 3
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
Hardware : BCM2835
Revision : c03112
Serial : 10000000519d2c1a
Model : Raspberry Pi 4 Model B Rev 1.2
Correct info on armhf:
$ uname -a
Linux rpi-4b-rev1d1-17cf 5.11.0-1003-raspi #3-Ubuntu SMP PREEMPT Thu Mar 4 14:58:03 UTC 2021 armv7l armv7l armv7l GNU/Linux
$ cat /proc/cpuinfo | tail -15
processor : 3
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 216.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
Hardware : BCM2711
Revision : c03111
Serial : 100000003c2d17cf
Model : Raspberry Pi 4 Model B Rev 1.1
Changed in linux-raspi (Ubuntu Hirsute): | |
status: | New → Confirmed |
The behavior is actually as expected. The 'model name' is only displayed in 32-bit mode (same behavior as upstream kernel.org). And the Hardware is hard-coded to BCM2835 on arm64 by an upstream raspberrypi commit.