Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: f09a8d8dc9687c9ad1a5bae26c8e15516f6798a6
https://github.com/qemu/qemu/commit/f09a8d8dc9687c9ad1a5bae26c8e15516f6798a6
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M pc-bios/meson.build
Log Message:
-----------
pc-bios/meson.build: Silent unuseful DTC warnings
QEMU consumes some device tree blobs, so these have been committed
to the tree in as firmware, along with the device tree source used
to generate them. We know the blobs are "good enough" to have QEMU
boot a system, so we don't really maintain and rebuild the sources.
These blobs were generated with older 'dtc' binaries. We use the
v1.6.1 version since 2021 (commit 962fde57b7 "dtc: Update to version
1.6.1").
Since commit 6e0dc9d2a8 ("meson: compile bundled device trees"),
if dtc binary is available, it is directly used to compile the
device tree sources. New versions of 'dtc' add checks which display
warnings or errors. Our sources are a bit old, so dtc v1.6.1 now
emit the following warnings on a fresh build:
[163/3414] Generating pc-bios/canyonlands.dts with a custom command
pc-bios/canyonlands.dts:47.9-50.4: Warning (unit_address_vs_reg): /memory:
node has a reg or ranges property, but no unit name
pc-bios/canyonlands.dts:210.13-429.5: Warning (unit_address_vs_reg):
/plb/opb: node has a reg or ranges property, but no unit name
pc-bios/canyonlands.dts:464.26-504.5: Warning (pci_bridge):
/plb/pciex@d00000000: node name is not "pci" or "pcie"
pc-bios/canyonlands.dts:506.26-546.5: Warning (pci_bridge):
/plb/pciex@d20000000: node name is not "pci" or "pcie"
pc-bios/canyonlands.dtb: Warning (unit_address_format): Failed prerequisite
'pci_bridge'
pc-bios/canyonlands.dtb: Warning (pci_device_reg): Failed prerequisite
'pci_bridge'
pc-bios/canyonlands.dtb: Warning (pci_device_bus_num): Failed prerequisite
'pci_bridge'
pc-bios/canyonlands.dts:268.14-289.7: Warning (avoid_unnecessary_addr_size):
/plb/opb/ebc/ndfc@3,0: unnecessary #address-cells/#size-cells without "ranges"
or child "reg" property
[164/3414] Generating pc-bios/petalogix-s3adsp1800.dts with a custom command
pc-bios/petalogix-s3adsp1800.dts:258.33-266.5: Warning (interrupt_provider):
/plb/interrupt-controller@81800000: Missing #address-cells in interrupt provider
[165/3414] Generating pc-bios/petalogix-ml605.dts with a custom command
pc-bios/petalogix-ml605.dts:234.39-241.5: Warning (interrupt_provider):
/axi/interrupt-controller@81800000: Missing #address-cells in interrupt provider
[177/3414] Generating pc-bios/bamboo.dts with a custom command
pc-bios/bamboo.dts:45.9-48.4: Warning (unit_address_vs_reg): /memory: node
has a reg or ranges property, but no unit name
pc-bios/bamboo.dts:87.13-154.5: Warning (unit_address_vs_reg): /plb/opb: node
has a reg or ranges property, but no unit name
pc-bios/bamboo.dts:198.3-50: Warning (chosen_node_stdout_path):
/chosen:linux,stdout-path: Use 'stdout-path' instead
pc-bios/bamboo.dts:87.13-154.5: Warning (interrupts_property): /plb/opb:
Missing interrupt-parent
pc-bios/bamboo.dts:100.14-108.6: Warning (interrupts_property): /plb/opb/ebc:
Missing interrupt-parent
>From QEMU perspective, these warnings are not really useful. It is
the responsibility of developers adding DT source/blob to QEMU
repository to check the source doesn't produce warnings, but as
long as the blob is useful enough, QEMU can consume it. So these
warnings don't add any value, instead they are noisy and might
distract us to focus on important warnings. Better disable them.
'dtc' provides the '--quiet' option for that [*]:
$ dtc --help
Usage: dtc [options] <input file>
Options: -[qI:O:o:V:d:R:S:p:a:fb:i:H:sW:E:@AThv]
-q, --quiet
Quiet: -q suppress warnings, -qq errors, -qqq all
Update meson to disable these unuseful DTC warnings.
[*]
https://lore.kernel.org/qemu-devel/CAFEAcA-WJ9J1YQunJ+bSG=wnpxh1By+Bf18j2CyV7G0vZ=8...@mail.gmail.com/
Suggested-by: Peter Maydell <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Acked-by: BALATON Zoltan <[email protected]>
Message-Id: <[email protected]>
Commit: b708e31185e060dac0fbc1420656f1dc812451eb
https://github.com/qemu/qemu/commit/b708e31185e060dac0fbc1420656f1dc812451eb
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M target/mips/cpu.c
M target/xtensa/cpu.c
Log Message:
-----------
target: Replace DEVICE(object_new) -> qdev_new()
Prefer QDev API for QDev objects, avoid the underlying QOM layer.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Zhao Liu <[email protected]>
Message-Id: <[email protected]>
Commit: 901b78a0eeda7d8d955e9ffe6608801df14b5638
https://github.com/qemu/qemu/commit/901b78a0eeda7d8d955e9ffe6608801df14b5638
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/arm/musicpal.c
M hw/sparc/sun4m.c
Log Message:
-----------
hw: Replace DEVICE(object_new) -> qdev_new()
Prefer QDev API for QDev objects, avoid the underlying QOM layer.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Zhao Liu <[email protected]>
Message-Id: <[email protected]>
Commit: 8bf6275f7e08ed8fea309ecda29c5da8837ed952
https://github.com/qemu/qemu/commit/8bf6275f7e08ed8fea309ecda29c5da8837ed952
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/usb/bus.c
M include/hw/usb.h
Log Message:
-----------
hw/usb: Inline usb_try_new()
Inline the single use of usb_try_new().
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Zhao Liu <[email protected]>
Message-Id: <[email protected]>
Commit: 8d2701072e44cda756148a29ef013a4b91316644
https://github.com/qemu/qemu/commit/8d2701072e44cda756148a29ef013a4b91316644
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/usb/bus.c
M hw/usb/dev-serial.c
M include/hw/usb.h
Log Message:
-----------
hw/usb: Inline usb_new()
Inline the 3 uses of usb_new().
Reviewed-by: Zhao Liu <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Commit: 8915c118599d47c8d73f0b5982d28289c3ad797f
https://github.com/qemu/qemu/commit/8915c118599d47c8d73f0b5982d28289c3ad797f
Author: Akihiko Odaki <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/core/qdev-hotplug.c
M include/hw/qdev-core.h
M system/qdev-monitor.c
Log Message:
-----------
hw/qdev: Pass bus argument to qdev_hotplug_allowed()
In preparation of checking the parent bus is hot(un)pluggable
in a few commits, pass a 'bus' argument to qdev_hotplug_allowed().
Signed-off-by: Akihiko Odaki <[email protected]>
[PMD: Split from bigger patch, part 1/6]
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Igor Mammedov <[email protected]>
Message-Id: <[email protected]>
Commit: 206d602e9b73d9079449b44899d572624d57390a
https://github.com/qemu/qemu/commit/206d602e9b73d9079449b44899d572624d57390a
Author: Akihiko Odaki <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/core/qdev-hotplug.c
M include/hw/qdev-core.h
M system/qdev-monitor.c
Log Message:
-----------
hw/qdev: Factor qdev_hotunplug_allowed() out
Factor qdev_hotunplug_allowed() out of qdev_unplug().
Start checking the device is not blocked.
Signed-off-by: Akihiko Odaki <[email protected]>
[PMD: Split from bigger patch, part 2/6]
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Igor Mammedov <[email protected]>
Message-Id: <[email protected]>
Commit: f2694f1b1a1a38c586ee6f00e88b729828012d3a
https://github.com/qemu/qemu/commit/f2694f1b1a1a38c586ee6f00e88b729828012d3a
Author: Akihiko Odaki <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/core/qdev-hotplug.c
Log Message:
-----------
hw/qdev: Introduce qdev_hotplug_unplug_allowed_common()
Introduce qdev_hotplug_unplug_allowed_common() to hold
common code between checking hot-plug/unplug is allowed.
Signed-off-by: Akihiko Odaki <[email protected]>
[PMD: Split from bigger patch, part 3/6]
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Igor Mammedov <[email protected]>
Message-Id: <[email protected]>
Commit: 1bff035be76cc30ff0fc4e8f0b0fbda84db7d1dc
https://github.com/qemu/qemu/commit/1bff035be76cc30ff0fc4e8f0b0fbda84db7d1dc
Author: Akihiko Odaki <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/core/qdev-hotplug.c
M system/qdev-monitor.c
Log Message:
-----------
hw/qdev: Check DevClass::hotpluggable in hotplug_unplug_allowed_common
Check the same code once in the common helper.
Signed-off-by: Akihiko Odaki <[email protected]>
[PMD: Split from bigger patch, part 4/6]
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Igor Mammedov <[email protected]>
Message-Id: <[email protected]>
Commit: ccaca8929d53b23e2f7acc45cc88d05fc0479a1b
https://github.com/qemu/qemu/commit/ccaca8929d53b23e2f7acc45cc88d05fc0479a1b
Author: Akihiko Odaki <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/core/qdev-hotplug.c
M system/qdev-monitor.c
Log Message:
-----------
hw/qdev: Check qbus_is_hotpluggable in hotplug_unplug_allowed_common
Check the same code once in the common helper.
Signed-off-by: Akihiko Odaki <[email protected]>
[PMD: Split from bigger patch, part 5/6]
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Igor Mammedov <[email protected]>
Message-Id: <[email protected]>
Commit: 937874a83d149a1b871a569d6abded3fdd302267
https://github.com/qemu/qemu/commit/937874a83d149a1b871a569d6abded3fdd302267
Author: Akihiko Odaki <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/core/qdev-hotplug.c
M system/qdev-monitor.c
Log Message:
-----------
hw/qdev: Check machine_hotplug_handler in hotplug_unplug_allowed_common
Commit 03fcbd9dc508 ("qdev: Check for the availability of a hotplug
controller before adding a device") says:
> The qdev_unplug() function contains a g_assert(hotplug_ctrl)
> statement, so QEMU crashes when the user tries to device_add +
> device_del a device that does not have a corresponding hotplug
> controller.
> The code in qdev_device_add() already checks whether the bus has a
> proper hotplug controller, but for devices that do not have a
> corresponding bus, here is no appropriate check available yet. In that
> case we should check whether the machine itself provides a suitable
> hotplug controller and refuse to plug the device if none is available.
However, it forgot to add the corresponding check to qdev_unplug().
Check the machine hotplug handler once in the common
qdev_hotplug_unplug_allowed_common() helper so both hotplug
and hot-unplug path are covered.
Fixes: 7716b8ca74 ("qdev: HotplugHandler: Add support for unplugging BUS-less
devices")
Signed-off-by: Akihiko Odaki <[email protected]>
[PMD: Split from bigger patch, part 6/6]
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Igor Mammedov <[email protected]>
Message-Id: <[email protected]>
Commit: 6909b616efbc9b627a0c9ea87d25a10d508cc879
https://github.com/qemu/qemu/commit/6909b616efbc9b627a0c9ea87d25a10d508cc879
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/intc/xilinx_intc.c
M hw/net/xilinx_ethlite.c
M hw/timer/xilinx_timer.c
Log Message:
-----------
hw/microblaze: Restrict MemoryRegionOps are implemented as 32-bit
All these MemoryRegionOps read() and write() handlers are
implemented expecting 32-bit accesses. Clarify that setting
.impl.min/max_access_size fields.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Anton Johansson <[email protected]>
Message-Id: <[email protected]>
Commit: fa3ca9aa1ceb9b762f4c7a51245226f247e35560
https://github.com/qemu/qemu/commit/fa3ca9aa1ceb9b762f4c7a51245226f247e35560
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/net/xilinx_ethlite.c
Log Message:
-----------
hw/net/xilinx_ethlite: Map MDIO registers (as unimplemented)
Rather than handling the MDIO registers as RAM, map them
as unimplemented I/O within the device MR.
The memory flat view becomes:
(qemu) info mtree -f
FlatView #0
Root memory region: system
0000000081000000-00000000810007e3 (prio 0, i/o): xlnx.xps-ethernetlite
00000000810007e4-00000000810007f3 (prio 0, i/o): ethlite.mdio
00000000810007f4-0000000081001fff (prio 0, i/o): xlnx.xps-ethernetlite
@00000000000007f4
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Edgar E. Iglesias <[email protected]>
Message-Id: <[email protected]>
Commit: 8d956610f5e79bcc53a9f296ebecd53ee7c449ca
https://github.com/qemu/qemu/commit/8d956610f5e79bcc53a9f296ebecd53ee7c449ca
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/net/xilinx_ethlite.c
Log Message:
-----------
hw/net/xilinx_ethlite: Introduce txbuf_ptr() helper
For a particular physical address within the EthLite MMIO range,
addr_to_port_index() returns which port is accessed.
txbuf_ptr() points to the beginning of a (RAM) TX buffer
within the device state.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Edgar E. Iglesias <[email protected]>
Message-Id: <[email protected]>
Commit: 785fd1a9afd5cb894f3e53753d732c7fbbb3d74a
https://github.com/qemu/qemu/commit/785fd1a9afd5cb894f3e53753d732c7fbbb3d74a
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/net/xilinx_ethlite.c
Log Message:
-----------
hw/net/xilinx_ethlite: Introduce rxbuf_ptr() helper
rxbuf_ptr() points to the beginning of a (RAM) RX buffer
within the device state.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Edgar E. Iglesias <[email protected]>
Message-Id: <[email protected]>
Commit: 64fdbae7e1bc6408204a3cf3b8e6a2e7d8e36fe2
https://github.com/qemu/qemu/commit/64fdbae7e1bc6408204a3cf3b8e6a2e7d8e36fe2
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/net/xilinx_ethlite.c
Log Message:
-----------
hw/net/xilinx_ethlite: Access TX_GIE register for each port
Rather than accessing the registers within the mixed RAM/MMIO
region as indexed register, declare a per-port TX_GIE. This
will help to map the RAM as RAM (keeping MMIO as MMIO) in few
commits.
Previous s->regs[R_TX_GIE0] and s->regs[R_TX_GIE1] are now
unused. Not a concern, this array will soon disappear.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Edgar E. Iglesias <[email protected]>
Message-Id: <[email protected]>
Commit: c629791859d5d1777d8471f260f418e76078e97e
https://github.com/qemu/qemu/commit/c629791859d5d1777d8471f260f418e76078e97e
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/net/xilinx_ethlite.c
Log Message:
-----------
hw/net/xilinx_ethlite: Access TX_LEN register for each port
Rather than accessing the registers within the mixed RAM/MMIO
region as indexed register, declare a per-port TX_LEN. This
will help to map the RAM as RAM (keeping MMIO as MMIO) in few
commits.
Previous s->regs[R_TX_LEN0] and s->regs[R_TX_LEN1] are now
unused. Not a concern, this array will soon disappear.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Edgar E. Iglesias <[email protected]>
Message-Id: <[email protected]>
Commit: a37506699109d2dbf86ec5c02734eee35d065d94
https://github.com/qemu/qemu/commit/a37506699109d2dbf86ec5c02734eee35d065d94
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/net/xilinx_ethlite.c
Log Message:
-----------
hw/net/xilinx_ethlite: Access TX_CTRL register for each port
Rather than accessing the registers within the mixed RAM/MMIO
region as indexed register, declare a per-port TX_CTRL. This
will help to map the RAM as RAM (keeping MMIO as MMIO) in few
commits.
Previous s->regs[R_TX_CTRL0] and s->regs[R_TX_CTRL1] are now
unused. Not a concern, this array will soon disappear.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Edgar E. Iglesias <[email protected]>
Message-Id: <[email protected]>
Commit: 72294962065e5d237dda3cd298016b47fef0c3c0
https://github.com/qemu/qemu/commit/72294962065e5d237dda3cd298016b47fef0c3c0
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/net/xilinx_ethlite.c
Log Message:
-----------
hw/net/xilinx_ethlite: Map RX_CTRL as MMIO
Declare RX registers as MMIO region, split it out
of the current mixed RAM/MMIO region.
The memory flat view becomes:
(qemu) info mtree -f
FlatView #0
Root memory region: system
0000000081000000-00000000810007e3 (prio 0, i/o): xlnx.xps-ethernetlite
00000000810007e4-00000000810007f3 (prio 0, i/o): ethlite.mdio
00000000810007f4-00000000810017fb (prio 0, i/o): xlnx.xps-ethernetlite
@00000000000007f4
00000000810017fc-00000000810017ff (prio 0, i/o): ethlite.rx[0]io
0000000081001800-0000000081001ffb (prio 0, i/o): xlnx.xps-ethernetlite
@0000000000001800
0000000081001ffc-0000000081001fff (prio 0, i/o): ethlite.rx[1]io
Reviewed-by: Edgar E. Iglesias <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Commit: 46dd6af2592d7a7d876ed8617b1e70d43c676ebb
https://github.com/qemu/qemu/commit/46dd6af2592d7a7d876ed8617b1e70d43c676ebb
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/net/xilinx_ethlite.c
Log Message:
-----------
hw/net/xilinx_ethlite: Map TX_LEN as MMIO
Declare TX registers as MMIO region, split it out
of the current mixed RAM/MMIO region.
The memory flat view becomes:
(qemu) info mtree -f
FlatView #0
Root memory region: system
0000000081000000-00000000810007e3 (prio 0, i/o): xlnx.xps-ethernetlite
00000000810007e4-00000000810007f3 (prio 0, i/o): ethlite.mdio
00000000810007f4-00000000810007f7 (prio 0, i/o): ethlite.tx[0]io
00000000810007f8-0000000081000ff3 (prio 0, i/o): xlnx.xps-ethernetlite
@00000000000007f8
0000000081000ff4-0000000081000ff7 (prio 0, i/o): ethlite.tx[1]io
0000000081000ff8-00000000810017fb (prio 0, i/o): xlnx.xps-ethernetlite
@0000000000000ff8
00000000810017fc-00000000810017ff (prio 0, i/o): ethlite.rx[0]io
0000000081001800-0000000081001ffb (prio 0, i/o): xlnx.xps-ethernetlite
@0000000000001800
0000000081001ffc-0000000081001fff (prio 0, i/o): ethlite.rx[1]io
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Edgar E. Iglesias <[email protected]>
Message-Id: <[email protected]>
Commit: 01198add29ddecc1283f1ab5cb4b34885e7daaa3
https://github.com/qemu/qemu/commit/01198add29ddecc1283f1ab5cb4b34885e7daaa3
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/net/xilinx_ethlite.c
Log Message:
-----------
hw/net/xilinx_ethlite: Map TX_GIE as MMIO
Add TX_GIE to the TX registers MMIO region.
Before TX_GIE1 was accessed as RAM, with no effect.
Now it is accessed as MMIO, also without any effect.
The memory flat view becomes:
(qemu) info mtree -f
FlatView #0
Root memory region: system
0000000081000000-00000000810007e3 (prio 0, i/o): xlnx.xps-ethernetlite
00000000810007e4-00000000810007f3 (prio 0, i/o): ethlite.mdio
00000000810007f4-00000000810007fb (prio 0, i/o): ethlite.tx[0]io
00000000810007fc-0000000081000ff3 (prio 0, i/o): xlnx.xps-ethernetlite
@00000000000007fc
0000000081000ff4-0000000081000ffb (prio 0, i/o): ethlite.tx[1]io
0000000081000ffc-00000000810017fb (prio 0, i/o): xlnx.xps-ethernetlite
@0000000000000ffc
00000000810017fc-00000000810017ff (prio 0, i/o): ethlite.rx[0]io
0000000081001800-0000000081001ffb (prio 0, i/o): xlnx.xps-ethernetlite
@0000000000001800
0000000081001ffc-0000000081001fff (prio 0, i/o): ethlite.rx[1]io
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Edgar E. Iglesias <[email protected]>
Message-Id: <[email protected]>
Commit: a34606dbb3c7094b6e9fde5e1463a306b6921255
https://github.com/qemu/qemu/commit/a34606dbb3c7094b6e9fde5e1463a306b6921255
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/net/xilinx_ethlite.c
Log Message:
-----------
hw/net/xilinx_ethlite: Map TX_CTRL as MMIO
Add TX_CTRL to the TX registers MMIO region.
The memory flat view becomes:
(qemu) info mtree -f
FlatView #0
Root memory region: system
0000000081000000-00000000810007e3 (prio 0, i/o): xlnx.xps-ethernetlite
00000000810007e4-00000000810007f3 (prio 0, i/o): ethlite.mdio
00000000810007f4-00000000810007ff (prio 0, i/o): ethlite.tx[0]io
0000000081000800-0000000081000ff3 (prio 0, i/o): xlnx.xps-ethernetlite
@0000000000000800
0000000081000ff4-0000000081000fff (prio 0, i/o): ethlite.tx[1]io
0000000081001000-00000000810017fb (prio 0, i/o): xlnx.xps-ethernetlite
@0000000000001000
00000000810017fc-00000000810017ff (prio 0, i/o): ethlite.rx[0]io
0000000081001800-0000000081001ffb (prio 0, i/o): xlnx.xps-ethernetlite
@0000000000001800
0000000081001ffc-0000000081001fff (prio 0, i/o): ethlite.rx[1]io
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Edgar E. Iglesias <[email protected]>
Message-Id: <[email protected]>
Commit: 0bd0ba87a0fa22b5d3dda206f1920547df6eb918
https://github.com/qemu/qemu/commit/0bd0ba87a0fa22b5d3dda206f1920547df6eb918
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/net/xilinx_ethlite.c
Log Message:
-----------
hw/net/xilinx_ethlite: Map the RAM buffer as RAM memory region
Rather than using I/O registers for RAM buffer, having to
swap endianness back and forth (because the core memory layer
automatically swaps endiannes for us), declare the buffers
as RAM regions. The "xlnx.xps-ethernetlite" MR doesn't have
any more I/O regions. Remove the now unused s->regs[] array.
The memory flat view becomes:
FlatView #0
Root memory region: system
0000000081000000-00000000810007e3 (prio 0, ram): ethlite.tx[0]buf
00000000810007e4-00000000810007f3 (prio 0, i/o): ethlite.mdio
00000000810007f4-00000000810007ff (prio 0, i/o): ethlite.tx[0]io
0000000081000800-0000000081000fe3 (prio 0, ram): ethlite.tx[1]buf
0000000081000ff4-0000000081000fff (prio 0, i/o): ethlite.tx[1]io
0000000081001000-00000000810017e3 (prio 0, ram): ethlite.rx[0]buf
00000000810017fc-00000000810017ff (prio 0, i/o): ethlite.rx[0]io
0000000081001800-0000000081001fe3 (prio 0, ram): ethlite.rx[1]buf
0000000081001ffc-0000000081001fff (prio 0, i/o): ethlite.rx[1]io
Reported-by: Paolo Bonzini <[email protected]>
Reviewed-by: Edgar E. Iglesias <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Commit: ce336679b72cfb5cbbf1539d209764242fc5458a
https://github.com/qemu/qemu/commit/ce336679b72cfb5cbbf1539d209764242fc5458a
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/net/xilinx_ethlite.c
Log Message:
-----------
hw/net/xilinx_ethlite: Rename 'mmio' MR as 'container'
Having all its address range mapped by subregions,
s->mmio MemoryRegion effectively became a container.
Rename it as 'container' for clarity.
Reviewed-by: Edgar E. Iglesias <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Commit: 74f1caa8c33f608168c4224bb23d9a6453224a56
https://github.com/qemu/qemu/commit/74f1caa8c33f608168c4224bb23d9a6453224a56
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/net/xilinx_ethlite.c
Log Message:
-----------
hw/net/xilinx_ethlite: Map RESERVED I/O as unimplemented
In order to track access to reserved I/O space, use yet
another UnimplementedDevice covering the whole device
memory range. Mapped with lower priority (-1).
The memory flat view becomes:
(qemu) info mtree -f
FlatView #0
Root memory region: system
0000000081000000-00000000810007e3 (prio 0, ram): ethlite.tx[0]buf
00000000810007e4-00000000810007f3 (prio 0, i/o): ethlite.mdio
00000000810007f4-00000000810007ff (prio 0, i/o): ethlite.tx[0]io
0000000081000800-0000000081000fe3 (prio 0, ram): ethlite.tx[1]buf
0000000081000fe4-0000000081000ff3 (prio -1, i/o): ethlite.reserved
@0000000000000fe4
0000000081000ff4-0000000081000fff (prio 0, i/o): ethlite.tx[1]io
0000000081001000-00000000810017e3 (prio 0, ram): ethlite.rx[0]buf
00000000810017e4-00000000810017fb (prio -1, i/o): ethlite.reserved
@00000000000017e4
00000000810017fc-00000000810017ff (prio 0, i/o): ethlite.rx[0]io
0000000081001800-0000000081001fe3 (prio 0, ram): ethlite.rx[1]buf
0000000081001fe4-0000000081001ffb (prio -1, i/o): ethlite.reserved
@0000000000001fe4
0000000081001ffc-0000000081001fff (prio 0, i/o): ethlite.rx[1]io
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: d024d0adf48e28d4f93161878053936d55dab9c9
https://github.com/qemu/qemu/commit/d024d0adf48e28d4f93161878053936d55dab9c9
Author: Alexander Graf <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M docs/system/i386/nitro-enclave.rst
Log Message:
-----------
docs/nitro-enclave: Clarify Enclave and Firecracker relationship
The documentation says that Nitro Enclaves are based on Firecracker.
AWS has never made that statement.
This patch nudges the wording to instead say it "looks like a
Firecracker microvm".
Signed-off-by: Alexander Graf <[email protected]>
Reviewed-by: Dorjoy Chowdhury <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: b2d4e9f3b8437359e063431d991d4d4eb1ef7d6c
https://github.com/qemu/qemu/commit/b2d4e9f3b8437359e063431d991d4d4eb1ef7d6c
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/misc/vmcoreinfo.c
M include/hw/misc/vmcoreinfo.h
Log Message:
-----------
hw/misc/vmcoreinfo: Rename VMCOREINFO_DEVICE -> TYPE_VMCOREINFO
Follow the assumed QOM type definition style, prefixing with
'TYPE_', and dropping the '_DEVICE' suffix which doesn't add
any value.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Marc-André Lureau <[email protected]>
Message-Id: <[email protected]>
Commit: b7700c9fb1c052e3f2c503c535bccdb6dd70dd97
https://github.com/qemu/qemu/commit/b7700c9fb1c052e3f2c503c535bccdb6dd70dd97
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/misc/vmcoreinfo.c
Log Message:
-----------
hw/misc/vmcoreinfo: Convert to three-phase reset interface
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Daniel P. Berrangé <[email protected]>
Message-Id: <[email protected]>
Commit: c407eef162f765dd83d45e048585731be41a66fc
https://github.com/qemu/qemu/commit/c407eef162f765dd83d45e048585731be41a66fc
Author: Akihiko Odaki <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/pci/pci.c
M hw/pci/pci_host.c
M include/hw/pci/pci.h
M include/hw/pci/pci_device.h
Log Message:
-----------
hw/pci: Rename has_power to enabled
The renamed state will not only represent powering state of PFs, but
also represent SR-IOV VF enablement in the future.
Signed-off-by: Akihiko Odaki <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 4572dacc33e232a7c951ba7ba7a20887fad29e71
https://github.com/qemu/qemu/commit/4572dacc33e232a7c951ba7ba7a20887fad29e71
Author: Keoseong Park <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/ufs/ufs.c
M tests/qtest/ufs-test.c
Log Message:
-----------
hw/ufs: Adjust value to match CPU's endian format
In ufs_write_attr_value(), the value parameter is handled in the CPU's
endian format but provided in big-endian format by the caller. Thus, it
is converted to the CPU's endian format. The related test code is also
fixed to reflect this change.
Fixes: 7c85332a2b3e ("hw/ufs: minor bug fixes related to ufs-test")
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Keoseong Park <[email protected]>
Reviewed-by: Jeuk Kim <[email protected]>
Message-ID: <20250107084356epcms2p2af4d86432174d76ea57336933e46b4c3@epcms2p2>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 5df50b8e97377d2468bd8759ec3275e747a147bb
https://github.com/qemu/qemu/commit/5df50b8e97377d2468bd8759ec3275e747a147bb
Author: Bernhard Beschow <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/sd/sdhci.c
Log Message:
-----------
hw/sd/sdhci: Set SDHC_NIS_DMA bit when appropriate
In U-Boot, the fsl_esdhc[_imx] driver waits for both "transmit completed" and
"DMA" bits in esdhc_send_cmd_common() by means of DATA_COMPLETE constant. QEMU
currently misses to set the DMA bit which causes the driver to loop forever. Fix
that by setting the DMA bit if enabled when doing DMA block transfers.
Signed-off-by: Bernhard Beschow <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 14b1086f92ae8d45fc1e66c837ddc7da79d93f9b
https://github.com/qemu/qemu/commit/14b1086f92ae8d45fc1e66c837ddc7da79d93f9b
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/sd/sdhci.c
Log Message:
-----------
hw/sd/sdhci: Factor sdhci_sdma_transfer() out
Factor sdhci_sdma_transfer() out of sdhci_data_transfer().
Re-use it in sdhci_write(), so we don't try to run multi
block transfer for a single block.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Bernhard Beschow <[email protected]>
Message-Id: <[email protected]>
Commit: d25202fe836805d7e28dea5d11e39e19a7801780
https://github.com/qemu/qemu/commit/d25202fe836805d7e28dea5d11e39e19a7801780
Author: Nikita Shubin <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/char/stm32f2xx_usart.c
M hw/char/trace-events
Log Message:
-----------
hw/char/stm32f2xx_usart: replace print with trace
Drop debug printing macros and replace them with according trace
functions.
Signed-off-by: Nikita Shubin <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 2ee8c2ccb5a5bb2295b8a17e307efbe35539d289
https://github.com/qemu/qemu/commit/2ee8c2ccb5a5bb2295b8a17e307efbe35539d289
Author: Bernhard Beschow <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/timer/imx_gpt.c
Log Message:
-----------
hw/timer/imx_gpt: Remove unused define
Signed-off-by: Bernhard Beschow <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: bbaf7a0d4c9f653edd085c06bc2a343e356d9b6a
https://github.com/qemu/qemu/commit/bbaf7a0d4c9f653edd085c06bc2a343e356d9b6a
Author: Bernhard Beschow <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M tests/qtest/libqos/arm-imx25-pdk-machine.c
M tests/qtest/libqos/i2c-imx.c
Log Message:
-----------
tests/qtest/libqos: Reuse TYPE_IMX_I2C define
Signed-off-by: Bernhard Beschow <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Fabiano Rosas <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 2eabc49809b16317094b005320efba8e82b885db
https://github.com/qemu/qemu/commit/2eabc49809b16317094b005320efba8e82b885db
Author: Bernhard Beschow <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/misc/imx6_src.c
M hw/misc/trace-events
Log Message:
-----------
hw/misc/imx6_src: Convert DPRINTF() to trace events
Signed-off-by: Bernhard Beschow <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 1bada3c94c7d6a3ebb731eb23a6e4454a921c4e0
https://github.com/qemu/qemu/commit/1bada3c94c7d6a3ebb731eb23a6e4454a921c4e0
Author: Bernhard Beschow <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/char/imx_serial.c
M hw/char/trace-events
Log Message:
-----------
hw/char/imx_serial: Turn some DPRINTF() statements into trace events
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Bernhard Beschow <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: e589c0ea9c991094a85dbd7bee24e02e7d272310
https://github.com/qemu/qemu/commit/e589c0ea9c991094a85dbd7bee24e02e7d272310
Author: Bernhard Beschow <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/i2c/imx_i2c.c
M hw/i2c/trace-events
Log Message:
-----------
hw/i2c/imx_i2c: Convert DPRINTF() to trace events
Also print the QOM canonical path when tracing which allows for distinguishing
the many instances a typical i.MX SoC has.
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Bernhard Beschow <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: e3778c8499add463fa2c62b0251a4c9879f37e04
https://github.com/qemu/qemu/commit/e3778c8499add463fa2c62b0251a4c9879f37e04
Author: Bernhard Beschow <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/gpio/imx_gpio.c
M hw/gpio/trace-events
Log Message:
-----------
hw/gpio/imx_gpio: Turn DPRINTF() into trace events
While at it add a trace event for input GPIO events.
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Bernhard Beschow <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: a87077316ed2f1c1c8ba8faf05feed9dbf0f2fee
https://github.com/qemu/qemu/commit/a87077316ed2f1c1c8ba8faf05feed9dbf0f2fee
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M tests/qtest/boot-serial-test.c
Log Message:
-----------
tests/qtest/boot-serial-test: Correct HPPA machine name
Commit 7df6f751176 ("hw/hppa: Split out machine creation")
renamed the 'hppa' machine as 'B160L', but forgot to update
the boot serial test, which ended being skipped.
Cc: [email protected]
Fixes: 7df6f751176 ("hw/hppa: Split out machine creation")
Reported-by: Thomas Huth <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Message-Id: <[email protected]>
Commit: e4a407d2b41de8a35e2a1ecc0b9f22178ce71577
https://github.com/qemu/qemu/commit/e4a407d2b41de8a35e2a1ecc0b9f22178ce71577
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M MAINTAINERS
M tests/functional/meson.build
A tests/functional/test_hppa_seabios.py
M tests/qtest/boot-serial-test.c
M tests/qtest/meson.build
Log Message:
-----------
tests: Add functional tests for HPPA machines
Add quick firmware boot tests (less than 1sec) for the
B160L (32-bit) and C3700 (64-bit) HPPA machines:
$ make check-functional-hppa
...
4/4 qemu:func-quick+func-hppa / func-hppa-hppa_seabios OK 0.22s 2 subtests
passed
Remove the duplicated B160L test in qtest/boot-serial-test.c.
Suggested-by: Helge Deller <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Helge Deller <[email protected]>
Tested-by: Helge Deller <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
Commit: f4f4173188249d33a3ec4a0c910c168c9181ac9d
https://github.com/qemu/qemu/commit/f4f4173188249d33a3ec4a0c910c168c9181ac9d
Author: Helge Deller <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M target/hppa/cpu.c
M target/hppa/cpu.h
Log Message:
-----------
target/hppa: Convert hppa_cpu_init() to ResetHold handler
hppa_cpu_initfn() is called once when a HPPA CPU instance is
initialized, but it sets fields which should be set each time
a CPU resets. Rename it as a reset handler, having it matching
the ResettablePhases::hold() signature, and register it as
ResettableClass handler.
Since on reset the CPU registers and TLB entries are expected
to be zero, add a memset() call clearing CPUHPPAState up to
the &end_reset_fields marker.
Signed-off-by: Helge Deller <[email protected]>
Co-developed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Commit: 20f7b890173be6cd38dabad8122b8b2fe51d0255
https://github.com/qemu/qemu/commit/20f7b890173be6cd38dabad8122b8b2fe51d0255
Author: Helge Deller <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/hppa/machine.c
M target/hppa/cpu.c
Log Message:
-----------
hw/hppa: Reset vCPUs calling resettable_reset()
Rather than manually (and incompletely) resetting vCPUs,
call resettable_reset() which will fully reset the vCPUs.
Remove redundant assignations.
Signed-off-by: Helge Deller <[email protected]>
Co-developed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Commit: 3d66ec208ca75329b61a4e9c4a58462ed5948504
https://github.com/qemu/qemu/commit/3d66ec208ca75329b61a4e9c4a58462ed5948504
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M target/hppa/cpu.c
Log Message:
-----------
target/hppa: Only set PSW 'M' bit on reset
On reset:
"All PSW bits except the M bit is reset. The M bit is set."
Commit 1a19da0da44 ("target/hppa: Fill in hppa_cpu_do_interrupt /
hppa_cpu_exec_interrupt") inadvertently set the W bit at RESET,
remove it and set the M bit.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Acked-by: Helge Deller <[email protected]>
Message-Id: <[email protected]>
Commit: 46f7be06c8e568ec5d5c4aa07c81b42fc0fc863a
https://github.com/qemu/qemu/commit/46f7be06c8e568ec5d5c4aa07c81b42fc0fc863a
Author: Helge Deller <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M target/hppa/cpu.c
Log Message:
-----------
target/hppa: Set PC on vCPU reset
On reset:
"The CPU begins fetching instructions from address 0xf0000004.
This address is in PDC space."
Switch vCPUs to 32-bit mode (PSW_W bit is not set) and start
execution at address 0xf0000004.
Signed-off-by: Helge Deller <[email protected]>
Co-developed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Commit: 5c27cbd7b2ab825528086c0bd10029556ab88fd8
https://github.com/qemu/qemu/commit/5c27cbd7b2ab825528086c0bd10029556ab88fd8
Author: Helge Deller <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M target/hppa/cpu.c
M target/hppa/cpu.h
Log Message:
-----------
target/hppa: Speed up hppa_is_pa20()
Although the hppa_is_pa20() helper is costly due to string comparisons
in object_dynamic_cast(), it is called quite often during memory lookups
and at each start of a block of instruction translations.
Speed hppa_is_pa20() up by calling object_dynamic_cast() only once at
CPU creation and store the result in the is_pa20 of struct CPUArchState.
Signed-off-by: Helge Deller <[email protected]>
Co-developed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Commit: c48cc87ba15b3f7e327f6c6fab9eec7fe7421136
https://github.com/qemu/qemu/commit/c48cc87ba15b3f7e327f6c6fab9eec7fe7421136
Author: Bibo Mao <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/loongarch/acpi-build.c
M hw/loongarch/boot.c
M hw/loongarch/virt.c
Log Message:
-----------
hw/loongarch/virt: Checkpatch cleanup
Code cleanup with directory hw/loongarch/, removing errors from
command "scripts/checkpatch.pl hw/loongarch/*"
Signed-off-by: Bibo Mao <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 78b0c15a563ac4be5afb0375602ca0a3adc6c442
https://github.com/qemu/qemu/commit/78b0c15a563ac4be5afb0375602ca0a3adc6c442
Author: Gabriel Barrantes <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M backends/cryptodev-vhost-user.c
Log Message:
-----------
backends/cryptodev-vhost-user: Fix local_error leaks
Do not propagate error to the upper, directly output the error
to avoid leaks.
Fixes: 2fda101de07 ("virtio-crypto: Support asynchronous mode")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2714
Signed-off-by: Gabriel Barrantes <[email protected]>
Reviewed-by: zhenwei pi <[email protected]>
Message-Id:
<dm8pr13mb50781054a4fdace6f4fb6469b3...@dm8pr13mb5078.namprd13.prod.outlook.com>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: bb5b7fced6b5d3334ab20702fc846e47bb1fb731
https://github.com/qemu/qemu/commit/bb5b7fced6b5d3334ab20702fc846e47bb1fb731
Author: Phil Dennis-Jordan <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/usb/hcd-xhci-pci.c
Log Message:
-----------
hw/usb/hcd-xhci-pci: Use modulo to select MSI vector as per spec
QEMU would crash with a failed assertion if the XHCI controller
attempted to raise the interrupt on an interrupter corresponding
to a MSI vector with a higher index than the highest configured
for the device by the guest driver.
This behaviour is correct on the MSI/PCI side: per PCI 3.0 spec,
devices must ensure they do not send MSI notifications for
vectors beyond the range of those allocated by the system/driver
software. Unlike MSI-X, there is no generic way for handling
aliasing in the case of fewer allocated vectors than requested,
so the specifics are up to device implementors. (Section
6.8.3.4. "Sending Messages")
It turns out the XHCI spec (Implementation Note in section 4.17,
"Interrupters") requires that the host controller signal the MSI
vector with the number computed by taking the interrupter number
modulo the number of enabled MSI vectors.
This change introduces that modulo calculation, fixing the
failed assertion. This makes the device work correctly in MSI mode
with macOS's XHCI driver, which only allocates a single vector.
Signed-off-by: Phil Dennis-Jordan <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: ef82ab692424c7fb42c3aeb6b65db68eade6213a
https://github.com/qemu/qemu/commit/ef82ab692424c7fb42c3aeb6b65db68eade6213a
Author: Phil Dennis-Jordan <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/usb/hcd-xhci.c
Log Message:
-----------
hw/usb/hcd-xhci-pci: Use event ring 0 if mapping unsupported
The XHCI specification, section 4.17.1 specifies that "If the
Number of Interrupters (MaxIntrs) field is greater than 1, then
Interrupter Mapping shall be supported." and "If Interrupter
Mapping is not supported, the Interrupter Target field shall be
ignored by the xHC and all Events targeted at Interrupter 0."
QEMU's XHCI device has so far not specially addressed this case,
so we add a check to xhci_event() to redirect to event ring and
interrupt 0 if mapping is disabled.
Signed-off-by: Phil Dennis-Jordan <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: e555abceec0c7f958d553a39ce4ac79239a34537
https://github.com/qemu/qemu/commit/e555abceec0c7f958d553a39ce4ac79239a34537
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M hw/tricore/triboard.c
Log Message:
-----------
hw/tricore/triboard: Remove unnecessary use of &first_cpu
triboard_machine_init() has access to the single CPU via:
TriBoardMachineState {
TC27XSoCState {
TriCoreCPU cpu;
...
} tc27x_soc;
} ms;
Pass it as argument to tricore_load_kernel() so we can
remove the &first_cpu global use.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Bastian Koppelmann <[email protected]>
Message-Id: <[email protected]>
Commit: a18ed70625e7360cafbd810bf35c6bc0abf005fb
https://github.com/qemu/qemu/commit/a18ed70625e7360cafbd810bf35c6bc0abf005fb
Author: Marcin Juszkiewicz <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M MAINTAINERS
Log Message:
-----------
MAINTAINERS: remove myself from sbsa-ref
I am ending my time with Linaro and do not have plans to continue
working on SBSA Reference Platform anymore.
Signed-off-by: Marcin Juszkiewicz <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Leif Lindholm <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: b44314abca6fe22d21795eaeaf280d504183cb11
https://github.com/qemu/qemu/commit/b44314abca6fe22d21795eaeaf280d504183cb11
Author: Gustavo Romero <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M MAINTAINERS
Log Message:
-----------
MAINTAINERS: Add me as the maintainer for ivshmem-flat
Add me as the maintainer for the ivshmem-flat device.
Signed-off-by: Gustavo Romero <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 07340820e63460e8b859c1ce0568c31226d31311
https://github.com/qemu/qemu/commit/07340820e63460e8b859c1ce0568c31226d31311
Author: Akihiko Odaki <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M MAINTAINERS
Log Message:
-----------
MAINTAINERS: Update path to coreaudio.m
Commit 8b46d7e2dc8e ("audio: Rename coreaudio extension to use
Objective-C compiler") renamed coreaudio.c to coreaudio.m.
Signed-off-by: Akihiko Odaki <[email protected]>
Reviewed-by: Christian Schoenebeck <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 838cf72b5d2cd875897d8bdfea4b23f6d9fdc602
https://github.com/qemu/qemu/commit/838cf72b5d2cd875897d8bdfea4b23f6d9fdc602
Author: Jiaxun Yang <[email protected]>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
A .b4-config
Log Message:
-----------
Add a b4 configuration file
b4 [1] is a convenient tool to manage patch series with mailing list
working flow.
Add a project default config file to match QEMU's mailing list conventions
as well as adopting differences on scripting.
Examples of b4:
```
$ b4 prep --check
Checking patches using:
scripts/checkpatch.pl -q --terse --no-summary --mailback -
---
Signed-off-by: Jiaxun Yang <[email protected]>
---
Changes in v2:
- Add lore masks (philmd) from:
https://lore.kernel.org/qemu-devel/[email protected]/
- Link to v1:
https://lore.kernel.org/r/[email protected]
---
● cc5a4c890fed: Add a b4 configuration file
● checkpatch.pl: 27: WARNING: added, moved or deleted file(s), does
MAINTAINERS need updating?
---
Success: 0, Warning: 1, Error: 0
```
```
$ b4 prep -c
Will collect To: addresses using echo
Will collect Cc: addresses using get_maintainer.pl
Collecting To/Cc addresses
+ To: [email protected]
---
You can trim/expand this list with: b4 prep --edit-cover
Invoking git-filter-repo to update the cover letter.
New history written in 0.02 seconds...
Completely finished after 0.06 seconds
```
[1]: https://b4.docs.kernel.org/
Co-developed-by: Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Jiaxun Yang <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 7433709a147706ad7d1956b15669279933d0f82b
https://github.com/qemu/qemu/commit/7433709a147706ad7d1956b15669279933d0f82b
Author: Stefan Hajnoczi <[email protected]>
Date: 2025-01-14 (Tue, 14 Jan 2025)
Changed paths:
A .b4-config
M MAINTAINERS
M backends/cryptodev-vhost-user.c
M docs/system/i386/nitro-enclave.rst
M hw/arm/musicpal.c
M hw/char/imx_serial.c
M hw/char/stm32f2xx_usart.c
M hw/char/trace-events
M hw/core/qdev-hotplug.c
M hw/gpio/imx_gpio.c
M hw/gpio/trace-events
M hw/hppa/machine.c
M hw/i2c/imx_i2c.c
M hw/i2c/trace-events
M hw/intc/xilinx_intc.c
M hw/loongarch/acpi-build.c
M hw/loongarch/boot.c
M hw/loongarch/virt.c
M hw/misc/imx6_src.c
M hw/misc/trace-events
M hw/misc/vmcoreinfo.c
M hw/net/xilinx_ethlite.c
M hw/pci/pci.c
M hw/pci/pci_host.c
M hw/sd/sdhci.c
M hw/sparc/sun4m.c
M hw/timer/imx_gpt.c
M hw/timer/xilinx_timer.c
M hw/tricore/triboard.c
M hw/ufs/ufs.c
M hw/usb/bus.c
M hw/usb/dev-serial.c
M hw/usb/hcd-xhci-pci.c
M hw/usb/hcd-xhci.c
M include/hw/misc/vmcoreinfo.h
M include/hw/pci/pci.h
M include/hw/pci/pci_device.h
M include/hw/qdev-core.h
M include/hw/usb.h
M pc-bios/meson.build
M system/qdev-monitor.c
M target/hppa/cpu.c
M target/hppa/cpu.h
M target/mips/cpu.c
M target/xtensa/cpu.c
M tests/functional/meson.build
A tests/functional/test_hppa_seabios.py
M tests/qtest/boot-serial-test.c
M tests/qtest/libqos/arm-imx25-pdk-machine.c
M tests/qtest/libqos/i2c-imx.c
M tests/qtest/meson.build
M tests/qtest/ufs-test.c
Log Message:
-----------
Merge tag 'hw-misc-20250113' of https://github.com/philmd/qemu into staging
Misc HW patches queue
- Silent unuseful DTC warnings (Philippe)
- Unify QDev hotplug decision logic (Akihiko)
- Rework XilinX EthLite RAM buffers (Philippe)
- Convert vmcoreinfo to 3-phase reset (Philippe)
- Convert HPPA CPUs to 3-phase reset (Helge)
- Fix UFS endianness issue (Keoseong)
- Introduce pci_set_enabled (Akihiko)
- Clarify Enclave and Firecracker relationship (Alexander)
- Set SDHCI DMA interrupt status bit in correct place (Bernhard)
- Fix leak in cryptodev-vhost-user backend (Gabriel)
- Fixes on PCI USB XHCI (Phil)
- Convert DPRINTF to trace events (Nikita, Bernhard)
- Remove &first_cpu in TriCore machine (Philippe)
- Checkpatch style cleanups (Bibo)
- MAINTAINERS updates (Marcin, Gustavo, Akihiko)
- Add default configuration for b4 tool (Jiaxun)
# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmeFTq0ACgkQ4+MsLN6t
# wN6F2RAA0hhgXYf1BAn0DQI5O/oOzt6WzkwL/yQhKff1piWMcCZbHCOn8JHETE4R
# QTqg+OMGuw4Q55YSwqwHW98JIQI/lRbSUX9Vc3km4QxED5owHiqu9wk//KSLv3TY
# y86CRbibb0Uy6vEM4J1WK6ATiLePWZ6qzePQX59f9YEagTLM2XO2DasRu+wGDbt+
# 96fPnT7Tx2Bu5jU8+sZ36mw3wWSJo/pLQBE9siH4N33v2I5ntmMs1Lbe7QscDDsw
# 1+OOti3lB4q5chNMYNQyPxvz75QIi9et7wREJM9Vt03OpEpj+vWMGzwZFNLfOmeu
# eApgcQP/k6z1+pAGjEo5mwNOZcZtR9I/3Uf/sONvO0N5FlJq9CSOTs7L2EddcFzM
# lVDZjwEHIoU1xCohqNy2A0Q1s20dNfBEjPEUCuh+tIvFk9cy1L8uZtBVFNUCb33J
# Jq8KAkqXAaVj2tHGa27DwFjSTo4olU/G0WO4AQZNwdxvMQwX88gHOGMJkRmJPRVi
# ErKD0/bBfVa6orEAorWYwQSnTP1H/2fGfF6rLtI5GvQtPc/jBG3+KpEOS+vc2nzG
# 1fq+Kty8kWsU4Fpw3EUHvflnzG4Ujhuc/nJ+FyQhn89Erb49jxBlu25lQOLVRVa4
# gP+jsgi46+4goYzj1vrpTpBgFPFWKGCl1gGz17ij5WyvVXroRzA=
# =+uup
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 13 Jan 2025 12:34:37 EST
# gpg: using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <[email protected]>"
[full]
# Primary key fingerprint: FAAB E75E 1291 7221 DCFD 6BB2 E3E3 2C2C DEAD C0DE
* tag 'hw-misc-20250113' of https://github.com/philmd/qemu: (55 commits)
Add a b4 configuration file
MAINTAINERS: Update path to coreaudio.m
MAINTAINERS: Add me as the maintainer for ivshmem-flat
MAINTAINERS: remove myself from sbsa-ref
hw/tricore/triboard: Remove unnecessary use of &first_cpu
hw/usb/hcd-xhci-pci: Use event ring 0 if mapping unsupported
hw/usb/hcd-xhci-pci: Use modulo to select MSI vector as per spec
backends/cryptodev-vhost-user: Fix local_error leaks
hw/loongarch/virt: Checkpatch cleanup
target/hppa: Speed up hppa_is_pa20()
target/hppa: Set PC on vCPU reset
target/hppa: Only set PSW 'M' bit on reset
hw/hppa: Reset vCPUs calling resettable_reset()
target/hppa: Convert hppa_cpu_init() to ResetHold handler
tests: Add functional tests for HPPA machines
tests/qtest/boot-serial-test: Correct HPPA machine name
hw/gpio/imx_gpio: Turn DPRINTF() into trace events
hw/i2c/imx_i2c: Convert DPRINTF() to trace events
hw/char/imx_serial: Turn some DPRINTF() statements into trace events
hw/misc/imx6_src: Convert DPRINTF() to trace events
...
Signed-off-by: Stefan Hajnoczi <[email protected]>
Compare: https://github.com/qemu/qemu/compare/e8aa7fdcddfc...7433709a1477
To unsubscribe from these emails, change your notification settings at
https://github.com/qemu/qemu/settings/notifications