[PULL 00/27] Build/arch cleanups, target/i386 fixes for 2024-05-10

Paolo Bonzini posted 27 patches 6 months, 2 weeks ago
Failed in applying to current master (apply log)
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Thomas Huth <thuth@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Song Gao <gaosong@loongson.cn>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <alistair.francis@wdc.com>, Bin Meng <bmeng.cn@gmail.com>, Weiwei Li <liwei1518@gmail.com>, Daniel Henrique Barboza <dbarboza@ventanamicro.com>, Liu Zhiwei <zhiwei_liu@linux.alibaba.com>, Stefano Stabellini <sstabellini@kernel.org>, Anthony PERARD <anthony@xenproject.org>, Paul Durrant <paul@xen.org>, Peter Maydell <peter.maydell@linaro.org>, Richard Henderson <richard.henderson@linaro.org>, Eduardo Habkost <eduardo@habkost.net>, "Michael S. Tsirkin" <mst@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Halil Pasic <pasic@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, David Hildenbrand <david@redhat.com>, Stafford Horne <shorne@gmail.com>, Nicholas Piggin <npiggin@gmail.com>, Yoshinori Sato <ysato@users.sourceforge.jp>, Eric Farman <farman@linux.ibm.com>, Ilya Leoshkevich <iii@linux.ibm.com>, Gerd Hoffmann <kraxel@redhat.com>, Max Filippov <jcmvbkbc@gmail.com>, David Gibson <david@gibson.dropbear.id.au>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, "Dr. David Alan Gilbert" <dave@treblig.org>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Laurent Vivier <lvivier@redhat.com>, Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>
docs/about/deprecated.rst                |    8 +
configure                                |    2 +-
configs/targets/aarch64-softmmu.mak      |    1 +
configs/targets/arm-softmmu.mak          |    1 +
configs/targets/i386-softmmu.mak         |    1 -
configs/targets/loongarch64-softmmu.mak  |    1 +
configs/targets/microblaze-softmmu.mak   |    1 +
configs/targets/microblazeel-softmmu.mak |    1 +
configs/targets/mips64el-softmmu.mak     |    1 -
configs/targets/or1k-softmmu.mak         |    1 +
configs/targets/ppc-softmmu.mak          |    1 -
configs/targets/ppc64-softmmu.mak        |    1 +
configs/targets/riscv32-softmmu.mak      |    1 +
configs/targets/riscv64-softmmu.mak      |    1 +
configs/targets/rx-softmmu.mak           |    1 +
configs/targets/x86_64-softmmu.mak       |    1 -
meson.build                              |  100 +--
include/hw/i386/x86.h                    |   10 +-
include/hw/rtc/mc146818rtc.h             |    2 +-
include/hw/s390x/css.h                   |    6 +
include/hw/s390x/s390-virtio-ccw.h       |    7 -
include/hw/s390x/s390_flic.h             |    1 +
include/hw/xen/xen-legacy-backend.h      |   14 +-
include/hw/xen/xen_pvdev.h               |    1 -
include/monitor/hmp.h                    |    1 +
include/sysemu/device_tree.h             |    1 -
target/i386/cpu.h                        |    2 -
target/i386/tcg/decode-new.h             |    1 +
hw/9pfs/xen-9p-backend.c                 |    8 +-
hw/display/xenfb.c                       |    8 +-
hw/i386/fw_cfg.c                         |    2 +
hw/i386/monitor.c                        |   46 ++
hw/i386/pc.c                             |    4 -
hw/i386/x86-common.c                     | 1007 ++++++++++++++++++++++++++++
hw/i386/x86-cpu.c                        |   97 +++
hw/i386/x86.c                            | 1058 +-----------------------------
hw/intc/ioapic-stub.c                    |   29 +
hw/intc/s390_flic.c                      |    6 +-
hw/rtc/mc146818rtc.c                     |   12 +-
hw/s390x/css.c                           |   10 +-
hw/s390x/s390-virtio-ccw.c               |   32 +-
hw/usb/xen-usb.c                         |   14 +-
hw/xen/xen-bus.c                         |    4 +
hw/xen/xen-hvm-common.c                  |    2 -
hw/xen/xen-legacy-backend.c              |   16 -
hw/xenpv/xen_machine_pv.c                |    5 +-
hw/xtensa/xtfpga.c                       |    9 -
monitor/hmp-cmds.c                       |   17 +
system/device_tree-stub.c                |   10 +
system/device_tree.c                     |   14 -
target/i386/cpu.c                        |    6 +-
target/i386/tcg/translate.c              |   65 +-
target/s390x/sigp.c                      |   17 +
tests/qtest/arm-cpu-features.c           |    4 +
tests/qtest/drive_del-test.c             |    7 +-
tests/qtest/migration-test.c             |    6 +
tests/qtest/numa-test.c                  |    4 +
tests/tcg/i386/test-i386.c               |   25 +
target/i386/tcg/decode-new.c.inc         |   24 +-
target/i386/tcg/emit.c.inc               |    5 +
.gitlab-ci.d/buildtest.yml               |    9 +-
Kconfig.host                             |    3 +
hw/arm/Kconfig                           |    5 +
hw/arm/meson.build                       |    2 +-
hw/core/Kconfig                          |    9 +-
hw/core/meson.build                      |    2 +-
hw/i386/Kconfig                          |    3 +-
hw/i386/meson.build                      |    7 +-
hw/intc/meson.build                      |    2 +-
hw/loongarch/Kconfig                     |    3 +-
hw/loongarch/meson.build                 |    2 +-
hw/mips/Kconfig                          |    3 +-
hw/mips/meson.build                      |    2 +-
hw/openrisc/Kconfig                      |    2 +
hw/openrisc/meson.build                  |    4 +-
hw/ppc/Kconfig                           |   15 +-
hw/ppc/meson.build                       |    4 +-
hw/riscv/Kconfig                         |    4 +
hw/riscv/meson.build                     |    2 +-
hw/rx/Kconfig                            |    3 +-
hw/sh4/meson.build                       |    2 +-
hw/xtensa/Kconfig                        |    3 +-
system/meson.build                       |    4 +-
target/arm/Kconfig                       |    2 +
target/i386/Kconfig                      |    1 +
target/microblaze/Kconfig                |    1 +
target/openrisc/Kconfig                  |    1 +
target/riscv/Kconfig                     |    2 +
target/s390x/Kconfig                     |    2 +
target/sh4/Kconfig                       |    2 +
90 files changed, 1515 insertions(+), 1334 deletions(-)
create mode 100644 hw/i386/monitor.c
create mode 100644 hw/i386/x86-common.c
create mode 100644 hw/i386/x86-cpu.c
create mode 100644 hw/intc/ioapic-stub.c
create mode 100644 system/device_tree-stub.c
[PULL 00/27] Build/arch cleanups, target/i386 fixes for 2024-05-10
Posted by Paolo Bonzini 6 months, 2 weeks ago
The following changes since commit dafec285bdbfe415ac6823abdc510e0b92c3f094:

  Merge tag 'pull-request-2024-05-10' of https://gitlab.com/thuth/qemu into staging (2024-05-10 09:41:35 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 9b089d254a5623baef01f7d0ec37331c1155f1ce:

  configs: disable emulators that require it if libfdt is not found (2024-05-10 15:45:15 +0200)

