mbox series

[GIT,PULL] KVM/arm64 fixes for 6.2, take #1

Message ID 20230105154250.660145-1-maz@kernel.org
State New
Headers show
Series [GIT,PULL] KVM/arm64 fixes for 6.2, take #1 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.2-1

Message

Marc Zyngier Jan. 5, 2023, 3:42 p.m. UTC
Hi Paolo,

Happy new year!

Here's the first batch of fixes for KVM/arm64 for 6.2. We have two
important fixes this time around, one for the PMU emulation, and the
other for guest page table walks in read-only memslots, something that
EFI has started doing...

The rest is mostly documentation updates, cleanups, and an update to
the list of reviewers (Alexandru stepping down, and Zenghui joining
the fun).

Please pull,

	M.


The following changes since commit 88603b6dc419445847923fcb7fe5080067a30f98:

  Linux 6.2-rc2 (2023-01-01 13:53:16 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.2-1

for you to fetch changes up to de535c0234dd2dbd9c790790f2ca1c4ec8a52d2b:

  Merge branch kvm-arm64/MAINTAINERS into kvmarm-master/fixes (2023-01-05 15:26:53 +0000)

----------------------------------------------------------------
KVM/arm64 fixes for 6.2, take #1

- Fix the PMCR_EL0 reset value after the PMU rework

- Correctly handle S2 fault triggered by a S1 page table walk
  by not always classifying it as a write, as this breaks on
  R/O memslots

- Document why we cannot exit with KVM_EXIT_MMIO when taking
  a write fault from a S1 PTW on a R/O memslot

- Put the Apple M2 on the naughty step for not being able to
  correctly implement the vgic SEIS feature, just liek the M1
  before it

- Reviewer updates: Alex is stepping down, replaced by Zenghui

----------------------------------------------------------------
Alexandru Elisei (1):
      MAINTAINERS: Remove myself as a KVM/arm64 reviewer

James Clark (1):
      KVM: arm64: PMU: Fix PMCR_EL0 reset value

Marc Zyngier (8):
      KVM: arm64: Fix S1PTW handling on RO memslots
      KVM: arm64: Document the behaviour of S1PTW faults on RO memslots
      KVM: arm64: Convert FSC_* over to ESR_ELx_FSC_*
      KVM: arm64: vgic: Add Apple M2 cpus to the list of broken SEIS implementations
      Merge branch kvm-arm64/pmu-fixes-6.2 into kvmarm-master/fixes
      Merge branch kvm-arm64/s1ptw-write-fault into kvmarm-master/fixes
      MAINTAINERS: Add Zenghui Yu as a KVM/arm64 reviewer
      Merge branch kvm-arm64/MAINTAINERS into kvmarm-master/fixes

 Documentation/virt/kvm/api.rst          |  8 +++++++
 MAINTAINERS                             |  2 +-
 arch/arm64/include/asm/cputype.h        |  4 ++++
 arch/arm64/include/asm/esr.h            |  9 +++++++
 arch/arm64/include/asm/kvm_arm.h        | 15 ------------
 arch/arm64/include/asm/kvm_emulate.h    | 42 +++++++++++++++++++++++----------
 arch/arm64/kvm/hyp/include/hyp/fault.h  |  2 +-
 arch/arm64/kvm/hyp/include/hyp/switch.h |  2 +-
 arch/arm64/kvm/mmu.c                    | 21 ++++++++++-------
 arch/arm64/kvm/sys_regs.c               |  2 +-
 arch/arm64/kvm/vgic/vgic-v3.c           |  2 ++
 11 files changed, 69 insertions(+), 40 deletions(-)

Comments

Paolo Bonzini Jan. 11, 2023, 10:52 p.m. UTC | #1
On 1/5/23 16:42, Marc Zyngier wrote:
> Hi Paolo,
> 
> Happy new year!
> 
> Here's the first batch of fixes for KVM/arm64 for 6.2. We have two
> important fixes this time around, one for the PMU emulation, and the
> other for guest page table walks in read-only memslots, something that
> EFI has started doing...
> 
> The rest is mostly documentation updates, cleanups, and an update to
> the list of reviewers (Alexandru stepping down, and Zenghui joining
> the fun).
> 
> Please pull,

Pulled (though not pushed yet because I still have some x86 tests 
running), thanks.

Paolo

> 	M.
> 
> 
> The following changes since commit 88603b6dc419445847923fcb7fe5080067a30f98:
> 
>    Linux 6.2-rc2 (2023-01-01 13:53:16 -0800)
> 
> are available in the Git repository at:
> 
>    git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.2-1
> 
> for you to fetch changes up to de535c0234dd2dbd9c790790f2ca1c4ec8a52d2b:
> 
>    Merge branch kvm-arm64/MAINTAINERS into kvmarm-master/fixes (2023-01-05 15:26:53 +0000)
> 
> ----------------------------------------------------------------
> KVM/arm64 fixes for 6.2, take #1
> 
> - Fix the PMCR_EL0 reset value after the PMU rework
> 
> - Correctly handle S2 fault triggered by a S1 page table walk
>    by not always classifying it as a write, as this breaks on
>    R/O memslots
> 
> - Document why we cannot exit with KVM_EXIT_MMIO when taking
>    a write fault from a S1 PTW on a R/O memslot
> 
> - Put the Apple M2 on the naughty step for not being able to
>    correctly implement the vgic SEIS feature, just liek the M1
>    before it
> 
> - Reviewer updates: Alex is stepping down, replaced by Zenghui
> 
> ----------------------------------------------------------------
> Alexandru Elisei (1):
>        MAINTAINERS: Remove myself as a KVM/arm64 reviewer
> 
> James Clark (1):
>        KVM: arm64: PMU: Fix PMCR_EL0 reset value
> 
> Marc Zyngier (8):
>        KVM: arm64: Fix S1PTW handling on RO memslots
>        KVM: arm64: Document the behaviour of S1PTW faults on RO memslots
>        KVM: arm64: Convert FSC_* over to ESR_ELx_FSC_*
>        KVM: arm64: vgic: Add Apple M2 cpus to the list of broken SEIS implementations
>        Merge branch kvm-arm64/pmu-fixes-6.2 into kvmarm-master/fixes
>        Merge branch kvm-arm64/s1ptw-write-fault into kvmarm-master/fixes
>        MAINTAINERS: Add Zenghui Yu as a KVM/arm64 reviewer
>        Merge branch kvm-arm64/MAINTAINERS into kvmarm-master/fixes
> 
>   Documentation/virt/kvm/api.rst          |  8 +++++++
>   MAINTAINERS                             |  2 +-
>   arch/arm64/include/asm/cputype.h        |  4 ++++
>   arch/arm64/include/asm/esr.h            |  9 +++++++
>   arch/arm64/include/asm/kvm_arm.h        | 15 ------------
>   arch/arm64/include/asm/kvm_emulate.h    | 42 +++++++++++++++++++++++----------
>   arch/arm64/kvm/hyp/include/hyp/fault.h  |  2 +-
>   arch/arm64/kvm/hyp/include/hyp/switch.h |  2 +-
>   arch/arm64/kvm/mmu.c                    | 21 ++++++++++-------
>   arch/arm64/kvm/sys_regs.c               |  2 +-
>   arch/arm64/kvm/vgic/vgic-v3.c           |  2 ++
>   11 files changed, 69 insertions(+), 40 deletions(-)
	````````