aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2018-01-18 15:28:26 +0000
committerThomas Gleixner <[email protected]>2018-01-19 15:31:28 +0000
commit6f41c34d69eb005e7848716bbcafc979b35037d5 (patch)
treeb5f5f6275ac19cc185a127c2f8a913f46019d705 /drivers/gpu/drm/amd/display/modules/freesync/freesync.c
parentmodule: Add retpoline tag to VERMAGIC (diff)
downloadkernel-6f41c34d69eb005e7848716bbcafc979b35037d5.tar.gz
kernel-6f41c34d69eb005e7848716bbcafc979b35037d5.zip
x86/mce: Make machine check speculation protected
The machine check idtentry uses an indirect branch directly from the low level code. This evades the speculation protection. Replace it by a direct call into C code and issue the indirect call there so the compiler can apply the proper speculation protection. Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by:Borislav Petkov <[email protected]> Reviewed-by: David Woodhouse <[email protected]> Niced-by: Peter Zijlstra <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/alpine.DEB.2.20.1801181626290.1847@nanos
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/freesync/freesync.c')
0 files changed, 0 insertions, 0 deletions