[PULL 00/41] Misc HW patches for 2026-05-12

Philippe Mathieu-Daudé posted 41 patches 2 weeks, 4 days ago
Failed in applying to current master (apply log)
Maintainers: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Zhao Liu <zhao1.liu@intel.com>, Gerd Hoffmann <kraxel@redhat.com>, Glenn Miles <milesg@linux.ibm.com>, Joel Stanley <joel@jms.id.au>, Peter Maydell <peter.maydell@linaro.org>, "Michael S. Tsirkin" <mst@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Bin Meng <bmeng.cn@gmail.com>, Max Filippov <jcmvbkbc@gmail.com>, Dmitry Fleytman <dmitry.fleytman@gmail.com>, Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>, Jason Wang <jasowang@redhat.com>, "Dr. David Alan Gilbert" <dave@treblig.org>, Stefano Garzarella <sgarzare@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, Alexandre Iooss <erdnaxe@crans.org>, Peter Xu <peterx@redhat.com>, Michael Rolnik <mrolnik@gmail.com>, Helge Deller <deller@gmx.de>, Pedro Barbuda <pbarbuda@microsoft.com>, Mohamed Mediouni <mohamed@unpredictable.fr>, Song Gao <gaosong@loongson.cn>, Laurent Vivier <laurent@vivier.eu>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Aurelien Jarno <aurelien@aurel32.net>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Aleksandar Rikalo <arikalo@gmail.com>, Huacai Chen <chenhuacai@kernel.org>, Stafford Horne <shorne@gmail.com>, Nicholas Piggin <npiggin@gmail.com>, Chinmay Rath <rathc@linux.ibm.com>, Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <alistair.francis@wdc.com>, Weiwei Li <liwei1518@gmail.com>, Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com>, Liu Zhiwei <zhiwei_liu@linux.alibaba.com>, Chao Liu <chao.liu.zevorn@gmail.com>, Yoshinori Sato <yoshinori.sato@nifty.com>, Cornelia Huck <cohuck@redhat.com>, Eric Farman <farman@linux.ibm.com>, Matthew Rosato <mjrosato@linux.ibm.com>, Ilya Leoshkevich <iii@linux.ibm.com>, David Hildenbrand <david@kernel.org>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Artyom Tarasenko <atar4qemu@gmail.com>
There is a newer version of this series
MAINTAINERS                      |  13 +++-
docs/system/devices/emmc.rst     |  23 ++++++
hw/display/cirrus_vga_rop2.h     |  52 +++++++++++--
include/hw/core/cpu.h            |  40 +++++-----
include/hw/core/sysemu-cpu-ops.h |  39 ++++++++--
include/hw/sd/sd.h               |  22 ++++--
include/net/eth.h                |   2 +-
target/alpha/cpu.h               |   2 +-
target/arm/cpu.h                 |   3 -
target/arm/internals.h           |   4 +
target/avr/cpu.h                 |   2 +-
target/hppa/cpu.h                |   2 +-
target/i386/cpu.h                |   2 +-
target/loongarch/cpu-mmu.h       |   2 +-
target/m68k/cpu.h                |   2 +-
target/microblaze/cpu.h          |   2 +-
target/mips/internal.h           |   2 +-
target/or1k/cpu.h                |   2 +-
target/ppc/cpu.h                 |   2 +-
target/riscv/cpu.h               |   2 +-
target/rx/cpu.h                  |   2 +-
target/s390x/s390x-internal.h    |   1 -
target/sh4/cpu.h                 |   2 +-
target/sparc/cpu.h               |   2 +-
target/tricore/cpu.h             |   2 +-
target/xtensa/cpu.h              |   2 +-
hw/core/cpu-system.c             |  47 +++++++-----
hw/display/ati_2d.c              |  24 ++++--
hw/gpio/pca9552.c                |   2 +-
hw/i2c/microbit_i2c.c            |   7 +-
hw/i386/vapic.c                  |  13 ++--
hw/sd/core.c                     |  53 ++++++++++---
hw/sd/sd.c                       | 125 +++++++++++++++++++++++--------
hw/xtensa/sim.c                  |   6 +-
hw/xtensa/xtfpga.c               |   6 +-
monitor/hmp-cmds.c               |   8 +-
net/vhost-vdpa.c                 |   5 +-
plugins/api.c                    |   8 +-
system/physmem.c                 |  38 ++++++----
target/alpha/cpu.c               |   2 +-
target/alpha/helper.c            |   3 +-
target/arm/cpu.c                 |   2 +-
target/arm/ptw.c                 |  39 ++++++----
target/avr/cpu.c                 |   2 +-
target/avr/helper.c              |   2 +-
target/hppa/cpu.c                |   2 +-
target/hppa/mem_helper.c         |   2 +-
target/i386/cpu.c                |   2 +-
target/i386/helper.c             |   4 +-
target/i386/whpx/whpx-all.c      |   2 +-
target/loongarch/cpu.c           |   2 +-
target/loongarch/cpu_helper.c    |   2 +-
target/m68k/cpu.c                |   2 +-
target/m68k/helper.c             |   2 +-
target/microblaze/cpu.c          |   2 +-
target/microblaze/helper.c       |  11 ++-
target/mips/cpu.c                |   2 +-
target/mips/system/physaddr.c    |   2 +-
target/or1k/cpu.c                |   2 +-
target/or1k/mmu.c                |   2 +-
target/ppc/cpu_init.c            |   2 +-
target/ppc/mmu-hash32.c          |   2 +-
target/ppc/mmu_common.c          |   4 +-
target/riscv/cpu.c               |   2 +-
target/riscv/cpu_helper.c        |   4 +-
target/rx/cpu.c                  |   2 +-
target/rx/helper.c               |   2 +-
target/s390x/cpu-system.c        |   2 +-
target/s390x/helper.c            |  20 ++---
target/sh4/cpu.c                 |   2 +-
target/sh4/helper.c              |   2 +-
target/sparc/cpu.c               |   2 +-
target/sparc/mmu_helper.c        |  23 ++++--
target/tricore/cpu.c             |   2 +-
target/tricore/helper.c          |   2 +-
target/xtensa/cpu.c              |   2 +-
target/xtensa/mmu_helper.c       |   2 +-
target/xtensa/xtensa-semi.c      |   9 ++-
hw/sd/trace-events               |   6 +-
scripts/get_maintainer.pl        |   1 +
scripts/mkemmc.sh                |   4 +-
81 files changed, 508 insertions(+), 253 deletions(-)
[PULL 00/41] Misc HW patches for 2026-05-12
Posted by Philippe Mathieu-Daudé 2 weeks, 4 days ago
The following changes since commit 5e61afe211e82a9af15a8794a0bd29bb574e953b:

  Merge tag 'ui-pull-request' of https://gitlab.com/marcandre.lureau/qemu into staging (2026-05-11 10:49:53 -0400)

