[GIT PULL] KVM/arm64 fixes for 6.12, take #3

Paolo Bonzini pbonzini at redhat.com
Sun Oct 20 04:31:54 PDT 2024


On Thu, Oct 17, 2024 at 11:10 AM Marc Zyngier <maz at kernel.org> wrote:
>
> Paolo,
>
> Here's another set of fixes for KVM/arm64, addressing another vgic
> init race as well as a build error (full details in the tag below).
>
> I notice that you haven't pulled [1] yet, so hopefully this will also
> serve as a gentle reminder.
>
> Please pull,
>
>         M.

Pulled both, thanks.

Paolo

> [1] https://lore.kernel.org/r/20241011132756.3793137-1-maz@kernel.org
>
> The following changes since commit df5fd75ee305cb5927e0b1a0b46cc988ad8db2b1:
>
>   KVM: arm64: Don't eagerly teardown the vgic on init error (2024-10-11 13:40:25 +0100)
>
> are available in the Git repository at:
>
>   git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.12-3
>
> for you to fetch changes up to 78a00555550042ed77b33ace7423aced228b3b4e:
>
>   KVM: arm64: Ensure vgic_ready() is ordered against MMIO registration (2024-10-17 09:20:48 +0100)
>
> ----------------------------------------------------------------
> KVM/arm64 fixes for 6.12, take #3
>
> - Stop wasting space in the HYP idmap, as we are dangerously close
>   to the 4kB limit, and this has already exploded in -next
>
> - Fix another race in vgic_init()
>
> - Fix a UBSAN error when faking the cache topology with MTE
>   enabled
>
> ----------------------------------------------------------------
> Ilkka Koskinen (1):
>       KVM: arm64: Fix shift-out-of-bounds bug
>
> Marc Zyngier (1):
>       KVM: arm64: Shave a few bytes from the EL2 idmap code
>
> Oliver Upton (2):
>       KVM: arm64: vgic: Don't check for vgic_ready() when setting NR_IRQS
>       KVM: arm64: Ensure vgic_ready() is ordered against MMIO registration
>
>  arch/arm64/include/asm/kvm_asm.h      |  1 +
>  arch/arm64/kernel/asm-offsets.c       |  1 +
>  arch/arm64/kvm/hyp/nvhe/hyp-init.S    | 52 +++++++++++++++++++----------------
>  arch/arm64/kvm/sys_regs.c             |  2 +-
>  arch/arm64/kvm/vgic/vgic-init.c       | 13 +++++++--
>  arch/arm64/kvm/vgic/vgic-kvm-device.c |  7 ++++-
>  6 files changed, 49 insertions(+), 27 deletions(-)
>




More information about the linux-arm-kernel mailing list