powerpc: Add support for ISA v3.1
authorAlistair Popple <alistair@popple.id.au>
Thu, 21 May 2020 01:43:36 +0000 (11:43 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 Jun 2020 10:59:19 +0000 (20:59 +1000)
commit3fd5836ee801ab9ac5b314c26550e209bafa5eaa
tree84c4f79f12ebc27060ddc9422cde3caab2a1ea62
parentee988c11acf6f9464b7b44e9a091bf6afb3b3a49
powerpc: Add support for ISA v3.1

Newer ISA versions are enabled by clearing all bits in the PCR
associated with previous versions of the ISA. Enable ISA v3.1 support
by updating the PCR mask to include ISA v3.0. This ensures all PCR
bits corresponding to earlier architecture versions get cleared
thereby enabling ISA v3.1 if supported by the hardware.

Signed-off-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200521014341.29095-3-alistair@popple.id.au
arch/powerpc/include/asm/cputable.h
arch/powerpc/include/asm/reg.h
arch/powerpc/kvm/book3s_hv.c