Merge branch kvm-arm64/psci-relay-fixes into kvmarm/next
authorOliver Upton <oliver.upton@linux.dev>
Mon, 13 Feb 2023 23:30:37 +0000 (23:30 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Mon, 13 Feb 2023 23:30:37 +0000 (23:30 +0000)
commit3f1a14af5e17a8d03b2db2085861da68c8405ee3
treea18db260f237987d8f6e8fc471c50633760c2906
parent1b915210d9bed44512f6034eacda9e8dcd89bd93
parent6f10f2ec61c7968b44428c551b1b06a4c5e4e544
Merge branch kvm-arm64/psci-relay-fixes into kvmarm/next

* kvm-arm64/psci-relay-fixes:
  : Fixes for CPU on/resume with pKVM, courtesy Quentin Perret.
  :
  : A consequence of deprivileging the host is that pKVM relays PSCI calls
  : on behalf of the host. pKVM's CPU initialization failed to fully
  : initialize the CPU's EL2 state, which notably led to unexpected SVE
  : traps resulting in a hyp panic.
  :
  : The issue is addressed by reusing parts of __finalise_el2 to restore CPU
  : state in the PSCI relay.
  KVM: arm64: Finalise EL2 state from pKVM PSCI relay
  KVM: arm64: Use sanitized values in __check_override in nVHE
  KVM: arm64: Introduce finalise_el2_state macro
  KVM: arm64: Provide sanitized SYS_ID_AA64SMFR0_EL1 to nVHE
arch/arm64/include/asm/el2_setup.h
arch/arm64/kvm/arm.c