aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/prom.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2022-09-30 18:27:04 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2022-09-30 18:35:52 +1000
commit41dc056391b334fae646b55ee020bfa8f67b60c8 (patch)
treef95f8c666acb14b6bb503ac665cc6e661b60e272 /arch/powerpc/kernel/prom.c
parentpowerpc/configs: Enable PPC_UV in powernv_defconfig (diff)
downloadlinux-dev-41dc056391b334fae646b55ee020bfa8f67b60c8.tar.xz
linux-dev-41dc056391b334fae646b55ee020bfa8f67b60c8.zip
powerpc: Add hardware description string
Create a hardware description string, which we will use to record various details of the hardware platform we are running on. Print the accumulated description at boot, and use it to set the generic description which is printed in oopses. To begin with add ppc_md.name, aka the "machine description". Example output at boot with the full series applied: Linux version 6.0.0-rc2-gcc-11.1.0-00199-g893f9007a5ce-dirty (michael@alpine1-p1) (powerpc64-linux-gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #844 SMP Thu Sep 29 22:29:53 AEST 2022 Hardware name: IBM pSeries (emulated by qemu) POWER9 (raw) 0x4e1200 0xf000005 of:SLOF,git-5b4c5a pSeries printk: bootconsole [udbg0] enabled Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220930082709.55830-1-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/kernel/prom.c')
0 files changed, 0 insertions, 0 deletions