Commit 70a5ce4
Marc Zyngier
KVM: arm64: Force trap of GMID_EL1 when the guest doesn't have MTE
If our host has MTE, but the guest doesn't, make sure we set HCR_EL2.TID5
to force GMID_EL1 being trapped. Such trap will be handled by the
FEAT_IDST handling.
Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Reviewed-by: Yuan Yao <yaoyuan@linux.alibaba.com>
Link: https://patch.msgid.link/20260108173233.2911955-7-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>1 parent f07ef1b commit 70a5ce4
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5576 | 5576 | | |
5577 | 5577 | | |
5578 | 5578 | | |
| 5579 | + | |
| 5580 | + | |
5579 | 5581 | | |
5580 | 5582 | | |
5581 | 5583 | | |
| |||
0 commit comments