Merge branch kvm-arm64/ampere1-hafdbs-mitigation into kvmarm/next
authorOliver Upton <oliver.upton@linux.dev>
Fri, 16 Jun 2023 00:49:36 +0000 (00:49 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Fri, 16 Jun 2023 00:49:36 +0000 (00:49 +0000)
commit92d05e2492f1400029e84b5a72e15811ef787ee9
tree61fa35f4027af086ddcb80ce003b06a74b6a3e0c
parente1e315c4d5282c1713ab08acec2ac17b8dbd6591
parent082fdfd13841fa4e38a8b073561d182e195d528c
Merge branch kvm-arm64/ampere1-hafdbs-mitigation into kvmarm/next

* kvm-arm64/ampere1-hafdbs-mitigation:
  : AmpereOne erratum AC03_CPU_38 mitigation
  :
  : AmpereOne does not advertise support for FEAT_HAFDBS due to an
  : underlying erratum in the feature. The associated control bits do not
  : have RES0 behavior as required by the architecture.
  :
  : Introduce mitigations to prevent KVM from enabling the feature at
  : stage-2 as well as preventing KVM guests from enabling HAFDBS at
  : stage-1.
  KVM: arm64: Prevent guests from enabling HA/HD on Ampere1
  KVM: arm64: Refactor HFGxTR configuration into separate helpers
  arm64: errata: Mitigate Ampere1 erratum AC03_CPU_38 at stage-2

Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/Kconfig
arch/arm64/kvm/hyp/include/hyp/switch.h
arch/arm64/kvm/hyp/pgtable.c
arch/arm64/tools/cpucaps