aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/latent_entropy_plugin.c
diff options
context:
space:
mode:
authorWaiman Long <[email protected]>2018-01-22 22:09:34 +0000
committerThomas Gleixner <[email protected]>2018-01-24 11:31:55 +0000
commit1df37383a8aeabb9b418698f0bcdffea01f4b1b2 (patch)
treeea64df099e00740c4e153dccc4ad3de8ad630f85 /scripts/gcc-plugins/latent_entropy_plugin.c
parentx86/retpoline: Optimize inline assembler for vmexit_fill_RSB (diff)
downloadkernel-1df37383a8aeabb9b418698f0bcdffea01f4b1b2.tar.gz
kernel-1df37383a8aeabb9b418698f0bcdffea01f4b1b2.zip
x86/retpoline: Remove the esp/rsp thunk
It doesn't make sense to have an indirect call thunk with esp/rsp as retpoline code won't work correctly with the stack pointer register. Removing it will help compiler writers to catch error in case such a thunk call is emitted incorrectly. Fixes: 76b043848fd2 ("x86/retpoline: Add initial retpoline support") Suggested-by: Jeff Law <[email protected]> Signed-off-by: Waiman Long <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: David Woodhouse <[email protected]> Cc: Tom Lendacky <[email protected]> Cc: Kees Cook <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Tim Chen <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Jiri Kosina <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Arjan van de Ven <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Paul Turner <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/latent_entropy_plugin.c')
0 files changed, 0 insertions, 0 deletions