Skip to content

kvm/aarch64: rhel9.6 rebase upto 6.11

JIRA: https://issues.redhat.com/browse/RHEL-57113

Upstream Status: up to v6.11 and fixes up to v6.12-rc5
Tested: kvm-unit-tests, kselftest, migration test.

This is the first round rebase kvm-arm up to v6.11, which contains the below series:

  1. KVM: arm64: pKVM host proxy FF-A fixes (part of them)
  2. KVM: arm64: nv: Shadow stage-2 page table handling
  3. KVM: arm64: Allow userspace to modify CTR_EL0
  4. KVM: arm64: nv: FPSIMD/SVE, plus some other CPTR goodies
  5. KVM: arm64: fix warnings in W=1 build
  6. Misc commits

Besides that, it also takes the fixes commit 4155539bc5ba ("KVM: arm64: nv: Enforce S2 alignment when contiguous bit is set") which up to v6.12-rc1.

  • 42fb33dde42b KVM: arm64: Use FF-A 1.1 with pKVM
    This commit belongs to the series 1, don't pick it because downstream doesn't support FF-A 1.1 (The related upstream commit is 1609626c32c4 ("firmware: arm_ffa: Update the FF-A command list with v1.1 additions")).

This KVM: arm64: Fix handling of TCR2_EL1 series can be taken by kvm-arm rebase but since it depends on the arm64 rebase, so will pick them in the second round when the arm64 rebase being merged.

  • 838d992b8448 KVM: arm64: Convert kvm_mpidr_index() to bitmap_gather()
    Don't pick this commit since downstream doesn't support bitmap_gather().

Changelog:
v2 -> v3:
Add commits:

  • eb9d53d4a949 KVM: arm64: nv: Fix RESx behaviour of disabled FGTs with negative polarity
  • cb52b5c8b81b Revert "KVM: arm64: nv: Fix RESx behaviour of disabled FGTs with negative polarity"
  • 810ecbefdd54 KVM: Documentation: Correct the VGIC V2 CPU interface addr space size
  • 03bd36a387b8 KVM: Documentation: Enumerate allowed value macros of irq_type
  • ae8f8b376102 KVM: arm64: Unregister redistributor for failed vCPU creation
  • c6c167afa090 KVM: arm64: Fix shift-out-of-bounds bug
  • 78a005555500 KVM: arm64: Ensure vgic_ready() is ordered against MMIO registration

v1 -> v2:
Add those two commits to avoid conflicts when backport 894376385a2d KVM: arm64: Add support for FFA_PARTITION_INFO_GET.

  • 3fad96e9b21b ("firmware: arm_ffa: Declare ffa_bus_type structure in the header")
  • 989e8661dc45 ("firmware: arm_ffa: Make ffa_bus_type const")

Add commits:

  • b26e484b8bb3 ("arm64: Add CFI error handling")
  • 7a928b32f1de arm64: Introduce esr_brk_comment, esr_is_cfi_brk
  • 8f3873a39529 KVM: arm64: Introduce print_nvhe_hyp_panic helper
  • eca4ba5b6dff KVM: arm64: nVHE: Support CONFIG_CFI_CLANG at EL2

Add commits:

  • f26a525b77e0 KVM: arm64: Add memory length checks and remove inline in do_ffa_mem_xfer
  • a1d402abf8e3 KVM: arm64: Fix kvm_has_feat'*'() handling of negative features
  • 78fee4198bb4 KVM: arm64: Fix __pkvm_init_vcpu cptr_el2 error path
  • a9f41588a902 KVM: arm64: Constrain the host to the maximum shared SVE VL with pKVM
  • dc0dddb1d66d KVM: arm64: Invalidate EL1&0 TLB entries for all VMIDs in nvhe hyp init
  • ed49fe5a6fb9 KVM: arm64: Ensure TLBI uses correct VMID after changing context
  • e0b7de4fd18c KVM: arm64: Disallow copying MTE to guest memory while KVM is dirty logging
  • ae41d7dbaeb4 KVM: arm64: Release pfn, i.e. put page, if copying MTE tags hits ZONE_DEVICE
  • 38753cbc4dca KVM: arm64: Move data barrier to end of split walk

Signed-off-by: Shaoqin Huang shahuang@redhat.com

Edited by Shaoqin Huang

Merge request reports

Loading