are available in the Git repository at:

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

for you to fetch changes up to 275c8a594165a5c32bdc1a7aadcca626a64c4e9e:

  scripts: strip leading './' when searching MAINTAINERS file (2026-05-12 08:15:03 +0200)

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

- More ATI VGA fixes
- Add support for pre-setting RPMB authentication key on eMMC cards
- Fix VDPA on big-endian hosts
- Handle sub-page granularity in cpu_memory_rw_debug()
- Fix leak in pca955x_set_led()
- Mark IPv6 header structure as packed
- MAINTAINERS updates
----------------------------------------------------------------

Chad Jablonski (1):
  ati-vga: fix ati_set_dirty address calculation

Christian Speich (3):
  hw/sd: Switch read/write primitive to buf+len
  hw/sd/sd: Allow multi-byte read/write for generic paths
  hw/sd: Update trace events for buf+len data

Daniel P. Berrangé (1):
  scripts: strip leading './' when searching MAINTAINERS file

Jan Kiszka (2):
  scripts: mkemmc.sh: Fix output pollution on missing images
  hw/sd/sdcard: Add support for pre-setting the authentication key

Konstantin Shkolnyy (1):
  vdpa: Allow VDPA to work on big-endian machine

Magnus Kulke (1):
  MAINTAINERS: Add Doru Blânzeanu as MSHV reviewer

