[PULL 00/24] x86, KVM changes for 2023-10-26

Paolo Bonzini posted 24 patches 1 year, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20231025232718.89428-1-pbonzini@redhat.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Eduardo Habkost <eduardo@habkost.net>, "Michael S. Tsirkin" <mst@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Peter Maydell <peter.maydell@linaro.org>, Cornelia Huck <cohuck@redhat.com>, Halil Pasic <pasic@linux.ibm.com>, Eric Farman <farman@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, David Hildenbrand <david@redhat.com>, Ilya Leoshkevich <iii@linux.ibm.com>, Thomas Huth <thuth@redhat.com>, Peter Xu <peterx@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Marcelo Tosatti <mtosatti@redhat.com>, Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <alistair.francis@wdc.com>, Bin Meng <bin.meng@windriver.com>, Weiwei Li <liweiwei@iscas.ac.cn>, Daniel Henrique Barboza <dbarboza@ventanamicro.com>, Liu Zhiwei <zhiwei_liu@linux.alibaba.com>
There is a newer version of this series
accel/kvm/kvm-all.c                  | 231 ++++------------------------------
accel/stubs/kvm-stub.c               |  14 ---
hw/i386/kvm/clock.c                  |   4 -
hw/i386/kvm/i8254.c                  |  38 ++----
hw/i386/pc.c                         |   6 +-
hw/intc/arm_gicv3_its_common.c       |   3 +-
hw/intc/arm_gicv3_its_kvm.c          |   2 +-
hw/misc/pci-testdev.c                |   3 +-
hw/s390x/virtio-ccw.c                |   4 -
hw/virtio/vhost-user.c               |   7 +-
hw/virtio/virtio-mmio.c              |   4 -
hw/virtio/virtio-pci.c               |  23 +---
include/sysemu/kvm.h                 |  37 +-----
include/sysemu/kvm_int.h             |   5 -
system/memory.c                      |  16 +--
target/i386/cpu.c                    |   4 +-
target/i386/kvm/kvm.c                | 225 +++------------------------------
target/i386/kvm/kvm_i386.h           |   2 -
target/i386/ops_sse.h                | 128 +++++++++++++++++++
target/i386/tcg/decode-new.c.inc     | 232 ++++++++++++++++++++++++++---------
target/i386/tcg/decode-new.h         |  36 ++++--
target/i386/tcg/emit.c.inc           |  62 ++++++++--
target/i386/tcg/ops_sse_header.h.inc |  14 +++
target/riscv/kvm/kvm-cpu.c           |   2 +-
tests/tcg/i386/test-avx.c            |  19 ++-
tests/tcg/i386/test-avx.py           |   3 +-
26 files changed, 491 insertions(+), 633 deletions(-)
[PULL 00/24] x86, KVM changes for 2023-10-26
Posted by Paolo Bonzini 1 year, 1 month ago
The following changes since commit a95260486aa7e78d7c7194eba65cf03311ad94ad:

  Merge tag 'pull-tcg-20231023' of https://gitlab.com/rth7680/qemu into staging (2023-10-23 14:45:46 -0700)

are available in the Git repository at:

  https://gitlab.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to 39dd3e1f55a70f568cc9d280f67467aa4e8a63bd:

  kvm: i8254: require KVM_CAP_PIT2 and KVM_CAP_PIT_STATE2 (2023-10-25 19:53:38 +0200)

----------------------------------------------------------------
* target/i386: implement SHA instructions
* target/i386: check CPUID_PAE to determine 36 bit processor address space
* target/i386: improve validation of AVX instructions
* require Linux 4.4 for KVM

----------------------------------------------------------------
Ani Sinha (1):
      target/i386: check CPUID_PAE to determine 36 bit processor address space

Paolo Bonzini (23):
      tests/tcg: fix out-of-bounds access in test-avx
      target/i386: implement SHA instructions
      tests/tcg/i386: initialize more registers in test-avx
      tests/tcg/i386: test-avx: add test cases for SHA new instructions
      target/i386: group common checks in the decoding phase
      target/i386: validate VEX.W for AVX instructions
      kvm: remove unnecessary stub
      kvm: require KVM_CAP_INTERNAL_ERROR_DATA
      kvm: require KVM_CAP_SIGNAL_MSI
      kvm: require KVM_IRQFD for kernel irqchip
      kvm: require KVM_IRQFD for kernel irqchip
      kvm: drop reference to KVM_CAP_PCI_2_3
      kvm: assume that many ioeventfds can be created
      kvm: require KVM_CAP_IOEVENTFD and KVM_CAP_IOEVENTFD_ANY_LENGTH
      kvm: unify listeners for PIO address space
      kvm: i386: move KVM_CAP_IRQ_ROUTING detection to kvm_arch_required_capabilities
      kvm: i386: require KVM_CAP_DEBUGREGS
      kvm: i386: require KVM_CAP_XSAVE
      kvm: i386: require KVM_CAP_SET_VCPU_EVENTS and KVM_CAP_X86_ROBUST_SINGLESTEP
      kvm: i386: require KVM_CAP_MCE
      kvm: i386: require KVM_CAP_ADJUST_CLOCK
      kvm: i386: require KVM_CAP_SET_IDENTITY_MAP_ADDR
      kvm: i8254: require KVM_CAP_PIT2 and KVM_CAP_PIT_STATE2

 accel/kvm/kvm-all.c                  | 231 ++++------------------------------
 accel/stubs/kvm-stub.c               |  14 ---
 hw/i386/kvm/clock.c                  |   4 -
 hw/i386/kvm/i8254.c                  |  38 ++----
 hw/i386/pc.c                         |   6 +-
 hw/intc/arm_gicv3_its_common.c       |   3 +-
 hw/intc/arm_gicv3_its_kvm.c          |   2 +-
 hw/misc/pci-testdev.c                |   3 +-
 hw/s390x/virtio-ccw.c                |   4 -
 hw/virtio/vhost-user.c               |   7 +-
 hw/virtio/virtio-mmio.c              |   4 -
 hw/virtio/virtio-pci.c               |  23 +---
 include/sysemu/kvm.h                 |  37 +-----
 include/sysemu/kvm_int.h             |   5 -
 system/memory.c                      |  16 +--
 target/i386/cpu.c                    |   4 +-
 target/i386/kvm/kvm.c                | 225 +++------------------------------
 target/i386/kvm/kvm_i386.h           |   2 -
 target/i386/ops_sse.h                | 128 +++++++++++++++++++
 target/i386/tcg/decode-new.c.inc     | 232 ++++++++++++++++++++++++++---------
 target/i386/tcg/decode-new.h         |  36 ++++--
 target/i386/tcg/emit.c.inc           |  62 ++++++++--
 target/i386/tcg/ops_sse_header.h.inc |  14 +++
 target/riscv/kvm/kvm-cpu.c           |   2 +-
 tests/tcg/i386/test-avx.c            |  19 ++-
 tests/tcg/i386/test-avx.py           |   3 +-
 26 files changed, 491 insertions(+), 633 deletions(-)
-- 
2.41.0