KVM: arm64: Reenable MTE on VHE guest exit
Status from this message: Applied to fixes, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | arm64: Add return value to mte_disable_tco_entry()arch/ | +7 | 0 replies | |
| 2/2 | KVM: arm64: Reenable MTE tag checking on exit from guest when running VHEarch/ | +7 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Fuad Tabba | Catalin Marinas |
|---|---|---|
| Series | R-b T-b | R-b |
| 1/2 | ||
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] KVM: arm64: Reenable MTE on VHE guest exit
Upton taking an exception, the CPU sets PSTATE.TCO to ensure that no tag fault can be taken while handling the exception. It is SW's job to eventually clear it when it is safe to do so.
It appears that when MTE is enabled and that the kernel is running VHE, nothing eventually clears TCO when we come back from the guest, so things such as KASAN_HW_TAGS will not work until the next exit to userspace.
This series aims at fixing this. This is not a stable candidate, as KASAN is only a debug option.
Marc Zyngier (2):
arm64: Add return value to mte_disable_tco_entry()
KVM: arm64: Reenable MTE tag checking on exit from guest when running
VHE
arch/arm64/include/asm/mte.h | 10 +++++++--- arch/arm64/kvm/hyp/vhe/switch.c | 7 +++++++ 2 files changed, 14 insertions(+), 3 deletions(-)
Signature · 1 line
2.47.3