[PULL 0/8] Misc HW patches for 2025-11-04

Philippe Mathieu-Daudé posted 8 patches 1 week, 4 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251104174823.92412-1-philmd@linaro.org
Maintainers: Gerd Hoffmann <kraxel@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Eduardo Habkost <eduardo@habkost.net>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Bin Meng <bmeng.cn@gmail.com>, Sergio Lopez <slp@redhat.com>
docs/system/device-emulation.rst |   1 +
docs/system/devices/emmc.rst     |  55 +++++
hw/sd/sdmmc-internal.h           |  22 ++
include/hw/i386/microvm.h        |   2 -
hw/audio/ac97.c                  |  19 --
hw/i386/microvm-dt.c             |  96 ++++----
hw/sd/sd.c                       | 368 ++++++++++++++++++++++++++++---
hw/sd/trace-events               |   2 +
scripts/mkemmc.sh                | 216 ++++++++++++++++++
9 files changed, 686 insertions(+), 95 deletions(-)
create mode 100644 docs/system/devices/emmc.rst
create mode 100755 scripts/mkemmc.sh
[PULL 0/8] Misc HW patches for 2025-11-04
Posted by Philippe Mathieu-Daudé 1 week, 4 days ago
The following changes since commit e9c692eabbbb7f395347605a6ef33a32d398ea25:

  Merge tag 'next-pr-pull-request' of https://gitlab.com/berrange/qemu into staging (2025-11-04 15:17:31 +0100)

are available in the Git repository at:

  https://github.com/philmd/qemu.git tags/hw-misc-20251104

for you to fetch changes up to f79fec0275ee7a5151ced9b893c4af676c7f5db6:

  hw/audio: Remove dead code from ac97_realize (2025-11-04 18:19:16 +0100)

----------------------------------------------------------------
Misc HW patches

- Add RPMB emulation to eMMC model :)
- Use generic MachineState::fdt field in microvm machine
- Remove dead code in ac97_realize()
----------------------------------------------------------------

Jan Kiszka (5):
  hw/sd/sdcard: Fix size check for backing block image
  hw/sd/sdcard: Add basic support for RPMB partition
  hw/sd/sdcard: Handle RPMB MAC field
  scripts: Add helper script to generate eMMC block device images
  docs: Add eMMC device model description

Jan Luebbe (1):
  hw/sd/sdcard: Allow user creation of eMMCs

Luigi Leonardi (1):
  hw/i386/microvm: Use fdt field from MachineState

Osama Abdelkader (1):
  hw/audio: Remove dead code from ac97_realize

 docs/system/device-emulation.rst |   1 +
 docs/system/devices/emmc.rst     |  55 +++++
 hw/sd/sdmmc-internal.h           |  22 ++
 include/hw/i386/microvm.h        |   2 -
 hw/audio/ac97.c                  |  19 --
 hw/i386/microvm-dt.c             |  96 ++++----
 hw/sd/sd.c                       | 368 ++++++++++++++++++++++++++++---
 hw/sd/trace-events               |   2 +
 scripts/mkemmc.sh                | 216 ++++++++++++++++++
 9 files changed, 686 insertions(+), 95 deletions(-)
 create mode 100644 docs/system/devices/emmc.rst
 create mode 100755 scripts/mkemmc.sh

-- 
2.51.0
Re: [PULL 0/8] Misc HW patches for 2025-11-04
Posted by Philippe Mathieu-Daudé 1 week, 3 days ago
Hi,

On 4/11/25 18:48, Philippe Mathieu-Daudé wrote:
> The following changes since commit e9c692eabbbb7f395347605a6ef33a32d398ea25:
> 
>    Merge tag 'next-pr-pull-request' of https://gitlab.com/berrange/qemu into staging (2025-11-04 15:17:31 +0100)
> 
> are available in the Git repository at:
> 
>    https://github.com/philmd/qemu.git tags/hw-misc-20251104
> 
> for you to fetch changes up to f79fec0275ee7a5151ced9b893c4af676c7f5db6:

I missed Cédric Le Goater provided his Tested-by tag via IRC, so
amended to the relevant commits and regenerated the tag (no other
change). New tag hash is 1eb18789f8863e7ee89c1dc06b2de806442b4927.

Note I also ignore this checkpatch error:

ERROR: line over 90 characters
#242: FILE: scripts/mkemmc.sh:216:
+echo "  -device 
emmc,boot-partition-size=$bootsz,rpmb-partition-size=$rpmbsz,drive=emmc-img"

> ----------------------------------------------------------------
> Misc HW patches
> 
> - Add RPMB emulation to eMMC model :)
> - Use generic MachineState::fdt field in microvm machine
> - Remove dead code in ac97_realize()
> ----------------------------------------------------------------
Regards,

Phil.

Re: [PULL 0/8] Misc HW patches for 2025-11-04
Posted by Richard Henderson 1 week, 3 days ago
On 11/5/25 10:00, Philippe Mathieu-Daudé wrote:
> Hi,
> 
> On 4/11/25 18:48, Philippe Mathieu-Daudé wrote:
>> The following changes since commit e9c692eabbbb7f395347605a6ef33a32d398ea25:
>>
>>    Merge tag 'next-pr-pull-request' of https://gitlab.com/berrange/qemu into staging 
>> (2025-11-04 15:17:31 +0100)
>>
>> are available in the Git repository at:
>>
>>    https://github.com/philmd/qemu.git tags/hw-misc-20251104
>>
>> for you to fetch changes up to f79fec0275ee7a5151ced9b893c4af676c7f5db6:
> 
> I missed Cédric Le Goater provided his Tested-by tag via IRC, so
> amended to the relevant commits and regenerated the tag (no other
> change). New tag hash is 1eb18789f8863e7ee89c1dc06b2de806442b4927.
> 
> Note I also ignore this checkpatch error:
> 
> ERROR: line over 90 characters
> #242: FILE: scripts/mkemmc.sh:216:
> +echo "  -device emmc,boot-partition-size=$bootsz,rpmb-partition-size=$rpmbsz,drive=emmc-img"
> 
>> ----------------------------------------------------------------
>> Misc HW patches
>>
>> - Add RPMB emulation to eMMC model :)
>> - Use generic MachineState::fdt field in microvm machine
>> - Remove dead code in ac97_realize()
>> ----------------------------------------------------------------
> Regards,
> 
> Phil.


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

r~