Marc-André Lureau (1):
  hw/gpio/pca9552: fix state_str leak in pca955x_set_led

Mauro Carvalho Chehab (1):
  MAINTAINERS: update HEST maintainership entries

Peter Maydell (29):
  hw/display/cirrus_vga: Fix packed-24 color-expansion transparent
    pattern fills
  hw/display/cirrus_vga: Fix packed-24 color-expansion transparent
    copies
  hw/i386/vapic: Cope with non-page-aligned return from
    cpu_get_phys_page_debug()
  target/riscv: Make get_phys_page_debug handle non-page-aligned addrs
  target/alpha: Make get_phys_page_debug handle non-page-aligned addrs
  target/microblaze: Make get_phys_page_attrs_debug handle
    non-page-aligned addrs
  target/sparc: Make get_phys_page_debug handle non-page-aligned addrs
  target/x86: Make get_phys_page_attrs_debug handle non-page-aligned
    addrs
  target/s390x: Make get_phys_page_debug handle non-page-aligned addrs
  target/ppc: Make get_phys_page_debug handle non-page-aligned addrs
  target: Rename get_phys_page_debug to get_phys_addr_debug
  target: Rename cpu_get_phys_page_{,attrs_}debug
  hw/core: Update docs for get_phys_addr_{attrs_, }debug
  target/arm: Rename arm_cpu_get_phys_page()
  monitor: hmp_gva2gpa: Don't page-align cpu_get_phys_addr_debug() arg
    and return
  plugins/api.c: Trust cpu_get_phys_addr_debug() return address
  hw/core: Implement new cpu_translate_for_debug()
  hw/core: Implement cpu_get_phys_addr_attrs_debug() with
    cpu_translate_for_debug()
  target/arm: Implement translate_for_debug
  system/physmem: Use translate_for_debug() in cpu_memory_rw_debug()
  hw/i386/vapic.c: Use cpu_translate_for_debug()
  target/sparc: Use cpu_translate_for_debug()
  hw/xtensa: Use cpu_translate_for_debug()
  target/xtensa/xtensa-semi: Use cpu_translate_for_debug()
  monitor/hmp-cmds: Use cpu_translate_for_debug()
  plugins/api.c: Use cpu_translate_for_debug()
  Remove cpu_get_phys_addr_debug() and cpu_get_phys_addr_attrs_debug()
  hw/i2c/microbit_i2c: Don't index off end of twi_read_sequence[]
  net: mark struct ip6_header as QEMU_PACKED

