aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2018-10-09 18:35:29 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2018-10-09 18:38:42 +0200
commit853c110982eaff0d99dace3f66f1ba58b5bfd9d5 (patch)
treecb694c46802482ccc83ba2e37c7ba5e99969594c /drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.h
parentcc906f07d7d569a30bb6f0baf8f80b2968353dc9 (diff)
KVM: x86: support CONFIG_KVM_AMD=y with CONFIG_CRYPTO_DEV_CCP_DD=m
SEV requires access to the AMD cryptographic device APIs, and this does not work when KVM is builtin and the crypto driver is a module. Actually the Kconfig conditions for CONFIG_KVM_AMD_SEV try to disable SEV in that case, but it does not work because the actual crypto calls are not culled, only sev_hardware_setup() is. This patch adds two CONFIG_KVM_AMD_SEV checks that gate all the remaining SEV code; it fixes this particular configuration, and drops 5 KiB of code when CONFIG_KVM_AMD_SEV=n. Reported-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.h')
0 files changed, 0 insertions, 0 deletions