aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorBorislav Petkov (AMD) <[email protected]>2023-05-15 16:07:26 +0200
committerBorislav Petkov (AMD) <[email protected]>2023-05-17 12:14:21 +0200
commitf220125b999b2c9694149c6bda2798d8096f47ed (patch)
tree7cee09cfdcadf0a27866192d98be136f3a388130 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parent7583e8fbdc49a4dbd916d14863cf1deeddb982f9 (diff)
x86/retbleed: Add __x86_return_thunk alignment checks
Add a linker assertion and compute the 0xcc padding dynamically so that __x86_return_thunk is always cacheline-aligned. Leave the SYM_START() macro in as the untraining doesn't need ENDBR annotations anyway. Suggested-by: Andrew Cooper <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Reviewed-by: Andrew Cooper <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions