qemu-cr16/include/hw/misc
Richard Henderson bc831f3739 Misc HW patches
Various fixes and cleanups:
 - Set FPCR exception flag bits for HPPA non-trapped exceptions
 - Convert VirtIONet::vlans from pointer to array
   and remove VMSTATE_BUFFER_POINTER_UNSAFE()
 - Remove redundant QOM typedef when OBJECT_DECLARE_SIMPLE_TYPE() is used
 - Have various QDev / SysBus helpers take a const device argument
 - Improve errors when loaders parse images
 - Remove IntelIOMMUState::dma_translation leftover
 - Remove most target_[u]long uses in hw/riscv/
 - Fix DS1225Y MemoryRegion owner
 - Simplification refactors on Raven PCI Host Bridge
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmkAdQ8ACgkQ4+MsLN6t
 wN5ochAAihqZQaRpLWeIt+EQMUAdkJwsg8ctLAz9vJE9leZZh10j1Uw2Y0b5EDKy
 k3vwJUz0gDYnbbq33+FNBVv7Iq4bIvyundqX4odi4AOvRysJRBwkVQ+LeUo+Dyh3
 of1eKDX6psJTo4Jy1ooOkkUq0vWpJPrGZYyzR7bsPDgpuqNOfF6+mwMQkYDXa2uw
 vCJIOnzl+IIHxpnT+XVVXJsO05LUzkAru38jkjQZ1BcWj07ggSs70U7jcOhtvkpC
 x0hXcKNj+uHjoupoX8LMOb6M+D06oL6ZyW51++Cnqu/cAvQqP/VQtb7b4AAKj3G9
 yOMFZPyd4IObf7bxC4Zi/TYLYD43DrSppT4eU5zqYrzKSD6v0fdENkhqJuLTiLTa
 cd4nhWJto+EdZBogp+jVW6ekLoC5CMqNT8HiqdGvDLMp45oSmlYPC030l4gBQdo8
 4SUWLIRZULybObv+uF3heeaemahWIXOFpclCpITcLqa+VkXlboc0JH2PjbETvAQU
 DBxSJ65izr4795rRhX5yoy2aBfiTFlYxIbpwztEzesdnAHw1N6gQ0J3WraxWSjAh
 Y6IzXBAYLjZNTx5pongcuZT3cX7Cn+0zwaK/ajRcZhIvukDL/bT7GK25akcYIgBR
 XS//Ccm79vs85o1zTBVLQzw343Bvtp4LfRLtrXjdLC+06pEixvo=
 =5G1o
 -----END PGP SIGNATURE-----

Merge tag 'hw-misc-20251028' of https://github.com/philmd/qemu into staging

Misc HW patches

Various fixes and cleanups:
- Set FPCR exception flag bits for HPPA non-trapped exceptions
- Convert VirtIONet::vlans from pointer to array
  and remove VMSTATE_BUFFER_POINTER_UNSAFE()
- Remove redundant QOM typedef when OBJECT_DECLARE_SIMPLE_TYPE() is used
- Have various QDev / SysBus helpers take a const device argument
- Improve errors when loaders parse images
- Remove IntelIOMMUState::dma_translation leftover
- Remove most target_[u]long uses in hw/riscv/
- Fix DS1225Y MemoryRegion owner
- Simplification refactors on Raven PCI Host Bridge

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmkAdQ8ACgkQ4+MsLN6t
# wN5ochAAihqZQaRpLWeIt+EQMUAdkJwsg8ctLAz9vJE9leZZh10j1Uw2Y0b5EDKy
# k3vwJUz0gDYnbbq33+FNBVv7Iq4bIvyundqX4odi4AOvRysJRBwkVQ+LeUo+Dyh3
# of1eKDX6psJTo4Jy1ooOkkUq0vWpJPrGZYyzR7bsPDgpuqNOfF6+mwMQkYDXa2uw
# vCJIOnzl+IIHxpnT+XVVXJsO05LUzkAru38jkjQZ1BcWj07ggSs70U7jcOhtvkpC
# x0hXcKNj+uHjoupoX8LMOb6M+D06oL6ZyW51++Cnqu/cAvQqP/VQtb7b4AAKj3G9
# yOMFZPyd4IObf7bxC4Zi/TYLYD43DrSppT4eU5zqYrzKSD6v0fdENkhqJuLTiLTa
# cd4nhWJto+EdZBogp+jVW6ekLoC5CMqNT8HiqdGvDLMp45oSmlYPC030l4gBQdo8
# 4SUWLIRZULybObv+uF3heeaemahWIXOFpclCpITcLqa+VkXlboc0JH2PjbETvAQU
# DBxSJ65izr4795rRhX5yoy2aBfiTFlYxIbpwztEzesdnAHw1N6gQ0J3WraxWSjAh
# Y6IzXBAYLjZNTx5pongcuZT3cX7Cn+0zwaK/ajRcZhIvukDL/bT7GK25akcYIgBR
# XS//Ccm79vs85o1zTBVLQzw343Bvtp4LfRLtrXjdLC+06pEixvo=
# =5G1o
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 28 Oct 2025 08:47:27 AM CET
# gpg:                using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <f4bug@amsat.org>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: FAAB E75E 1291 7221 DCFD  6BB2 E3E3 2C2C DEAD C0DE

