Makefile | 2 +- target/i386/tcg/decode-new.h | 7 ++-- target/i386/kvm/kvm.c | 19 ++++++++- target/i386/tcg/seg_helper.c | 15 +++++-- target/i386/tcg/translate.c | 22 +++++++++- tests/tcg/i386/test-avx.c | 22 +++++----- tests/tcg/i386/test-i386-blendv.c | 51 +++++++++++++++++++++++ tests/tcg/i386/test-i386-enter.c | 42 +++++++++++++++++++ tests/tcg/i386/test-mmx.c | 22 +++++----- target/i386/tcg/decode-new.c.inc | 88 +++++++++++++++++++-------------------- target/i386/tcg/emit.c.inc | 8 ++++ rust/common/src/bitops.rs | 8 ++-- tests/tcg/i386/meson.build | 2 + tests/tcg/x86_64/meson.build | 2 + 14 files changed, 230 insertions(+), 80 deletions(-) create mode 100644 tests/tcg/i386/test-i386-blendv.c create mode 100644 tests/tcg/i386/test-i386-enter.c
The following changes since commit 6883fb508cb7a93e2e7b44c0582bfd9fc2196d4d:
Merge tag 'for-upstream' of https://repo.or.cz/qemu/kevin into staging (2026-11-17 13:09:47 -0800)
are available in the Git repository at:
https://gitlab.com/bonzini/qemu.git tags/for-upstream
for you to fetch changes up to 2b5920edfaff693acad867fe4a80149ea71d037b:
build: Add "-d keeprsp" to Ninja flags (2026-11-18 09:04:46 +0100)
v1->v2: fix author of "treat ENTER's size operand as unsigned",
add final patch
----------------------------------------------------------------
* target/i386/kvm: fix latched INIT lost in kvm_put_vcpu_events()
* target/i386/kvm: set VM ioctl KVM_SET_TSC_KHZ to maintain TSC synchronization
* target/i386/tcg: fix CPUID checks for TZCNT and LZCNT
* target/i386/tcg: reject VEX encodings of PBLENDVB, BLENDVPS and BLENDVPD
* target/i386/tcg: fix SETCC(zu) optimization
* target/i386/tcg: fix lea address calculation for CS register
* target/i386/tcg: Fix 64-bit RSP truncation on far transfers
* target/i386/tcg: all scalar instructions should be LIG
* target/i386/tcg: treat ENTER's size operand as unsigned
* target/i386/tcg: remove unused argument of decode_ops
* target/i386/tcg: remove unused operand sizes
* tests/tcg: fix load/restore for test-avx and test-mmx
* rust: fix failure with nightly libstd
----------------------------------------------------------------
Denis V. Lunev (1):
target/i386/kvm: fix latched INIT lost in kvm_put_vcpu_events()
Dongli Zhang (1):
target/i386/kvm: set VM ioctl KVM_SET_TSC_KHZ to maintain TSC synchronization
John Snow (1):
build: Add "-d keeprsp" to Ninja flags
Mark Cave-Ayland (1):
target/i386/tcg: fix lea address calculation for CS register
NickSampanis (3):
target/i386/tcg: Fix 64-bit RSP truncation on retf in 64-bit mode
target/i386/tcg: Fix 64-bit RSP truncation on far call in 64-bit mode
target/i386/tcg: Fix 64-bit RSP truncation on far call through a call gate
Paolo Bonzini (7):
target/i386/tcg: fix CPUID checks for TZCNT and LZCNT
target/i386/tcg: reject VEX encodings of PBLENDVB, BLENDVPS and BLENDVPD
target/i386/tcg: fix SETCC(zu) optimization
tests/tcg: fix load/restore for test-avx and test-mmx
target/i386/tcg: all scalar instructions should be LIG
target/i386/tcg: remove unused argument of decode_ops
target/i386/tcg: remove unused operand sizes
Samuel Tardieu (1):
rust/common: rename IntegerExt::bit() to single_bit()
Zixin Wang (1):
target/i386/tcg: treat ENTER's size operand as unsigned
Makefile | 2 +-
target/i386/tcg/decode-new.h | 7 ++--
target/i386/kvm/kvm.c | 19 ++++++++-
target/i386/tcg/seg_helper.c | 15 +++++--
target/i386/tcg/translate.c | 22 +++++++++-
tests/tcg/i386/test-avx.c | 22 +++++-----
tests/tcg/i386/test-i386-blendv.c | 51 +++++++++++++++++++++++
tests/tcg/i386/test-i386-enter.c | 42 +++++++++++++++++++
tests/tcg/i386/test-mmx.c | 22 +++++-----
target/i386/tcg/decode-new.c.inc | 88 +++++++++++++++++++--------------------
target/i386/tcg/emit.c.inc | 8 ++++
rust/common/src/bitops.rs | 8 ++--
tests/tcg/i386/meson.build | 2 +
tests/tcg/x86_64/meson.build | 2 +
14 files changed, 230 insertions(+), 80 deletions(-)
create mode 100644 tests/tcg/i386/test-i386-blendv.c
create mode 100644 tests/tcg/i386/test-i386-enter.c
--
2.56.0
On 11/18/26 20:18, Paolo Bonzini wrote: > * target/i386/kvm: fix latched INIT lost in kvm_put_vcpu_events() > * target/i386/kvm: set VM ioctl KVM_SET_TSC_KHZ to maintain TSC synchronization > * target/i386/tcg: fix CPUID checks for TZCNT and LZCNT > * target/i386/tcg: reject VEX encodings of PBLENDVB, BLENDVPS and BLENDVPD > * target/i386/tcg: fix SETCC(zu) optimization > * target/i386/tcg: fix lea address calculation for CS register > * target/i386/tcg: Fix 64-bit RSP truncation on far transfers > * target/i386/tcg: all scalar instructions should be LIG > * target/i386/tcg: treat ENTER's size operand as unsigned > * target/i386/tcg: remove unused argument of decode_ops > * target/i386/tcg: remove unused operand sizes > * tests/tcg: fix load/restore for test-avx and test-mmx > * rust: fix failure with nightly libstd Hi! From this PullRequest I'm picking up 2 changes for the stable series -- target/i386/kvm: fix latched INIT lost in kvm_put_vcpu_events() target/i386/tcg: treat ENTER's size operand as unsigned But it feels like some other fixes should be picked up too. For example, should I pick the 64-bit RP truncation fixes? The "target/i386/tcg: fix lea address calculation for CS register" change feels like a good candidate for 11.1.x. Maybe some fixes by Paolo. What do you think? Thanks, /mjt > ---------------------------------------------------------------- > Denis V. Lunev (1): > target/i386/kvm: fix latched INIT lost in kvm_put_vcpu_events() > > Dongli Zhang (1): > target/i386/kvm: set VM ioctl KVM_SET_TSC_KHZ to maintain TSC synchronization > > John Snow (1): > build: Add "-d keeprsp" to Ninja flags > > Mark Cave-Ayland (1): > target/i386/tcg: fix lea address calculation for CS register > > NickSampanis (3): > target/i386/tcg: Fix 64-bit RSP truncation on retf in 64-bit mode > target/i386/tcg: Fix 64-bit RSP truncation on far call in 64-bit mode > target/i386/tcg: Fix 64-bit RSP truncation on far call through a call gate > > Paolo Bonzini (7): > target/i386/tcg: fix CPUID checks for TZCNT and LZCNT > target/i386/tcg: reject VEX encodings of PBLENDVB, BLENDVPS and BLENDVPD > target/i386/tcg: fix SETCC(zu) optimization > tests/tcg: fix load/restore for test-avx and test-mmx > target/i386/tcg: all scalar instructions should be LIG > target/i386/tcg: remove unused argument of decode_ops > target/i386/tcg: remove unused operand sizes > > Samuel Tardieu (1): > rust/common: rename IntegerExt::bit() to single_bit() > > Zixin Wang (1): > target/i386/tcg: treat ENTER's size operand as unsigned
On 11/19/26 11:06, Michael Tokarev wrote: > From this PullRequest I'm picking up 2 changes for the stable series -- > > target/i386/kvm: fix latched INIT lost in kvm_put_vcpu_events() > target/i386/tcg: treat ENTER's size operand as unsigned > > But it feels like some other fixes should be picked up too. > > For example, should I pick the 64-bit RP truncation fixes? > > The "target/i386/tcg: fix lea address calculation for CS register" > change feels > like a good candidate for 11.1.x. I would pick, in order of importance - fix lea address calculation (this one is the only regression and I should have Cc'd qemu-stable indeed) - fix load/restore for test-avx and test-mmx (otherwise the test is broken) - set VM ioctl KVM_SET_TSC_KHZ - fix latched INIT lost If you really want, the 64-bit RSP fixes can go in too, but the other TCG fixes are corner cases that we don't really care about. Paolo
On 11/19/26 13:18, Paolo Bonzini wrote: > I would pick, in order of importance > > - fix lea address calculation (this one is the only regression and I should have Cc'd qemu-stable indeed) > - fix load/restore for test-avx and test-mmx (otherwise the test is broken) > - set VM ioctl KVM_SET_TSC_KHZ I looked at this one. Unfortunately it does not apply to 10.0.x due to lack of other infrastructure there: kvm_arch_pre_create_vcpu() and subsequent KVM_PMU_CAP_DISABLE changes. It would be good to have it in an LTS series though. > - fix latched INIT lost > If you really want, the 64-bit RSP fixes can go in too, but the other TCG fixes are corner cases that we don't really care about. Heh. I already picked up "treat ENTER's size operand as unsigned", it shouldn't be that bad even if don't care about these corner case. Also 4e61c4bb175d9 "target/i386: raise #DE for INT_MIN / -1 in IDIV helpers". Thank you for the hints! /mjt
On 11/18/26 09:18, Paolo Bonzini wrote: > The following changes since commit 6883fb508cb7a93e2e7b44c0582bfd9fc2196d4d: > > Merge tag 'for-upstream' ofhttps://repo.or.cz/qemu/kevin into staging (2026-11-17 13:09:47 -0800) > > are available in the Git repository at: > > https://gitlab.com/bonzini/qemu.git tags/for-upstream > > for you to fetch changes up to 2b5920edfaff693acad867fe4a80149ea71d037b: > > build: Add "-d keeprsp" to Ninja flags (2026-11-18 09:04:46 +0100) > > v1->v2: fix author of "treat ENTER's size operand as unsigned", > add final patch > > ---------------------------------------------------------------- > * target/i386/kvm: fix latched INIT lost in kvm_put_vcpu_events() > * target/i386/kvm: set VM ioctl KVM_SET_TSC_KHZ to maintain TSC synchronization > * target/i386/tcg: fix CPUID checks for TZCNT and LZCNT > * target/i386/tcg: reject VEX encodings of PBLENDVB, BLENDVPS and BLENDVPD > * target/i386/tcg: fix SETCC(zu) optimization > * target/i386/tcg: fix lea address calculation for CS register > * target/i386/tcg: Fix 64-bit RSP truncation on far transfers > * target/i386/tcg: all scalar instructions should be LIG > * target/i386/tcg: treat ENTER's size operand as unsigned > * target/i386/tcg: remove unused argument of decode_ops > * target/i386/tcg: remove unused operand sizes > * tests/tcg: fix load/restore for test-avx and test-mmx > * rust: fix failure with nightly libstd Applied, thanks. r~
© 2016 - 2026 Red Hat, Inc.