diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-05-30 01:21:46 +0300 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-06-03 15:34:46 +0300 |
| commit | 9377016c2f9e2e25dca5788ac109190daf116134 (patch) | |
| tree | 75235073e15f5abf97eddfd0486635bd341634fe /scripts/stackdelta | |
| parent | 09912b8ad22f981d83818fc83a141dd8216d9ffb (diff) | |
| download | linux-9377016c2f9e2e25dca5788ac109190daf116134.tar.xz | |
KVM: x86/xen: Don't truncate RAX when handling hypercall from protected guest
Don't truncate RAX when handling a Xen hypercall for a guest with protected
state, as KVM's ABI is to assume the guest is in 64-bit for such cases
(the guest leaving garbage in 63:32 after a transition to 32-bit mode is
far less likely than 63:32 being necessary to complete the hypercall).
Fixes: b5aead0064f3 ("KVM: x86: Assume a 64-bit hypercall for guests with protected state")
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Link: https://patch.msgid.link/20260529222223.870923-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/stackdelta')
0 files changed, 0 insertions, 0 deletions
