diff options
author | Athira Rajeev <atrajeev@linux.vnet.ibm.com> | 2020-07-17 10:38:14 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-07-22 21:56:01 +1000 |
commit | 7e4a145e5b675d5a9182f756950f001eaa256795 (patch) | |
tree | 7ae18c47a13b632fb6e02bd118ede8583244a961 /arch/powerpc/platforms/Kconfig.cputype | |
parent | 78d76819e6f04672989506e7792895a51438516e (diff) | |
download | linux-7e4a145e5b675d5a9182f756950f001eaa256795.tar.bz2 |
KVM: PPC: Book3S HV: Cleanup updates for kvm vcpu MMCR
Currently `kvm_vcpu_arch` stores all Monitor Mode Control registers
in a flat array in order: mmcr0, mmcr1, mmcra, mmcr2, mmcrs
Split this to give mmcra and mmcrs its own entries in vcpu and
use a flat array for mmcr0 to mmcr2. This patch implements this
cleanup to make code easier to read.
Signed-off-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
[mpe: Fix MMCRA/MMCR2 uapi breakage as noted by paulus]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1594996707-3727-3-git-send-email-atrajeev@linux.vnet.ibm.com
Diffstat (limited to 'arch/powerpc/platforms/Kconfig.cputype')
0 files changed, 0 insertions, 0 deletions