parisc: Show MPE/iX model string at bootup
authorHelge Deller <deller@gmx.de>
Fri, 21 Oct 2022 08:03:52 +0000 (10:03 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 19 Dec 2022 15:08:52 +0000 (16:08 +0100)
commit4934fbfb3ff09b8500f63d4624ed8b41647bb822
tree59fffdb0f2e352309941bf915f07a8f1192a87a3
parent9086e6017957c5cd6ea28d94b70e0d513d6b7800
parisc: Show MPE/iX model string at bootup

Some (mostly 64-bit machines) machines allow to run MPE/iX and report the MPE
model string via firmware call. Enhance the pdc_model_sysmodel() function to
report that model string.
Note that some 32-bit machines like the B160L wrongly report success for the
firmware call, so include a check to prevent showing wrong info.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/pdc.h
arch/parisc/kernel/firmware.c
arch/parisc/kernel/processor.c