[PATCH 0/4] KVM: selftests: Fastops DIV testcases

Sean Christopherson posted 4 patches 3 weeks, 2 days ago
.../selftests/kvm/include/x86/processor.h     |  6 ++
.../testing/selftests/kvm/lib/x86/processor.c |  2 +-
.../testing/selftests/kvm/x86/fastops_test.c  | 82 ++++++++++++++-----
3 files changed, 70 insertions(+), 20 deletions(-)
[PATCH 0/4] KVM: selftests: Fastops DIV testcases
Posted by Sean Christopherson 3 weeks, 2 days ago
Add DIV and IDIV support to the so called fastops test to add coverage for #DE
(the only exception that can occur during fastops execution), which was broken
due to a typo in PeterZ's overhaul[*].

I meant to post this back in July and forgot...

[*] https://lore.kernel.org/all/aIF7ZhWZxlkcpm4y@google.com

Sean Christopherson (4):
  KVM: selftests: Add support for #DE exception fixup
  KVM: selftests: Add coverage for 'b' (byte) sized fastops emulation
  KVM: selftests: Dedup the gnarly constraints of the fastops tests
    (more macros!)
  KVM: selftests: Add support for DIV and IDIV in the fastops test

 .../selftests/kvm/include/x86/processor.h     |  6 ++
 .../testing/selftests/kvm/lib/x86/processor.c |  2 +-
 .../testing/selftests/kvm/x86/fastops_test.c  | 82 ++++++++++++++-----
 3 files changed, 70 insertions(+), 20 deletions(-)


base-commit: 33f843444e28920d6e624c6c24637b4bb5d3c8de
-- 
2.51.0.384.g4c02a37b29-goog
Re: [PATCH 0/4] KVM: selftests: Fastops DIV testcases
Posted by Sean Christopherson 2 weeks, 2 days ago
On Tue, 09 Sep 2025 13:28:31 -0700, Sean Christopherson wrote:
> Add DIV and IDIV support to the so called fastops test to add coverage for #DE
> (the only exception that can occur during fastops execution), which was broken
> due to a typo in PeterZ's overhaul[*].
> 
> I meant to post this back in July and forgot...
> 
> [*] https://lore.kernel.org/all/aIF7ZhWZxlkcpm4y@google.com
> 
> [...]

Applied to kvm-x86 selftests, thanks!

[1/4] KVM: selftests: Add support for #DE exception fixup
      https://github.com/kvm-x86/linux/commit/7b39b6c76942
[2/4] KVM: selftests: Add coverage for 'b' (byte) sized fastops emulation
      https://github.com/kvm-x86/linux/commit/9bf5da1ca427
[3/4] KVM: selftests: Dedup the gnarly constraints of the fastops tests (more macros!)
      https://github.com/kvm-x86/linux/commit/fe08478b1d51
[4/4] KVM: selftests: Add support for DIV and IDIV in the fastops test
      https://github.com/kvm-x86/linux/commit/aebc62b3dedc

--
https://github.com/kvm-x86/linux/tree/next