Skip to content

minor KVM fixes and cleanups

Nicholas Piggin kvm-ppc linuxppc-dev 1 version Applied

Status from this message: Applied to powerpc/next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/12KVM: PPC: Book3S HV P9: Restore host CTRL SPR after guest exitarch/powerpc/kvm/book3s_hv.c+3 -02 replies
2/12KVM: PPC: Book3S HV: Nested move LPCR sanitising to sanitise_hv_regsarch/powerpc/kvm/book3s_hv_nested.c+21 -60 replies
3/12KVM: PPC: Book3S HV: Add a function to filter guest LPCR bitsarch/powerpc/include/asm/kvm_book3s.h arch/powerpc/kvm/book3s_hv.c arch/powerpc/kvm/book3s_hv_nested.c+59 -190 replies
4/12KVM: PPC: Book3S HV: Disallow LPCR[AIL] to be set to 1 or 2arch/powerpc/kvm/book3s_hv.c+6 -10 replies
5/12KVM: PPC: Book3S HV: Prevent radix guests setting LPCR[TC]arch/powerpc/kvm/book3s_hv.c+4 -00 replies
6/12KVM: PPC: Book3S HV: Remove redundant mtspr PSPBarch/powerpc/kvm/book3s_hv.c+0 -10 replies
7/12KVM: PPC: Book3S HV: remove unused kvmppc_h_protect argumentarch/powerpc/include/asm/kvm_ppc.h arch/powerpc/kvm/book3s_hv_rm_mmu.c+2 -40 replies
8/12KVM: PPC: Book3S HV: Fix CONFIG_SPAPR_TCE_IOMMU=n default hcallsarch/powerpc/kvm/book3s_hv.c+2 -00 replies
9/12powerpc/64s: Remove KVM handler support from CBE_RAS interruptsarch/powerpc/kernel/exceptions-64s.S+0 -60 replies
10/12powerpc/64s: remove KVM SKIP test from instruction breakpoint handlerarch/powerpc/kernel/exceptions-64s.S+7 -20 replies
11/12KVM: PPC: Book3S HV: Ensure MSR[ME] is always set in guest MSRarch/powerpc/kvm/book3s_hv_builtin.c arch/powerpc/kvm/book3s_hv_nested.c+6 -10 replies
12/12KVM: PPC: Book3S HV: Ensure MSR[HV] is always clear in guest MSRarch/powerpc/kvm/book3s_hv_builtin.c arch/powerpc/kvm/book3s_hv_nested.c+4 -41 reply

Reviews trailers per patch

11 of 12 patches have a Reviewed-by or Acked-by.

PatchFabiano RosasPaul MackerrasAlexey KardashevskiyDaniel Axtens
1/12
2/12R-b
3/12R-b
4/12A-b
5/12R-b
6/12A-b R-b
7/12A-b R-b
8/12A-b R-b
9/12R-b A-b
10/12R-b A-b R-b
11/12R-b A-b R-b
12/12R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH v1 00/12] minor KVM fixes and cleanups

Here is the first batch of patches are extracted from the patches of the KVM C conversion series, plus one new fix (host CTRL not restored) since v6 was posted.

Please consider for merging.

Thanks,
Nick

Nicholas Piggin (12):
KVM: PPC: Book3S HV P9: Restore host CTRL SPR after guest exit
KVM: PPC: Book3S HV: Nested move LPCR sanitising to sanitise_hv_regs
KVM: PPC: Book3S HV: Add a function to filter guest LPCR bits
KVM: PPC: Book3S HV: Disallow LPCR[AIL] to be set to 1 or 2
KVM: PPC: Book3S HV: Prevent radix guests setting LPCR[TC]
KVM: PPC: Book3S HV: Remove redundant mtspr PSPB
KVM: PPC: Book3S HV: remove unused kvmppc_h_protect argument
KVM: PPC: Book3S HV: Fix CONFIG_SPAPR_TCE_IOMMU=n default hcalls powerpc/64s: Remove KVM handler support from CBE_RAS interrupts powerpc/64s: remove KVM SKIP test from instruction breakpoint handler
KVM: PPC: Book3S HV: Ensure MSR[ME] is always set in guest MSR
KVM: PPC: Book3S HV: Ensure MSR[HV] is always clear in guest MSR

 arch/powerpc/include/asm/kvm_book3s.h |  2 +
 arch/powerpc/include/asm/kvm_ppc.h    |  3 +-
 arch/powerpc/kernel/exceptions-64s.S  | 15 +++--
 arch/powerpc/kvm/book3s_hv.c          | 85 ++++++++++++++++++++-------
 arch/powerpc/kvm/book3s_hv_builtin.c  |  3 +
 arch/powerpc/kvm/book3s_hv_nested.c   | 37 +++++++++---
 arch/powerpc/kvm/book3s_hv_rm_mmu.c   |  3 +-
 7 files changed, 109 insertions(+), 39 deletions(-)
Signature · 1 line
2.23.0