----------------------------------------------------------------
* target/i386: miscellaneous changes, mostly TCG-related
* fix --without-default-devices build
* fix --without-default-devices qtests on s390x and arm

----------------------------------------------------------------
Paolo Bonzini (27):
      target/i386: remove PCOMMIT from TCG, deprecate property
      target/i386: fix operand size for DATA16 REX.W POPCNT
      target/i386: rdpkru/wrpkru are no-prefix instructions
      target/i386: move prefetch and multi-byte UD/NOP to new decoder
      target/i386: fix feature dependency for WAITPKG
      tests/tcg: cover lzcnt/tzcnt/popcnt
      configure: quote -D options that are passed through to meson
      sh4: select correct components for no-board build
      s390x: move s390_cpu_addr2state to target/s390x/sigp.c
      s390_flic: add migration-enabled property
      s390: move css_migration_enabled from machine to css.c
      s390x: select correct components for no-board build
      tests/qtest: s390x: fix operation in a build without any boards or devices
      xen: initialize legacy backends from xen_bus_init()
      xen: register legacy backends via xen_backend_init
      i386: correctly select code in hw/i386 that depends on other components
      i386: pc: remove unnecessary MachineClass overrides
      hw/i386: split x86.c in multiple parts
      hw/i386: move rtc-reset-reinjection command out of hw/rtc
      i386: select correct components for no-board build
      tests/qtest: arm: fix operation in a build without any boards or devices
      meson: pick libfdt from common_ss when building target-specific files
      meson: move libfdt together with other dependencies
      kconfig: allow compiling out QEMU device tree code per target
      kconfig: express dependency of individual boards on libfdt
      hw/xtensa: require libfdt
      configs: disable emulators that require it if libfdt is not found

 docs/about/deprecated.rst                |    8 +
 configure                                |    2 +-
 configs/targets/aarch64-softmmu.mak      |    1 +
 configs/targets/arm-softmmu.mak          |    1 +
 configs/targets/i386-softmmu.mak         |    1 -
 configs/targets/loongarch64-softmmu.mak  |    1 +
 configs/targets/microblaze-softmmu.mak   |    1 +
 configs/targets/microblazeel-softmmu.mak |    1 +
 configs/targets/mips64el-softmmu.mak     |    1 -
 configs/targets/or1k-softmmu.mak         |    1 +
 configs/targets/ppc-softmmu.mak          |    1 -
 configs/targets/ppc64-softmmu.mak        |    1 +
 configs/targets/riscv32-softmmu.mak      |    1 +
 configs/targets/riscv64-softmmu.mak      |    1 +
 configs/targets/rx-softmmu.mak           |    1 +
 configs/targets/x86_64-softmmu.mak       |    1 -
 meson.build                              |  100 +--
 include/hw/i386/x86.h                    |   10 +-
 include/hw/rtc/mc146818rtc.h             |    2 +-
 include/hw/s390x/css.h                   |    6 +
 include/hw/s390x/s390-virtio-ccw.h       |    7 -
 include/hw/s390x/s390_flic.h             |    1 +
 include/hw/xen/xen-legacy-backend.h      |   14 +-
 include/hw/xen/xen_pvdev.h               |    1 -
 include/monitor/hmp.h                    |    1 +
 include/sysemu/device_tree.h             |    1 -
 target/i386/cpu.h                        |    2 -
 target/i386/tcg/decode-new.h             |    1 +
 hw/9pfs/xen-9p-backend.c                 |    8 +-
 hw/display/xenfb.c                       |    8 +-
 hw/i386/fw_cfg.c                         |    2 +
 hw/i386/monitor.c                        |   46 ++
 hw/i386/pc.c                             |    4 -
 hw/i386/x86-common.c                     | 1007 ++++++++++++++++++++++++++++
 hw/i386/x86-cpu.c                        |   97 +++
 hw/i386/x86.c                            | 1058 +-----------------------------
 hw/intc/ioapic-stub.c                    |   29 +
 hw/intc/s390_flic.c                      |    6 +-
 hw/rtc/mc146818rtc.c                     |   12 +-
 hw/s390x/css.c                           |   10 +-
 hw/s390x/s390-virtio-ccw.c               |   32 +-
 hw/usb/xen-usb.c                         |   14 +-
 hw/xen/xen-bus.c                         |    4 +
 hw/xen/xen-hvm-common.c                  |    2 -
 hw/xen/xen-legacy-backend.c              |   16 -
 hw/xenpv/xen_machine_pv.c                |    5 +-
 hw/xtensa/xtfpga.c                       |    9 -
 monitor/hmp-cmds.c                       |   17 +
 system/device_tree-stub.c                |   10 +
 system/device_tree.c                     |   14 -
 target/i386/cpu.c                        |    6 +-
 target/i386/tcg/translate.c              |   65 +-
 target/s390x/sigp.c                      |   17 +
 tests/qtest/arm-cpu-features.c           |    4 +
 tests/qtest/drive_del-test.c             |    7 +-
 tests/qtest/migration-test.c             |    6 +
 tests/qtest/numa-test.c                  |    4 +
 tests/tcg/i386/test-i386.c               |   25 +
 target/i386/tcg/decode-new.c.inc         |   24 +-
 target/i386/tcg/emit.c.inc               |    5 +
 .gitlab-ci.d/buildtest.yml               |    9 +-
 Kconfig.host                             |    3 +
 hw/arm/Kconfig                           |    5 +
 hw/arm/meson.build                       |    2 +-
 hw/core/Kconfig                          |    9 +-
 hw/core/meson.build                      |    2 +-
 hw/i386/Kconfig                          |    3 +-
 hw/i386/meson.build                      |    7 +-
 hw/intc/meson.build                      |    2 +-
 hw/loongarch/Kconfig                     |    3 +-
 hw/loongarch/meson.build                 |    2 +-
 hw/mips/Kconfig                          |    3 +-
 hw/mips/meson.build                      |    2 +-
 hw/openrisc/Kconfig                      |    2 +
 hw/openrisc/meson.build                  |    4 +-
 hw/ppc/Kconfig                           |   15 +-
 hw/ppc/meson.build                       |    4 +-
 hw/riscv/Kconfig                         |    4 +
 hw/riscv/meson.build                     |    2 +-
 hw/rx/Kconfig                            |    3 +-
 hw/sh4/meson.build                       |    2 +-
 hw/xtensa/Kconfig                        |    3 +-
 system/meson.build                       |    4 +-
 target/arm/Kconfig                       |    2 +
 target/i386/Kconfig                      |    1 +
 target/microblaze/Kconfig                |    1 +
 target/openrisc/Kconfig                  |    1 +
 target/riscv/Kconfig                     |    2 +
 target/s390x/Kconfig                     |    2 +
 target/sh4/Kconfig                       |    2 +
 90 files changed, 1515 insertions(+), 1334 deletions(-)
 create mode 100644 hw/i386/monitor.c
 create mode 100644 hw/i386/x86-common.c
 create mode 100644 hw/i386/x86-cpu.c
 create mode 100644 hw/intc/ioapic-stub.c
 create mode 100644 system/device_tree-stub.c
-- 
2.45.0
Re: [PULL 00/27] Build/arch cleanups, target/i386 fixes for 2024-05-10
Posted by Richard Henderson 6 months, 2 weeks ago
On 5/12/24 12:49, Paolo Bonzini wrote:
> The following changes since commit dafec285bdbfe415ac6823abdc510e0b92c3f094:
> 
>    Merge tag 'pull-request-2024-05-10' ofhttps://gitlab.com/thuth/qemu  into staging (2024-05-10 09:41:35 +0200)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/bonzini/qemu.git  tags/for-upstream
> 
> for you to fetch changes up to 9b089d254a5623baef01f7d0ec37331c1155f1ce:
> 
>    configs: disable emulators that require it if libfdt is not found (2024-05-10 15:45:15 +0200)
> 
> ----------------------------------------------------------------
> * target/i386: miscellaneous changes, mostly TCG-related
> * fix --without-default-devices build
> * fix --without-default-devices qtests on s390x and arm

Applied, thanks.  Please update https://wiki.qemu.org/ChangeLog/9.1 as appropriate.


r~