public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] KVM/arm64 fixes for 6.13, part #2
@ 2024-12-04  0:52 Oliver Upton
  2024-12-10 13:55 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: Oliver Upton @ 2024-12-04  0:52 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: kvmarm, kvm, linux-kernel, Keisuke Nishimura, Joey Gouly,
	Suzuki K Poulose, Zenghui Yu, Marc Zyngier, James Clark

Hi Paolo,

Another week, another batch of fixes. The most notable here is the MDCR_EL2
change from James, which addresses a rather stupid regression I introduced
in 6.13.

Please pull.

-- 
Thanks,
Oliver

The following changes since commit 13905f4547b050316262d54a5391d50e83ce613a:

  KVM: arm64: Use MDCR_EL2.HPME to evaluate overflow of hyp counters (2024-11-20 17:23:32 -0800)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git/ tags/kvmarm-fixes-6.13-2

for you to fetch changes up to be7e611274224b23776469d7f7ce50e25ac53142:

  KVM: arm64: vgic-its: Add error handling in vgic_its_cache_translation (2024-12-03 16:22:10 -0800)

----------------------------------------------------------------
KVM/arm64 fixes for 6.13, part #2

 - Fix confusion with implicitly-shifted MDCR_EL2 masks breaking
   SPE/TRBE initialization

 - Align nested page table walker with the intended memory attribute
   combining rules of the architecture

 - Prevent userspace from constraining the advertised ASID width,
   avoiding horrors of guest TLBIs not matching the intended context in
   hardware

 - Don't leak references on LPIs when insertion into the translation
   cache fails

----------------------------------------------------------------
James Clark (1):
      arm64: Fix usage of new shifted MDCR_EL2 values

Keisuke Nishimura (1):
      KVM: arm64: vgic-its: Add error handling in vgic_its_cache_translation

Marc Zyngier (2):
      KVM: arm64: Fix S1/S2 combination when FWB==1 and S2 has Device memory type
      KVM: arm64: Do not allow ID_AA64MMFR0_EL1.ASIDbits to be overridden

 arch/arm64/include/asm/el2_setup.h |  4 ++--
 arch/arm64/kernel/hyp-stub.S       |  4 ++--
 arch/arm64/kvm/at.c                | 11 +++++++++--
 arch/arm64/kvm/hyp/nvhe/pkvm.c     |  4 ++--
 arch/arm64/kvm/sys_regs.c          |  3 ++-
 arch/arm64/kvm/vgic/vgic-its.c     | 12 +++++++++++-
 6 files changed, 28 insertions(+), 10 deletions(-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] KVM/arm64 fixes for 6.13, part #2
  2024-12-04  0:52 [GIT PULL] KVM/arm64 fixes for 6.13, part #2 Oliver Upton
@ 2024-12-10 13:55 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2024-12-10 13:55 UTC (permalink / raw)
  To: Oliver Upton
  Cc: kvmarm, kvm, linux-kernel, Keisuke Nishimura, Joey Gouly,
	Suzuki K Poulose, Zenghui Yu, Marc Zyngier, James Clark

On Wed, Dec 4, 2024 at 1:53 AM Oliver Upton <oliver.upton@linux.dev> wrote:
>
> Hi Paolo,
>
> Another week, another batch of fixes. The most notable here is the MDCR_EL2
> change from James, which addresses a rather stupid regression I introduced
> in 6.13.
>
> Please pull.

Done, thanks!

Paolo

>
> --
> Thanks,
> Oliver
>
> The following changes since commit 13905f4547b050316262d54a5391d50e83ce613a:
>
>   KVM: arm64: Use MDCR_EL2.HPME to evaluate overflow of hyp counters (2024-11-20 17:23:32 -0800)
>
> are available in the Git repository at:
>
>   https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git/ tags/kvmarm-fixes-6.13-2
>
> for you to fetch changes up to be7e611274224b23776469d7f7ce50e25ac53142:
>
>   KVM: arm64: vgic-its: Add error handling in vgic_its_cache_translation (2024-12-03 16:22:10 -0800)
>
> ----------------------------------------------------------------
> KVM/arm64 fixes for 6.13, part #2
>
>  - Fix confusion with implicitly-shifted MDCR_EL2 masks breaking
>    SPE/TRBE initialization
>
>  - Align nested page table walker with the intended memory attribute
>    combining rules of the architecture
>
>  - Prevent userspace from constraining the advertised ASID width,
>    avoiding horrors of guest TLBIs not matching the intended context in
>    hardware
>
>  - Don't leak references on LPIs when insertion into the translation
>    cache fails
>
> ----------------------------------------------------------------
> James Clark (1):
>       arm64: Fix usage of new shifted MDCR_EL2 values
>
> Keisuke Nishimura (1):
>       KVM: arm64: vgic-its: Add error handling in vgic_its_cache_translation
>
> Marc Zyngier (2):
>       KVM: arm64: Fix S1/S2 combination when FWB==1 and S2 has Device memory type
>       KVM: arm64: Do not allow ID_AA64MMFR0_EL1.ASIDbits to be overridden
>
>  arch/arm64/include/asm/el2_setup.h |  4 ++--
>  arch/arm64/kernel/hyp-stub.S       |  4 ++--
>  arch/arm64/kvm/at.c                | 11 +++++++++--
>  arch/arm64/kvm/hyp/nvhe/pkvm.c     |  4 ++--
>  arch/arm64/kvm/sys_regs.c          |  3 ++-
>  arch/arm64/kvm/vgic/vgic-its.c     | 12 +++++++++++-
>  6 files changed, 28 insertions(+), 10 deletions(-)
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-10 13:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-04  0:52 [GIT PULL] KVM/arm64 fixes for 6.13, part #2 Oliver Upton
2024-12-10 13:55 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox