aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2024-02-23 20:42:29 +0000
committerSean Christopherson <[email protected]>2024-04-09 17:20:29 +0000
commit87e8e360a05fd29465691aeac179bcf585600c59 (patch)
treec25f5a7952d14b51a7954d02ffc0f24781951f8f /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentKVM: SVM: Drop 32-bit "support" from __svm_sev_es_vcpu_run() (diff)
downloadkernel-87e8e360a05fd29465691aeac179bcf585600c59.tar.gz
kernel-87e8e360a05fd29465691aeac179bcf585600c59.zip
KVM: SVM: Clobber RAX instead of RBX when discarding spec_ctrl_intercepted
POP @spec_ctrl_intercepted into RAX instead of RBX when discarding it from the stack so that __svm_sev_es_vcpu_run() doesn't modify any non-volatile registers. __svm_sev_es_vcpu_run() doesn't return a value, and RAX is already are clobbered multiple times in the #VMEXIT path. This will allowing using the host save area to save/restore non-volatile registers in __svm_sev_es_vcpu_run(). Reviewed-by: Tom Lendacky <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions