[GIT PULL] KVM/SLS change for 5.17 final
From: Paolo Bonzini
Date: Sun Mar 20 2022 - 10:07:42 EST
Linus,
Sorry for sending this so late, I've been sick on Thursday-Friday and
only managed to see the thread afterwards. I might send the pull request
for 5.18 later today so I tweaked the usual "for-linus" tag name.
The following changes since commit 34e047aa16c0123bbae8e2f6df33e5ecc1f56601:
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux (2022-03-18 12:32:59 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus-5.17
for you to fetch changes up to fe83f5eae432ccc8e90082d6ed506d5233547473:
kvm/emulate: Fix SETcc emulation function offsets with SLS (2022-03-20 14:55:46 +0100)
The patch diffstat is mostly a large comment, which will be tweaked further
when IBT comes in 5.18. For Peter, this is also available as a topic branch
"kvm-sls-fix" at https://git.kernel.org/pub/scm/virt/kvm/kvm.git.
----------------------------------------------------------------
Fix for the SLS mitigation, which makes a "SETcc/RET" pair grow to
"SETcc/RET/INT3". This doesn't fit anymore in 4 bytes, so the
alignment has to change to 8.
----------------------------------------------------------------
Borislav Petkov (1):
kvm/emulate: Fix SETcc emulation function offsets with SLS
arch/x86/kvm/emulate.c | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)