aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
diff options
context:
space:
mode:
authorNikunj A Dadhania <[email protected]>2025-01-06 12:46:28 +0000
committerBorislav Petkov (AMD) <[email protected]>2025-01-07 20:26:20 +0000
commiteef679a4b52e35be3b4a982a7f42bcc16054ec62 (patch)
tree82aae4a35f53c7ba6712c19d8c11cf5e500042cb /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
parentx86/sev: Prevent GUEST_TSC_FREQ MSR interception for Secure TSC enabled guests (diff)
downloadkernel-eef679a4b52e35be3b4a982a7f42bcc16054ec62.tar.gz
kernel-eef679a4b52e35be3b4a982a7f42bcc16054ec62.zip
x86/sev: Prevent RDTSC/RDTSCP interception for Secure TSC enabled guests
The hypervisor should not be intercepting RDTSC/RDTSCP when Secure TSC is enabled. A #VC exception will be generated if the RDTSC/RDTSCP instructions are being intercepted. If this should occur and Secure TSC is enabled, guest execution should be terminated as the guest cannot rely on the TSC value provided by the hypervisor. Signed-off-by: Nikunj A Dadhania <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Reviewed-by: Tom Lendacky <[email protected]> Tested-by: Peter Gonda <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions