Skip to content

Commit 81653ed

Browse files
enunesMichal Simek
authored andcommitted
microblaze: Add missing PVR version codes
PVR version code was missing in the cpu_ver_lookup table for the following versions: 8.50.b 8.50.c 9.2 9.3 This caused /proc/cpuinfo to display "CPU-Ver: Unknown" for these versions. This was detected and the patch tested with MicroBlaze version 8.50.c. The other codes were taken from the Xilinx MicroBlaze Processor Reference Guides UG081 (v14.7) and UG984 (v2014.1). Signed-off-by: Erico Nunes <nunes.erico@gmail.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
1 parent ed4602e commit 81653ed

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎arch/microblaze/kernel/cpu/cpuinfo.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,12 @@ const struct cpu_ver_key cpu_ver_lookup[] = {
4141
{"8.40.a", 0x18},
4242
{"8.40.b", 0x19},
4343
{"8.50.a", 0x1a},
44+
{"8.50.b", 0x1c},
45+
{"8.50.c", 0x1e},
4446
{"9.0", 0x1b},
4547
{"9.1", 0x1d},
48+
{"9.2", 0x1f},
49+
{"9.3", 0x20},
4650
{NULL, 0},
4751
};
4852

0 commit comments

Comments
 (0)