]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf5161d47076296f7577c3042262b8111f894561c
tree84c4f79f12ebc27060ddc9422cde3caab2a1ea62
parenta2a8f662b965fb2d5c82d806d607959fbdaf489e
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