diff options
| author | Nikunj A Dadhania <[email protected]> | 2025-01-06 12:46:30 +0000 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2025-01-08 20:26:19 +0000 |
| commit | 73bbf3b0fbba9aa27fef07a1fbd837661a863f03 (patch) | |
| tree | 5aed0ee86cb776b621cf53b4c98239f2997a1080 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | |
| parent | x86/sev: Mark the TSC in a secure TSC guest as reliable (diff) | |
| download | kernel-73bbf3b0fbba9aa27fef07a1fbd837661a863f03.tar.gz kernel-73bbf3b0fbba9aa27fef07a1fbd837661a863f03.zip | |
x86/tsc: Init the TSC for Secure TSC guests
Use the GUEST_TSC_FREQ MSR to discover the TSC frequency instead of
relying on kvm-clock based frequency calibration. Override both CPU and
TSC frequency calibration callbacks with securetsc_get_tsc_khz(). Since
the difference between CPU base and TSC frequency does not apply in this
case, the same callback is being used.
[ bp: Carve out from
https://lore.kernel.org/r/[email protected] ]
Signed-off-by: Nikunj A Dadhania <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[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
