]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
powerpc: Add Power11 architected and raw mode
authorMadhavan Srinivasan <maddy@linux.ibm.com>
Wed, 21 Feb 2024 04:46:22 +0000 (15:46 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 21 Feb 2024 12:11:00 +0000 (23:11 +1100)
commitc2ed087ed35ca569d8179924ba560be248c758e5
treef2a1355d3862b01b20be78d2db41242b32a197fa
parent8c328de8fd5046eb3ec5a7ff7b682a8175e986c3
powerpc: Add Power11 architected and raw mode

Add CPU table entries for raw and architected mode. Most fields are
copied from the Power10 table entries.

CPU, MMU and user (ELF_HWCAP) features are unchanged vs P10. However
userspace can detect P11 because the AT_PLATFORM value changes to
"power11".

The logical PVR value of 0x0F000007, passed to firmware via the
ibm_arch_vec, indicates the kernel can support a P11 compatible CPU,
which means at least ISA v3.1 compliant.

Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240221044623.1598642-1-mpe@ellerman.id.au
arch/powerpc/include/asm/cputable.h
arch/powerpc/include/asm/mmu.h
arch/powerpc/include/asm/reg.h
arch/powerpc/kernel/cpu_specs_book3s_64.h
arch/powerpc/kernel/dt_cpu_ftrs.c
arch/powerpc/kernel/prom_init.c
arch/powerpc/kvm/book3s_hv.c