* tag 'hw-misc-20251028' of https://github.com/philmd/qemu: (23 commits)
  hw/riscv: Widen OpenSBI dynamic info struct
  hw/riscv: Use generic hwaddr for firmware addresses
  hw/i386/intel_iommu: Remove an unused state field
  nw/nvram/ds1225y: Fix nvram MemoryRegion owner
  hw/ppc: Pass error_fatal to load_image_targphys()
  hw/core/loader: Pass errp to load_image_targphys_as()
  hw/core/loader: add check for zero size in load_image_targphys_as
  hw/core/loader: improve error handling in image loading functions
  hw/core/loader: capture Error from load_image_targphys
  hw/core/loader: Use qemu_open() instead of open() in get_image_size()
  hw/int/loongarch: Include missing 'system/memory.h' header
  hw/uefi: Include missing 'system/memory.h' header
  hw/sysbus: Have various helpers take a const SysBusDevice argument
  hw/qdev: Have qdev_get_gpio_out_connector() take const DeviceState arg
  hw/pci-host/raven: Simplify PCI bus creation
  hw/pci-host/raven: Use DEFINE_TYPES macro
  hw/pci-host/raven: Simplify host bridge type declaration
  hw/pci-host/raven: Simplify PCI facing part
  hw/pci-host/raven: Simplify creating PCI facing part
  migration/vmstate: remove VMSTATE_BUFFER_POINTER_UNSAFE macro
  ...

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2025-10-28 11:48:05 +01:00
..
macio hw/ide/macio: switch from using qemu_allocate_irq() to qdev input GPIOs 2024-07-02 06:58:48 +02:00
a9scu.h
allwinner-a10-ccm.h hw/misc: Allwinner-A10 Clock Controller Module Emulation 2023-01-12 16:50:19 +00:00
allwinner-a10-dramc.h hw/misc: Allwinner A10 DRAM Controller Emulation 2023-01-12 16:50:19 +00:00
allwinner-cpucfg.h
allwinner-h3-ccu.h
allwinner-h3-dramc.h
allwinner-h3-sysctrl.h
allwinner-r40-ccu.h hw/arm/allwinner-r40: add Clock Control Unit 2023-06-06 10:19:31 +01:00
allwinner-r40-dramc.h hw/arm/allwinner-r40: add SDRAM controller device 2023-06-06 10:19:32 +01:00
allwinner-sid.h
allwinner-sramc.h hw: arm: allwinner-sramc: Add SRAM Controller support for R40 2023-06-06 10:19:33 +01:00
arm11scu.h
arm_integrator_debug.h
armsse-cpu-pwrctrl.h
armsse-cpuid.h
armsse-mhu.h
armv7m_ras.h arm: Move M-profile RAS register block into its own device 2021-09-01 11:08:18 +01:00
aspeed_hace.h hw/misc/aspeed_hace: Support DMA 64 bits dram address 2025-05-25 23:39:11 +02:00
aspeed_i3c.h hw/misc/aspeed_i3c.c: Introduce a dummy AST2600 I3C model. 2022-01-20 11:47:53 +00:00
aspeed_lpc.h Don't include headers already included by qemu/osdep.h 2023-02-08 07:28:05 +01:00
aspeed_peci.h hw/misc/aspeed: Add PECI controller 2022-06-30 09:21:14 +02:00
aspeed_sbc.h hw/arm: Integrate ASPEED OTP memory support into AST1030 SoCs 2025-09-29 18:00:20 +02:00
aspeed_scu.h hw/misc/aspeed_scu: Add Support for AST2700/AST2750 A1 Silicon Revisions 2025-03-09 14:36:53 +01:00
aspeed_sdmc.h aspeed/sdmc: Add AST2700 support 2024-06-16 21:08:54 +02:00
aspeed_sli.h aspeed/sli: Add AST2700 support 2024-06-16 21:08:54 +02:00
aspeed_xdma.h hw/misc/aspeed_xdma: Add AST2600 support 2021-05-01 10:03:52 +02:00
auxbus.h qom: remove redundant typedef when use OBJECT_DECLARE_SIMPLE_TYPE 2025-10-28 08:08:04 +01:00
avr_power.h hw: Remove superfluous includes of hw/hw.h 2021-05-02 17:24:50 +02:00
bcm2835_cprman.h Clean up header guards that don't match their file name 2022-05-11 16:49:06 +02:00
bcm2835_cprman_internals.h Clean up header guards that don't match their file name 2022-05-11 16:49:06 +02:00
bcm2835_mbox.h
bcm2835_mbox_defs.h
bcm2835_mphi.h qom: remove redundant typedef when use OBJECT_DECLARE_SIMPLE_TYPE 2025-10-28 08:08:04 +01:00
bcm2835_powermgt.h hw/arm: Add basic power management to raspi. 2021-07-02 11:48:36 +01:00
bcm2835_property.h hw/misc: Implement mailbox properties for customer OTP and device specific private keys 2024-07-01 12:48:55 +01:00
bcm2835_rng.h
bcm2835_thermal.h
djmemc.h q800: add djMEMC memory controller 2023-10-06 10:33:43 +02:00
empty_slot.h
grlib_ahb_apb_pnp.h hw: Replace anti-social QOM type names 2021-03-19 15:18:43 +01:00
imx6_ccm.h
imx6_src.h
imx6ul_ccm.h
imx7_ccm.h
imx7_gpr.h
imx7_snvs.h fsl-imx: add simple RTC emulation for i.MX6 and i.MX7 boards 2023-12-19 18:03:32 +00:00
imx7_src.h Add i.MX7 SRC device implementation 2023-08-31 09:45:17 +01:00
imx8mp_analog.h hw/arm/fsl-imx8mp: Implement clock tree 2025-02-25 17:02:00 +00:00
imx8mp_ccm.h hw/arm/fsl-imx8mp: Implement clock tree 2025-02-25 17:02:00 +00:00
imx25_ccm.h
imx31_ccm.h
imx_ccm.h
imx_rngc.h
iosb.h q800: add IOSB subsystem 2023-10-06 10:33:43 +02:00
iotkit-secctl.h
iotkit-sysctl.h
iotkit-sysinfo.h
ivshmem-flat.h treewide: update docs file extensions (.txt -> .rst) in comments 2025-07-02 18:26:27 +02:00
ivshmem.h
lasi.h lasi: Forward LASI SCSI ports to NCR 53c710 driver 2025-10-27 22:13:22 +01:00
led.h hw/misc/led: Add yellow LED 2021-03-15 00:39:30 +01:00
mac_via.h include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
max78000_aes.h MAX78000: AES implementation 2025-07-08 17:31:59 +01:00
max78000_gcr.h MAX78000: AES implementation 2025-07-08 17:31:59 +01:00
max78000_icc.h MAX78000: ICC Implementation 2025-07-08 17:31:38 +01:00
max78000_trng.h MAX78000: TRNG Implementation 2025-07-08 17:31:38 +01:00
mchp_pfsoc_dmc.h include: Include headers where needed 2023-01-08 01:54:22 -05:00
mchp_pfsoc_ioscb.h include: Include headers where needed 2023-01-08 01:54:22 -05:00
mchp_pfsoc_sysreg.h include: Include headers where needed 2023-01-08 01:54:22 -05:00
mips_cmgcr.h hw/mips: Declare all length properties as unsigned 2023-03-08 00:37:48 +01:00
mips_cpc.h
mips_itu.h hw/misc/mips_itu: Remove MIPSITUState::saar field 2024-02-15 15:53:12 +01:00
mos6522.h hw/misc/mos6522: Fix bad class definition of the MOS6522 device 2024-11-18 13:45:45 +01:00
mps2-fpgaio.h hw/misc/mps2-fpgaio: Support AN547 DBGCTRL register 2021-03-08 17:20:03 +00:00
mps2-scc.h hw/misc/mps2-scc: Make changes needed for AN536 FPGA image 2024-02-15 14:32:38 +00:00
msf2-sysreg.h
npcm7xx_mft.h include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
npcm7xx_pwm.h qom: remove redundant typedef when use OBJECT_DECLARE_SIMPLE_TYPE 2025-10-28 08:08:04 +01:00
npcm7xx_rng.h hw/arm/npcm7xx: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE() 2023-01-12 17:15:09 +00:00
npcm_clk.h include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
npcm_gcr.h include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
nrf51_rng.h
pvpanic.h include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
sifive_e_aon.h hw/misc: sifive_e_aon: Support the watchdog timer of HiFive 1 rev b. 2023-07-10 22:29:14 +10:00
sifive_e_prci.h include: Include headers where needed 2023-01-08 01:54:22 -05:00
sifive_test.h
sifive_u_otp.h include: Include headers where needed 2023-01-08 01:54:22 -05:00
sifive_u_prci.h include: Include headers where needed 2023-01-08 01:54:22 -05:00
stm32_rcc.h hw/misc/stm32_rcc: Implement RCC device for STM32F4 SoCs 2024-10-15 11:29:45 +01:00
stm32f2xx_syscfg.h
stm32f4xx_exti.h Clean up header guards that don't match their file name 2022-05-11 16:49:06 +02:00
stm32f4xx_syscfg.h Clean up header guards that don't match their file name 2022-05-11 16:49:06 +02:00
stm32l4x5_exti.h hw/misc: In STM32L4x5 EXTI, consolidate 2 constants 2024-07-11 11:41:34 +01:00
stm32l4x5_rcc.h hw/misc/stm32l4x5_rcc: Add an internal PLL Clock object 2024-03-05 13:22:56 +00:00
stm32l4x5_rcc_internals.h hw/misc/stm32l4x5_rcc: Initialize PLLs and clock multiplexers 2024-03-05 13:22:56 +00:00
stm32l4x5_syscfg.h hw/misc: Create STM32L4x5 SYSCFG clock 2024-10-15 11:29:45 +01:00
tz-mpc.h
tz-msc.h
tz-ppc.h
unimp.h
virt_ctrl.h include: Include headers where needed 2023-01-08 01:54:22 -05:00
vmcoreinfo.h hw/misc/vmcoreinfo: Rename VMCOREINFO_DEVICE -> TYPE_VMCOREINFO 2025-01-13 17:16:04 +01:00
xlnx-cfi-if.h Remove inclusion of hw/hw.h from files that don't need it 2024-07-02 06:58:48 +02:00
xlnx-versal-cframe-reg.h hw: Replace anti-social QOM type names (again) 2023-12-20 10:29:23 +01:00
xlnx-versal-cfu.h hw: Replace anti-social QOM type names (again) 2023-12-20 10:29:23 +01:00
xlnx-versal-crl.h hw/core/register: remove the calls to `register_finalize_block' 2025-10-21 20:16:46 +02:00
xlnx-versal-pmc-iou-slcr.h hw/misc, hw/ssi: Fix some URLs for AMD / Xilinx models 2023-11-27 15:38:43 +00:00
xlnx-versal-trng.h hw/misc/xlnx-versal-trng: Call register_finalize_block 2024-09-05 13:12:36 +01:00
xlnx-versal-xramc.h hw/core/register: remove the calls to `register_finalize_block' 2025-10-21 20:16:46 +02:00
xlnx-zynqmp-apu-ctrl.h hw/core/register: remove the calls to `register_finalize_block' 2025-10-21 20:16:46 +02:00
xlnx-zynqmp-crf.h hw/core/register: remove the calls to `register_finalize_block' 2025-10-21 20:16:46 +02:00