]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: Prevent radix guests setting LPCR[TC]
authorNicholas Piggin <npiggin@gmail.com>
Mon, 12 Apr 2021 01:48:38 +0000 (11:48 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 12 Apr 2021 03:36:23 +0000 (13:36 +1000)
commite8c27d6587bf5fdcdb61a43d1e592150f5556b35
treeab3f8f33dd2a75e985a56c0f49b23540f78cfb30
parente1a19198848b7303d667a175ab1adc8dea7ee6f7
KVM: PPC: Book3S HV: Prevent radix guests setting LPCR[TC]

Prevent radix guests setting LPCR[TC]. This bit only applies to hash
partitions.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210412014845.1517916-6-npiggin@gmail.com
arch/powerpc/kvm/book3s_hv.c