Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: b2d0bf872d4a40c5f1e326b4bd5aa42ba98567f0
https://github.com/qemu/qemu/commit/b2d0bf872d4a40c5f1e326b4bd5aa42ba98567f0
Author: Helge Deller <[email protected]>
Date: 2025-11-04 (Tue, 04 Nov 2025)
Changed paths:
M hw/hppa/hppa_hardware.h
M hw/hppa/machine.c
M hw/net/lasi_i82596.c
M include/hw/net/lasi_82596.h
Log Message:
-----------
hw/hppa: Enable LASI i82596 network on 715 machine
Enable the i82596 network chip which is included in the LASI
multi I/O chip. Since LASI has different start addresses on
the various machines, always initialize the LASI components
by their offsets.
Tested-by: Guenter Roeck <[email protected]>
Signed-off-by: Soumyajyotii Ssarkar <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Commit: cbf62eef84ab6bd1be3a03269b4a4e9df529985f
https://github.com/qemu/qemu/commit/cbf62eef84ab6bd1be3a03269b4a4e9df529985f
Author: Soumyajyotii Ssarkar <[email protected]>
Date: 2025-11-04 (Tue, 04 Nov 2025)
Changed paths:
M hw/net/i82596.c
M hw/net/i82596.h
M hw/net/lasi_i82596.c
Log Message:
-----------
i82596: Added core infrastructure and helper functions
As a part of GSOC 2025 I have done a massive rewrite of what was the
82596 NIC. This has been done to add the missing functionality according
to the 82596 Manual and making the code production ready.
This patch adds:
- comprehensive 82596 constants and configuration macros
- address translation for segmented/linear memory modes
- error recording and statistics tracking infrastructure
- CRC-16/32 calculation and appending functions
- CSMA/CD collision detection and backoff logic
- bus throttle timer framework
- enhanced reset with full state initialization
- receive_iov and polling support functions
- updated VMState for migration of all new fields
Note:
This patch primarily includes placeholder code.
To achieve full 82596 emulation, the complete 82596 patch series is
required. Nevertheless, QEMU is able to load and boot successfully with
this patch.
Signed-off-by: Soumyajyotii Ssarkar <[email protected]>
Tested-by: Helge Deller <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Commit: fec69f17be25db71f9cd4001b920da21cc71b283
https://github.com/qemu/qemu/commit/fec69f17be25db71f9cd4001b920da21cc71b283
Author: Soumyajyotii Ssarkar <[email protected]>
Date: 2025-11-04 (Tue, 04 Nov 2025)
Changed paths:
M hw/net/i82596.c
M hw/net/trace-events
Log Message:
-----------
i82596: Implement enhanced TX/RX with packet queuing and filtering
In this patch I have added the following:
- Rewrote transmit path with CSMA/CD collision handling and retry logic
- Implemented flexible TX buffer descriptor (TBD) chain processing
- Rewrote receive path with packet filtering and monitor mode support
- Added RX packet queue for handling resource exhaustion
- Implemented queue flush timer and management
- Added RX state machine with proper state transitions
- Implemented packet filtering (unicast, broadcast, multicast, promiscuous)
- Added SCB RU_START enhancement to find usable RFDs
- Implemented dump command support
- Added bus throttle timer loading (LOAD_THROTTLE/LOAD_START commands)
- Enhanced signal_ca with proper initialization sequence
- Finally, adding self-test functionality
Note:
With this patch, and the previous ones in the patch series, we are able
to achive proper 82596 NIC emulation.
Signed-off-by: Soumyajyotii Ssarkar <[email protected]>
Tested-by: Helge Deller <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Commit: a362b19a39e458256cc7e3acd0dc7825b0389b48
https://github.com/qemu/qemu/commit/a362b19a39e458256cc7e3acd0dc7825b0389b48
Author: Jan Kiszka <[email protected]>
Date: 2025-11-05 (Wed, 05 Nov 2025)
Changed paths:
M hw/sd/sd.c
Log Message:
-----------
hw/sd/sdcard: Fix size check for backing block image
Alignment rules apply the the individual partitions (user, boot, later
on also RPMB) and depend both on the size of the image and the type of
the device. Up to and including 2GB, the power-of-2 rule applies to the
user data area. For larger images, multiples of 512 sectors must be used
for eMMC and multiples of 512K for SD-cards. Fix the check accordingly
and also detect if the image is too small to even hold the boot
partitions.
Signed-off-by: Jan Kiszka <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Warner Losh <[email protected]>
Message-ID:
<591f6d8a9dc86428723cb6876df6e717cc41a70e.1762261430.git.jan.kis...@siemens.com>
Tested-by: Cédric Le Goater <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 4a885312bec08f30e98d0141e0258ae048b9014d
https://github.com/qemu/qemu/commit/4a885312bec08f30e98d0141e0258ae048b9014d
Author: Jan Luebbe <[email protected]>
Date: 2025-11-05 (Wed, 05 Nov 2025)
Changed paths:
M hw/sd/sd.c
Log Message:
-----------
hw/sd/sdcard: Allow user creation of eMMCs
For testing eMMC-specific functionality (such as handling boot
partitions), it would be very useful to attach them to generic VMs such
as x86_64 via the sdhci-pci device:
...
-drive if=none,id=emmc-drive,file=emmc.img,format=raw \
-device sdhci-pci \
-device emmc,id=emmc0,drive=emmc-drive,boot-partition-size=1048576 \
...
While most eMMCs are soldered to boards, they can also be connected to
SD controllers with just a passive adapter, such as:
https://docs.radxa.com/en/accessories/emmc-to-usd
https://github.com/voltlog/emmc-wfbga153-microsd
The only change necessary to make the options above work is to avoid
disabling user_creatable, so do that. The SDHCI-PCI driver in the Linux
kernel already supports this just fine.
Signed-off-by: Jan Luebbe <[email protected]>
Acked-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Enable user-instantiation so that eMMCs can be created for PCI-attached
SD/MMC host controllers (such as sdhci-pci) on virt machines, for QA
purposes for the eMMC model itself and for complex firmware/OS
integrations using the upcoming RPMB partition support.
Signed-off-by: Jan Kiszka <[email protected]>
Message-ID:
<e515cc80de261ff03b3141724298f20313259a85.1762261430.git.jan.kis...@siemens.com>
Tested-by: Cédric Le Goater <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 8ef4260a3f53694a1680254d37901fb7dbe8acf3
https://github.com/qemu/qemu/commit/8ef4260a3f53694a1680254d37901fb7dbe8acf3
Author: Jan Kiszka <[email protected]>
Date: 2025-11-05 (Wed, 05 Nov 2025)
Changed paths:
M hw/sd/sd.c
M hw/sd/sdmmc-internal.h
M hw/sd/trace-events
Log Message:
-----------
hw/sd/sdcard: Add basic support for RPMB partition
The Replay Protected Memory Block (RPMB) is available since eMMC 4.4
which has been obsoleted by 4.41. Therefore lift the provided
EXT_CSD_REV to 5 (4.41) and provide the basic logic to implement basic
support for it. This allows to set the authentication key, read the
write counter and authenticated perform data read and write requests.
Those aren't actually authenticated yet, support for that will be added
later.
The RPMB image needs to be added to backing block images after potential
boot partitions and before the user data. It's size is controlled by
the rpmb-partition-size property.
Also missing in this version (and actually not only for RPMB bits) is
persistence of registers that are supposed to survive power cycles. Most
prominent are the write counters or the authentication key. This feature
can be added later, e.g. by append a state structure to the backing
block image.
Signed-off-by: Jan Kiszka <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID:
<d57388b599e47f5c95f30be7571b77f9016289eb.1762261430.git.jan.kis...@siemens.com>
Tested-by: Cédric Le Goater <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 3acf956ea1a3e991e8540268b73d8565b05a6056
https://github.com/qemu/qemu/commit/3acf956ea1a3e991e8540268b73d8565b05a6056
Author: Jan Kiszka <[email protected]>
Date: 2025-11-05 (Wed, 05 Nov 2025)
Changed paths:
M hw/sd/sd.c
Log Message:
-----------
hw/sd/sdcard: Handle RPMB MAC field
Implement correct setting of the MAC field when passing RPMB frames back
to the guest. Also check the MAC on authenticated write requests.
This depends on HMAC support for QCRYPTO_HASH_ALGO_SHA256 which is
always available via glib - assert this, just to be safe.
Signed-off-by: Jan Kiszka <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID:
<b6f5698c0ca017871d54834f0c7bd4b4b6316bbd.1762261430.git.jan.kis...@siemens.com>
Tested-by: Cédric Le Goater <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 2f00451fbeaf91c9a0cdcb8a860d27bacbbe7a06
https://github.com/qemu/qemu/commit/2f00451fbeaf91c9a0cdcb8a860d27bacbbe7a06
Author: Jan Kiszka <[email protected]>
Date: 2025-11-05 (Wed, 05 Nov 2025)
Changed paths:
A scripts/mkemmc.sh
Log Message:
-----------
scripts: Add helper script to generate eMMC block device images
As an eMMC block device image may consist of more than just the user
data partition, provide a helper script that can compose the image from
boot partitions, an RPMB partition and the user data image. The script
also does the required size validation and/or rounding.
Signed-off-by: Jan Kiszka <[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: 45423e247076c0680bd1936c681efdb81641088d
https://github.com/qemu/qemu/commit/45423e247076c0680bd1936c681efdb81641088d
Author: Jan Kiszka <[email protected]>
Date: 2025-11-05 (Wed, 05 Nov 2025)
Changed paths:
M docs/system/device-emulation.rst
A docs/system/devices/emmc.rst
Log Message:
-----------
docs: Add eMMC device model description
Signed-off-by: Jan Kiszka <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID:
<b9c3ff21e7170fef5d0e7d08698a113d2a64e649.1762261430.git.jan.kis...@siemens.com>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: b7974ab064278c82de1e61196d5f1bb4a8c15a81
https://github.com/qemu/qemu/commit/b7974ab064278c82de1e61196d5f1bb4a8c15a81
Author: Luigi Leonardi <[email protected]>
Date: 2025-11-05 (Wed, 05 Nov 2025)
Changed paths:
M hw/i386/microvm-dt.c
M include/hw/i386/microvm.h
Log Message:
-----------
hw/i386/microvm: Use fdt field from MachineState
MachineState already provides an fdt field, remove it from
MicrovmMachineState and use that instead.
This is useful when using the `dumpdtb` option, as QEMU expects the
device tree to be stored in the MachineState struct, otherwise it
will return this error:
qemu-system-x86_64: This machine doesn't have an FDT
Signed-off-by: Luigi Leonardi <[email protected]>
Reviewed-by: Stefano Garzarella <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 1eb18789f8863e7ee89c1dc06b2de806442b4927
https://github.com/qemu/qemu/commit/1eb18789f8863e7ee89c1dc06b2de806442b4927
Author: Osama Abdelkader <[email protected]>
Date: 2025-11-05 (Wed, 05 Nov 2025)
Changed paths:
M hw/audio/ac97.c
Log Message:
-----------
hw/audio: Remove dead code from ac97_realize
Remove unnecessary PCI configuration register initialization that was
marked with TODO comments indicating it's redundant:
- PCI_COMMAND register is already 0x00 by default, no need to override
- PCI_BASE_ADDRESS_0 registers are automatically set by pci_register_bar()
This aligns the code with the pattern used by other PCI audio devices
in QEMU (via-ac97, intel-hda, es1370) and removes 15 lines of dead code.
Signed-off-by: Osama Abdelkader <[email protected]>
Reviewed-by: Marc-André Lureau <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 139fbddfd92a280b2eb5fd1b3fc2761e720df7b4
https://github.com/qemu/qemu/commit/139fbddfd92a280b2eb5fd1b3fc2761e720df7b4
Author: Richard Henderson <[email protected]>
Date: 2025-11-05 (Wed, 05 Nov 2025)
Changed paths:
M qapi/migration.json
Log Message:
-----------
qapi/migration: Rewrap to 70 columns
Avoid
In file included from ../publish/qapi/qapi-schema.json:53:
.../qapi/migration.json:1750:1: documentation line longer than 70 characters
Fixes: ae00f0088ff ("migration/qmp: Update "resume" flag doc in "migrate"
command")
Signed-off-by: Richard Henderson <[email protected]>
Commit: f66930da449e5c3222afcd1709532db74336d091
https://github.com/qemu/qemu/commit/f66930da449e5c3222afcd1709532db74336d091
Author: Richard Henderson <[email protected]>
Date: 2025-11-05 (Wed, 05 Nov 2025)
Changed paths:
M hw/hppa/hppa_hardware.h
M hw/hppa/machine.c
M hw/net/i82596.c
M hw/net/i82596.h
M hw/net/lasi_i82596.c
M hw/net/trace-events
M include/hw/net/lasi_82596.h
Log Message:
-----------
Merge tag 'i82596-fixes-pull-request' of https://github.com/hdeller/qemu-hppa
into staging
LASI i82596 network driver fixes
As part of the Google Summer of Code 2025 program "Implementing LASI Network
Card and NCR 710 SCSI Controller Device Models" Soumyajyotii Ssarkar fixed
various bugs and enhanced the existing Qemu i82596 network card implementation.
Specifically he added or fixed the following functionality:
- Monitor Mode
- Promiscuous Mode
- Support for linear mode, segmented mode, and flexible memory models
- RX Timer
- Bus Throttle Timers
- Support for Little Endian mode
- Accurate CU and RU transition State
- HP-UX Specific Behavior Support
- Support for Loopback mode
- Self test
- Statistical counters
- VMstate descriptors
- Polling mechanism
- Transmit and Receive functions
# -----BEGIN PGP SIGNATURE-----
#
# iHUEABYKAB0WIQS86RI+GtKfB8BJu973ErUQojoPXwUCaQoaFAAKCRD3ErUQojoP
# X/JLAP4mXjeN9G2F8xXEnCKDPoGFc16eQ/VjZJgh650KEHAO+gD/ZzSEeeoHGpp+
# Kg0/FrKY4u1TpZCq9RYKWjoDTjrzSAc=
# =26cF
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 04 Nov 2025 04:21:56 PM CET
# gpg: using EDDSA key BCE9123E1AD29F07C049BBDEF712B510A23A0F5F
# gpg: Good signature from "Helge Deller <[email protected]>" [unknown]
# gpg: aka "Helge Deller <[email protected]>" [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: 4544 8228 2CD9 10DB EF3D 25F8 3E5F 3D04 A7A2 4603
# Subkey fingerprint: BCE9 123E 1AD2 9F07 C049 BBDE F712 B510 A23A 0F5F
* tag 'i82596-fixes-pull-request' of https://github.com/hdeller/qemu-hppa:
i82596: Implement enhanced TX/RX with packet queuing and filtering
i82596: Added core infrastructure and helper functions
hw/hppa: Enable LASI i82596 network on 715 machine
Signed-off-by: Richard Henderson <[email protected]>
Commit: deed5c8e9380509862d2996909b4406ee9dea186
https://github.com/qemu/qemu/commit/deed5c8e9380509862d2996909b4406ee9dea186
Author: Richard Henderson <[email protected]>
Date: 2025-11-05 (Wed, 05 Nov 2025)
Changed paths:
M docs/system/device-emulation.rst
A docs/system/devices/emmc.rst
M hw/audio/ac97.c
M hw/i386/microvm-dt.c
M hw/sd/sd.c
M hw/sd/sdmmc-internal.h
M hw/sd/trace-events
M include/hw/i386/microvm.h
A scripts/mkemmc.sh
Log Message:
-----------
Merge tag 'hw-misc-20251104' of https://github.com/philmd/qemu into staging
Misc HW patches
- Add RPMB emulation to eMMC model
- Use generic MachineState::fdt field in microvm machine
- Remove dead code in ac97_realize()
# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmkLEUMACgkQ4+MsLN6t
# wN4yURAAuiQPYC6rcPbjCI1RZ5iPyrajH1iKW6HSV6nMWHap1vjL8hUnrfDu1GRH
# uCyf8ExMkPWemNJW1WcxMN19Gie/J42PfKv7ggHTVoEQwg70DLmKBUcFBbsPfLy7
# 7NJ9qNnyZANNgBlvywZRPxs3v+3WEgqa6NEjpWqS5ivIEQjW4bxGa6yJ6LmJq1UY
# YpdSuK/9tsdPcDnc0b95cEBOZa7y8tjr8gtxCAraPwY+elaM9EYDwB8Mrg84RWiN
# zeeiCt1PL/Hc9qRiZral2MsWGtfefeOPGCir0jawaYl7UfbLi/0EXvpHJbMTl626
# MjilMlUi23aUbn1cuxygA1NV3sy+yRpZtxrpfJTOhoo7WZUBnn0atcH6GKMH2AM0
# S/thR6c1ArUck8d8ABUBESskmZpZQFPGXLcW+XCi8SOP/HwmtT/0L+OlexQPLAep
# nqu/T/yXer2C4sUHB2iwK7DrF7Dl2bzhdRZhyTEtIYuT4dC0FDVv9bwdgna/xWj3
# Re0HPT5J9o0tzQ2QaGMwPkjepf+LH1z3ntXhgJstr0D5G2wJ8+g1ZlPFKgrvBsCj
# C/YWZ3og31THAIb12exxaF4mHUF4fBrerQHg4E93MPhz1403D+sqJDxOUaC/PRJB
# OWwBCkWsWE8tjLie+1igNWKKB0N4ZTNKTGu0yxXFbcocu9LO6r0=
# =X6wb
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 05 Nov 2025 09:56:35 AM CET
# gpg: using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <[email protected]>"
[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-20251104' of https://github.com/philmd/qemu:
hw/audio: Remove dead code from ac97_realize
hw/i386/microvm: Use fdt field from MachineState
docs: Add eMMC device model description
scripts: Add helper script to generate eMMC block device images
hw/sd/sdcard: Handle RPMB MAC field
hw/sd/sdcard: Add basic support for RPMB partition
hw/sd/sdcard: Allow user creation of eMMCs
hw/sd/sdcard: Fix size check for backing block image
Signed-off-by: Richard Henderson <[email protected]>
Compare: https://github.com/qemu/qemu/compare/d752763d0b93...deed5c8e9380
To unsubscribe from these emails, change your notification settings at
https://github.com/qemu/qemu/settings/notifications