summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-07-15 07:34:55 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-25 11:26:54 +0200
commit2ef1b06ceacfc6f96f6792126e107e75c0d7bd5d (patch)
treee6db3df2d084e9e26731b3cf02c1836ecefa20fc /tools
parent8e31dfd6306e7c6bb3758a459c2a6067be807886 (diff)
downloadlinux-stable-2ef1b06ceacfc6f96f6792126e107e75c0d7bd5d.tar.gz
linux-stable-2ef1b06ceacfc6f96f6792126e107e75c0d7bd5d.tar.bz2
linux-stable-2ef1b06ceacfc6f96f6792126e107e75c0d7bd5d.zip
KVM: emulate: do not adjust size of fastop and setcc subroutines
commit 79629181607e801c0b41b8790ac4ee2eb5d7bc3e upstream. Instead of doing complicated calculations to find the size of the subroutines (which are even more complicated because they need to be stringified into an asm statement), just hardcode to 16. It is less dense for a few combinations of IBT/SLS/retbleed, but it has the advantage of being really simple. Cc: stable@vger.kernel.org # 5.15.x: 84e7051c0bc1: x86/kvm: fix FASTOP_SIZE when return thunks are enabled Cc: stable@vger.kernel.org Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions