diff options
| author | Fuad Tabba <tabba@google.com> | 2026-06-18 13:16:43 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-06-22 10:44:09 +0100 |
| commit | cbe2278aa3dd6832c544782c6cfed1fbc1f71a42 (patch) | |
| tree | 18b62881718014d3adf4fec4c90c2b1c8b3e7ff1 /drivers/gpu/nova-core/fsp/hal/git@git.tavy.me:linux.git | |
| parent | a69412287a33c931dca9e48d30c0dbf8cde0ffe6 (diff) | |
KVM: arm64: Set IL in fake ESR for pKVM memory sharing exit
__pkvm_memshare_page_req() constructs a fake DABT ESR_EL2 to exit to
the host without setting IL. The ESR has ISV=0, so IL must be 1 per the
architecture. The host does not read IL on this path, but the
constructed syndrome should still be architecturally valid.
Set ESR_ELx_IL.
Fixes: 03313efed5e2 ("KVM: arm64: Implement the MEM_SHARE hypercall for protected VMs")
Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://patch.msgid.link/20260618121643.4105064-8-tabba@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'drivers/gpu/nova-core/fsp/hal/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
