summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2022-08-16 15:28:36 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-05 11:28:54 +0300
commitadee8f3082b01e5dab620d651e3ec75f57c0c855 (patch)
treec790948799310739c90102c07550482986453b20 /lib
parent895428ee124ad70b9763259308354877b725c31d (diff)
downloadlinux-adee8f3082b01e5dab620d651e3ec75f57c0c855.tar.xz
x86/nospec: Unwreck the RSB stuffing
commit 4e3aa9238277597c6c7624f302d81a7b568b6f2d upstream. Commit 2b1299322016 ("x86/speculation: Add RSB VM Exit protections") made a right mess of the RSB stuffing, rewrite the whole thing to not suck. Thanks to Andrew for the enlightening comment about Post-Barrier RSB things so we can make this code less magical. Cc: stable@vger.kernel.org Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/YvuNdDWoUZSBjYcm@worktop.programming.kicks-ass.net [bwh: Backported to 5.10: adjust context] Signed-off-by: Ben Hutchings <benh@debian.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions