powerpc: Add PVR & CPU name to hardware description
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Sep 2022 08:27:05 +0000 (18:27 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Sep 2022 08:35:52 +0000 (18:35 +1000)
commitbd649d40e0f2ffa1e16b4dbb93dc627177410e78
treec76a0c1bf2e5374cd8e2054f67e3b4d0f502267f
parent41dc056391b334fae646b55ee020bfa8f67b60c8
powerpc: Add PVR & CPU name to hardware description

Add the PVR and CPU name to the hardware description, which is printed
at boot and in case of an oops.

eg: Hardware name: ... POWER8E (raw) 0x4b0201

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220930082709.55830-2-mpe@ellerman.id.au
arch/powerpc/kernel/prom.c