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:27 +0000
committerSean Christopherson <[email protected]>2024-04-09 17:20:28 +0000
commit7774c8f32e99b1f314c0df7c204a897792b4f378 (patch)
tree3532e38a5100e7033e4bebab1ac9c54530e96870 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentKVM: SVM: Create a stack frame in __svm_vcpu_run() for unwinding (diff)
downloadkernel-7774c8f32e99b1f314c0df7c204a897792b4f378.tar.gz
kernel-7774c8f32e99b1f314c0df7c204a897792b4f378.zip
KVM: SVM: Wrap __svm_sev_es_vcpu_run() with #ifdef CONFIG_KVM_AMD_SEV
Compile (and link) __svm_sev_es_vcpu_run() if and only if SEV support is actually enabled. This will allow dropping non-existent 32-bit "support" from __svm_sev_es_vcpu_run() without causing undue confusion. Intentionally don't provide a stub (but keep the declaration), as any sane compiler, even with things like KASAN enabled, should eliminate the call to __svm_sev_es_vcpu_run() since sev_es_guest() unconditionally returns "false" if CONFIG_KVM_AMD_SEV=n. 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