aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorTom Lendacky <[email protected]>2024-04-24 15:57:59 +0000
committerBorislav Petkov (AMD) <[email protected]>2024-04-25 14:14:25 +0000
commite2f4c8c319abd1afbedb7a31877cb569265db1b4 (patch)
tree14682b2de2c8dd4519c1ecaafbb583cc21df4e5a /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentx86/sev: Rename snp_init() in boot/compressed/sev.c (diff)
downloadkernel-e2f4c8c319abd1afbedb7a31877cb569265db1b4.tar.gz
kernel-e2f4c8c319abd1afbedb7a31877cb569265db1b4.zip
x86/sev: Make the VMPL0 checking more straight forward
Currently, the enforce_vmpl0() function uses a set argument when modifying the VMPL1 permissions used to test for VMPL0. If the guest is not running at VMPL0, the guest self-terminates. The function is just a wrapper for a fixed RMPADJUST function. Eliminate the function and perform the RMPADJUST directly. No functional change. Signed-off-by: Tom Lendacky <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Link: https://lore.kernel.org/r/ed01ddf04bfb475596b24b634fd26cffaa85173a.1713974291.git.thomas.lendacky@amd.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions