[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 00/60] Misc HW/UI patches for 2023-11-06
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 00/60] Misc HW/UI patches for 2023-11-06 |
Date: |
Mon, 6 Nov 2023 12:02:32 +0100 |
The following changes since commit d762bf97931b58839316b68a570eecc6143c9e3e:
Merge tag 'pull-target-arm-20231102' of
https://git.linaro.org/people/pmaydell/qemu-arm into staging (2023-11-03
10:04:12 +0800)
are available in the Git repository at:
https://github.com/philmd/qemu.git tags/misc-cpus-20231106
for you to fetch changes up to a81b438ac3933419910cbdf2e2e8d87681de611e:
ui/sdl2: use correct key names in win title on mac (2023-11-06 11:07:32 +0100)
Few checkpatch warnings in target/i386/hvf/x86_emu.c are deliberately ignored.
----------------------------------------------------------------
Misc hardware patch queue
HW emulation:
- PMBus fixes and tests (Titus)
- IDE fixes and tests (Fiona)
- New ADM1266 sensor (Titus)
- Better error propagation in PCI-ISA i82378 (Philippe)
Topology:
- Fix CPUState::nr_cores calculation (Zhuocheng Ding and Zhao Liu)
Monitor:
- Synchronize CPU state in 'info lapic' (Dongli Zhang)
QOM:
- Have 'cpu-qom.h' target-agnostic (Philippe)
- Call object_class_is_abstract once in cpu_class_by_name (Philippe)
UI:
- Use correct key names in titles on MacOS / SDL2 (Adrian)
MIPS:
- Fix MSA BZ/BNZ and TX79 LQ/SQ opcodes (Philippe)
Nios2:
- Create IRQs *after* vCPU is realized (Philippe)
PPC:
- Restrict KVM objects to system emulation (Philippe)
X86:
- HVF & KVM cleanups (Philippe)
Various targets:
- Use env_archcpu() to optimize (Philippe)
Misc:
- Few global variable shadowing removed (Philippe)
- Introduce cpu_exec_reset_hold and factor tcg_cpu_reset_hold out (Philippe)
- Remove few more 'softmmu' mentions (Philippe)
- Fix and cleanup in vl.c (Akihiko & Marc-André)
- MAINTAINERS updates (Thomas, Daniel)
----------------------------------------------------------------
Adrian Wowk (1):
ui/sdl2: use correct key names in win title on mac
Akihiko Odaki (1):
vl: Free machine list
Daniel P. Berrangé (1):
MAINTAINERS: update libvirt devel mailing list address
Dongli Zhang (1):
target/i386/monitor: synchronize cpu state for lapic info
Fiona Ebner (2):
hw/ide: reset: cancel async DMA operation before resetting state
tests/qtest: ahci-test: add test exposing reset issue with pending
callback
Marc-André Lureau (1):
vl: constify default_list
Philippe Mathieu-Daudé (39):
tests/vm/ubuntu.aarch64: Correct comment about TCG specific delay
tests/unit/test-seccomp: Remove mentions of softmmu in test names
accel/tcg: Declare tcg_flush_jmp_cache() in 'exec/tb-flush.h'
accel: Introduce cpu_exec_reset_hold()
accel/tcg: Factor tcg_cpu_reset_hold() out
target: Unify QOM style
target: Mention 'cpu-qom.h' is target agnostic
target/arm: Move internal declarations from 'cpu-qom.h' to 'cpu.h'
target/ppc: Remove CPU_RESOLVING_TYPE from 'cpu-qom.h'
target/riscv: Remove CPU_RESOLVING_TYPE from 'cpu-qom.h'
target: Declare FOO_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h'
target/hexagon: Declare QOM definitions in 'cpu-qom.h'
target/loongarch: Declare QOM definitions in 'cpu-qom.h'
target/nios2: Declare QOM definitions in 'cpu-qom.h'
target/openrisc: Declare QOM definitions in 'cpu-qom.h'
target/riscv: Move TYPE_RISCV_CPU_BASE definition to 'cpu.h'
target/ppc: Use env_archcpu() in helper_book3s_msgsndp()
target/riscv: Use env_archcpu() in [check_]nanbox()
target/s390x: Use env_archcpu() in handle_diag_308()
target/xtensa: Use env_archcpu() in update_c[compare|count]()
target/i386/hvf: Use x86_cpu in simulate_[rdmsr|wrmsr]()
target/i386/hvf: Use env_archcpu() in simulate_[rdmsr/wrmsr]()
target/i386/hvf: Use CPUState typedef
target/i386/hvf: Rename 'CPUState *cpu' variable as 'cs'
target/i386/hvf: Rename 'X86CPU *x86_cpu' variable as 'cpu'
target/i386/kvm: Correct comment in kvm_cpu_realize()
target/mips: Fix MSA BZ/BNZ opcodes displacement
target/mips: Fix TX79 LQ/SQ opcodes
sysemu/kvm: Restrict kvmppc_get_radix_page_info() to ppc targets
hw/ppc/e500: Restrict ppce500_init_mpic_kvm() to KVM
target/ppc: Restrict KVM objects to system emulation
target/ppc: Prohibit target specific KVM prototypes on user emulation
target/nios2: Create IRQs *after* accelerator vCPU is realized
target/alpha: Tidy up alpha_cpu_class_by_name()
hw/cpu: Call object_class_is_abstract() once in cpu_class_by_name()
exec/cpu: Have cpu_exec_realize() return a boolean
hw/cpu: Clean up global variable shadowing
hw/loader: Clean up global variable shadowing in rom_add_file()
hw/isa/i82378: Propagate error if PC_SPEAKER device creation failed
Thomas Huth (2):
MAINTAINERS: Add include/hw/timer/tmu012.h to the SH4 R2D section
MAINTAINERS: Add the CAN documentation file to the CAN section
Zhao Liu (3):
hw/i386: Fix comment style in topology.h
tests/unit: Rename test-x86-cpuid.c to test-x86-topo.c
hw/cpu: Update the comments of nr_cores and nr_dies
Zhuocheng Ding (1):
system/cpus: Fix CPUState.nr_cores' calculation
titusr@google.com (8):
hw/i2c: pmbus add support for block receive
hw/i2c: pmbus: add vout mode bitfields
hw/i2c: pmbus: add fan support
hw/i2c: pmbus: add VCAP register
hw/sensor: add ADM1266 device model
tests/qtest: add tests for ADM1266
hw/i2c: pmbus: immediately clear faults on request
hw/i2c: pmbus: reset page register for out of range reads
MAINTAINERS | 8 +-
include/exec/cpu-common.h | 3 -
include/exec/tb-flush.h | 2 +
include/hw/core/cpu.h | 20 +-
include/hw/i2c/pmbus_device.h | 17 ++
include/hw/i386/topology.h | 33 +--
include/hw/loader.h | 2 +-
include/sysemu/accel-ops.h | 1 +
include/sysemu/kvm.h | 1 -
target/alpha/cpu-qom.h | 7 +-
target/alpha/cpu.h | 4 -
target/arm/cpu-qom.h | 34 +--
target/arm/cpu.h | 24 +-
target/arm/internals.h | 6 +
target/avr/cpu-qom.h | 8 +-
target/avr/cpu.h | 4 -
target/cris/cpu-qom.h | 7 +-
target/cris/cpu.h | 4 -
target/hexagon/cpu-qom.h | 28 ++
target/hexagon/cpu.h | 20 +-
target/hppa/cpu-qom.h | 4 +-
target/hppa/cpu.h | 2 -
target/i386/cpu-qom.h | 5 +-
target/i386/cpu.h | 5 +-
target/i386/hvf/x86_emu.h | 4 +-
target/loongarch/cpu-qom.h | 24 ++
target/loongarch/cpu.h | 14 +-
target/m68k/cpu-qom.h | 7 +-
target/m68k/cpu.h | 4 -
target/microblaze/cpu-qom.h | 4 +-
target/microblaze/cpu.h | 2 -
target/mips/cpu-qom.h | 5 +-
target/mips/cpu.h | 4 -
target/nios2/cpu-qom.h | 19 ++
target/nios2/cpu.h | 11 +-
target/openrisc/cpu-qom.h | 22 ++
target/openrisc/cpu.h | 14 +-
target/ppc/cpu-qom.h | 3 +-
target/ppc/cpu.h | 4 +-
target/ppc/kvm_ppc.h | 4 +
target/riscv/cpu-qom.h | 12 +-
target/riscv/cpu.h | 10 +-
target/riscv/internals.h | 8 +-
target/rx/cpu-qom.h | 7 +-
target/rx/cpu.h | 4 -
target/s390x/cpu-qom.h | 8 +-
target/s390x/cpu.h | 4 -
target/sh4/cpu-qom.h | 7 +-
target/sh4/cpu.h | 4 -
target/sparc/cpu-qom.h | 7 +-
target/sparc/cpu.h | 4 -
target/tricore/cpu-qom.h | 7 +-
target/tricore/cpu.h | 4 -
target/xtensa/cpu-qom.h | 7 +-
target/xtensa/cpu.h | 4 -
target/mips/tcg/msa.decode | 4 +-
target/mips/tcg/tx79.decode | 2 +-
accel/stubs/tcg-stub.c | 4 -
accel/tcg/cputlb.c | 1 +
accel/tcg/tcg-accel-ops.c | 9 +
accel/tcg/translate-all.c | 8 -
accel/tcg/user-exec-stub.c | 4 +
cpu-common.c | 6 +-
cpu-target.c | 6 +-
hw/core/cpu-common.c | 19 +-
hw/core/loader.c | 4 +-
hw/i2c/pmbus_device.c | 237 +++++++++++++++-
hw/ide/core.c | 14 +-
hw/isa/i82378.c | 4 +-
hw/ppc/e500.c | 4 +
hw/sensor/adm1266.c | 254 ++++++++++++++++++
linux-user/main.c | 2 +-
plugins/core.c | 1 -
system/cpus.c | 9 +-
system/vl.c | 5 +-
target/alpha/cpu.c | 10 +-
target/arm/cpu.c | 3 +-
target/avr/cpu.c | 3 +-
target/cris/cpu.c | 3 +-
target/hexagon/cpu.c | 3 +-
target/i386/cpu.c | 9 +-
target/i386/hvf/hvf.c | 4 +-
target/i386/hvf/x86_emu.c | 111 ++++----
target/i386/kvm/kvm-cpu.c | 1 +
target/i386/monitor.c | 5 +
target/loongarch/cpu.c | 3 +-
target/m68k/cpu.c | 3 +-
target/nios2/cpu.c | 16 +-
target/openrisc/cpu.c | 3 +-
target/ppc/excp_helper.c | 2 +-
target/ppc/kvm-stub.c | 19 --
target/ppc/kvm.c | 4 +-
target/riscv/cpu.c | 3 +-
target/rx/cpu.c | 6 +-
target/s390x/cpu_models.c | 2 +-
target/s390x/diag.c | 2 +-
target/sh4/cpu.c | 3 -
target/tricore/cpu.c | 3 +-
target/xtensa/cpu.c | 3 +-
target/xtensa/op_helper.c | 4 +-
tests/qtest/adm1266-test.c | 122 +++++++++
tests/qtest/ahci-test.c | 86 +++++-
tests/qtest/max34451-test.c | 24 ++
tests/unit/test-seccomp.c | 24 +-
.../{test-x86-cpuid.c => test-x86-topo.c} | 2 +-
ui/sdl2.c | 8 +
hw/arm/Kconfig | 1 +
hw/sensor/Kconfig | 5 +
hw/sensor/meson.build | 1 +
target/ppc/meson.build | 2 +-
tests/qtest/meson.build | 1 +
tests/unit/meson.build | 4 +-
tests/vm/ubuntu.aarch64 | 2 +-
113 files changed, 1162 insertions(+), 436 deletions(-)
create mode 100644 target/hexagon/cpu-qom.h
create mode 100644 target/loongarch/cpu-qom.h
create mode 100644 target/nios2/cpu-qom.h
create mode 100644 target/openrisc/cpu-qom.h
create mode 100644 hw/sensor/adm1266.c
delete mode 100644 target/ppc/kvm-stub.c
create mode 100644 tests/qtest/adm1266-test.c
rename tests/unit/{test-x86-cpuid.c => test-x86-topo.c} (99%)
--
2.41.0
- [PULL 00/60] Misc HW/UI patches for 2023-11-06,
Philippe Mathieu-Daudé <=
- [PULL 01/60] vl: Free machine list, Philippe Mathieu-Daudé, 2023/11/06
- [PULL 02/60] vl: constify default_list, Philippe Mathieu-Daudé, 2023/11/06
- [PULL 03/60] tests/vm/ubuntu.aarch64: Correct comment about TCG specific delay, Philippe Mathieu-Daudé, 2023/11/06
- [PULL 04/60] tests/unit/test-seccomp: Remove mentions of softmmu in test names, Philippe Mathieu-Daudé, 2023/11/06
- [PULL 06/60] accel: Introduce cpu_exec_reset_hold(), Philippe Mathieu-Daudé, 2023/11/06
- [PULL 05/60] accel/tcg: Declare tcg_flush_jmp_cache() in 'exec/tb-flush.h', Philippe Mathieu-Daudé, 2023/11/06
- [PULL 07/60] accel/tcg: Factor tcg_cpu_reset_hold() out, Philippe Mathieu-Daudé, 2023/11/06
- [PULL 08/60] target: Unify QOM style, Philippe Mathieu-Daudé, 2023/11/06
- [PULL 09/60] target: Mention 'cpu-qom.h' is target agnostic, Philippe Mathieu-Daudé, 2023/11/06
- [PULL 11/60] target/ppc: Remove CPU_RESOLVING_TYPE from 'cpu-qom.h', Philippe Mathieu-Daudé, 2023/11/06