Philippe Mathieu-Daudé (1):
  MAINTAINERS: Step up to maintain core machine code

 MAINTAINERS                      |  13 +++-
 docs/system/devices/emmc.rst     |  23 ++++++
 hw/display/cirrus_vga_rop2.h     |  52 +++++++++++--
 include/hw/core/cpu.h            |  40 +++++-----
 include/hw/core/sysemu-cpu-ops.h |  39 ++++++++--
 include/hw/sd/sd.h               |  22 ++++--
 include/net/eth.h                |   2 +-
 target/alpha/cpu.h               |   2 +-
 target/arm/cpu.h                 |   3 -
 target/arm/internals.h           |   4 +
 target/avr/cpu.h                 |   2 +-
 target/hppa/cpu.h                |   2 +-
 target/i386/cpu.h                |   2 +-
 target/loongarch/cpu-mmu.h       |   2 +-
 target/m68k/cpu.h                |   2 +-
 target/microblaze/cpu.h          |   2 +-
 target/mips/internal.h           |   2 +-
 target/or1k/cpu.h                |   2 +-
 target/ppc/cpu.h                 |   2 +-
 target/riscv/cpu.h               |   2 +-
 target/rx/cpu.h                  |   2 +-
 target/s390x/s390x-internal.h    |   1 -
 target/sh4/cpu.h                 |   2 +-
 target/sparc/cpu.h               |   2 +-
 target/tricore/cpu.h             |   2 +-
 target/xtensa/cpu.h              |   2 +-
 hw/core/cpu-system.c             |  47 +++++++-----
 hw/display/ati_2d.c              |  24 ++++--
 hw/gpio/pca9552.c                |   2 +-
 hw/i2c/microbit_i2c.c            |   7 +-
 hw/i386/vapic.c                  |  13 ++--
 hw/sd/core.c                     |  53 ++++++++++---
 hw/sd/sd.c                       | 125 +++++++++++++++++++++++--------
 hw/xtensa/sim.c                  |   6 +-
 hw/xtensa/xtfpga.c               |   6 +-
 monitor/hmp-cmds.c               |   8 +-
 net/vhost-vdpa.c                 |   5 +-
 plugins/api.c                    |   8 +-
 system/physmem.c                 |  38 ++++++----
 target/alpha/cpu.c               |   2 +-
 target/alpha/helper.c            |   3 +-
 target/arm/cpu.c                 |   2 +-
 target/arm/ptw.c                 |  39 ++++++----
 target/avr/cpu.c                 |   2 +-
 target/avr/helper.c              |   2 +-
 target/hppa/cpu.c                |   2 +-
 target/hppa/mem_helper.c         |   2 +-
 target/i386/cpu.c                |   2 +-
 target/i386/helper.c             |   4 +-
 target/i386/whpx/whpx-all.c      |   2 +-
 target/loongarch/cpu.c           |   2 +-
 target/loongarch/cpu_helper.c    |   2 +-
 target/m68k/cpu.c                |   2 +-
 target/m68k/helper.c             |   2 +-
 target/microblaze/cpu.c          |   2 +-
 target/microblaze/helper.c       |  11 ++-
 target/mips/cpu.c                |   2 +-
 target/mips/system/physaddr.c    |   2 +-
 target/or1k/cpu.c                |   2 +-
 target/or1k/mmu.c                |   2 +-
 target/ppc/cpu_init.c            |   2 +-
 target/ppc/mmu-hash32.c          |   2 +-
 target/ppc/mmu_common.c          |   4 +-
 target/riscv/cpu.c               |   2 +-
 target/riscv/cpu_helper.c        |   4 +-
 target/rx/cpu.c                  |   2 +-
 target/rx/helper.c               |   2 +-
 target/s390x/cpu-system.c        |   2 +-
 target/s390x/helper.c            |  20 ++---
 target/sh4/cpu.c                 |   2 +-
 target/sh4/helper.c              |   2 +-
 target/sparc/cpu.c               |   2 +-
 target/sparc/mmu_helper.c        |  23 ++++--
 target/tricore/cpu.c             |   2 +-
 target/tricore/helper.c          |   2 +-
 target/xtensa/cpu.c              |   2 +-
 target/xtensa/mmu_helper.c       |   2 +-
 target/xtensa/xtensa-semi.c      |   9 ++-
 hw/sd/trace-events               |   6 +-
 scripts/get_maintainer.pl        |   1 +
 scripts/mkemmc.sh                |   4 +-
 81 files changed, 508 insertions(+), 253 deletions(-)

-- 
2.53.0


Re: [PULL 00/41] Misc HW patches for 2026-05-12
Posted by Philippe Mathieu-Daudé 2 weeks, 3 days ago
On 12/5/26 08:21, Philippe Mathieu-Daudé wrote:

> ----------------------------------------------------------------
> Misc HW patches
> 
> - More ATI VGA fixes
> - Add support for pre-setting RPMB authentication key on eMMC cards
> - Fix VDPA on big-endian hosts
> - Handle sub-page granularity in cpu_memory_rw_debug()
> - Fix leak in pca955x_set_led()
> - Mark IPv6 header structure as packed
> - MAINTAINERS updates
> ----------------------------------------------------------------

> Christian Speich (3):
>    hw/sd/sd: Allow multi-byte read/write for generic paths

There is a problem with this patch, a test is timeouting...