Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 2053f311f7761b6eb414f1860ef3064fa06b8d24
      
https://github.com/qemu/qemu/commit/2053f311f7761b6eb414f1860ef3064fa06b8d24
  Author: Mohamed Mediouni <[email protected]>
  Date:   2025-11-14 (Fri, 14 Nov 2025)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: update maintainers for WHPX

>From Pedro Barbuda (on Teams):

> we meant to have that switched a while back. you can add me as the 
> maintainer. Pedro Barbuda ([email protected])

Signed-off-by: Mohamed Mediouni <[email protected]>
Message-id: [email protected]
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>


  Commit: 18cf3898e3f59116bd179b2f74fad377d57e7f25
      
https://github.com/qemu/qemu/commit/18cf3898e3f59116bd179b2f74fad377d57e7f25
  Author: Richard Henderson <[email protected]>
  Date:   2025-11-14 (Fri, 14 Nov 2025)

  Changed paths:
    M target/arm/tcg/translate.c

  Log Message:
  -----------
  target/arm: Fix accidental write to TCG constant

Currently an unpredictable movw such as

  movw pc, 0x123

results in the tinycode

   and_i32 $0x123,$0x123,$0xfffffffc
   mov_i32 pc,$0x123
   exit_tb $0x0

which is clearly a bug: writing to a constant is incorrect and
discards the result of the mask.  Fix this by always doing an and_i32
and trusting the optimizer to turn this into a simple move when the
mask is zero.

Signed-off-by: Anton Johansson <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Tested-by: Gustavo Romero <[email protected]>
Reviewed-by: <[email protected]>
Message-id: [email protected]
[rth: Avoid an extra temp and extra move.]
Signed-off-by: Richard Henderson <[email protected]>
[PMM: commit message tweak]
Signed-off-by: Peter Maydell <[email protected]>


  Commit: 00de647c0ab69e92cf333d7d061782103b1fd794
      
https://github.com/qemu/qemu/commit/00de647c0ab69e92cf333d7d061782103b1fd794
  Author: Osama Abdelkader <[email protected]>
  Date:   2025-11-14 (Fri, 14 Nov 2025)

  Changed paths:
    M target/arm/cpu64.c

  Log Message:
  -----------
  target/arm/cpu64: remove duplicate include

cpregs.h is included twice.

Signed-off-by: Osama Abdelkader <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Reviewed-by: Gavin Shan <[email protected]>
Message-id: [email protected]
Signed-off-by: Peter Maydell <[email protected]>


  Commit: f52db7f34242d3398bab0bacaa3e5dde99be5258
      
https://github.com/qemu/qemu/commit/f52db7f34242d3398bab0bacaa3e5dde99be5258
  Author: Peter Maydell <[email protected]>
  Date:   2025-11-14 (Fri, 14 Nov 2025)

  Changed paths:
    M hw/display/xlnx_dp.c

  Log Message:
  -----------
  hw/display/xlnx_dp.c: Don't abort on AUX FIFO overrun/underrun

The documentation of the Xilinx DisplayPort subsystem at
https://www.xilinx.com/support/documents/ip_documentation/v_dp_txss1/v3_1/pg299-v-dp-txss1.pdf
doesn't say what happens if a guest tries to issue an AUX write
command with a length greater than the amount of data in the AUX
write FIFO, or tries to write more data to the write FIFO than it can
hold, or issues multiple commands that put data into the AUX read
FIFO without reading it such that it overflows.

Currently QEMU will abort() in these guest-error situations, either
in xlnx_dp.c itself or in the fifo8 code.  Make these cases all be
logged as guest errors instead.  We choose to ignore the new data on
overflow, and return 0 on underflow. This is in line with how we handled
the "read from empty RX FIFO" case in commit a09ef5040477.

Cc: [email protected]
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1418
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1419
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1424
Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Edgar E. Iglesias <[email protected]>
Message-id: [email protected]


  Commit: 032333eba77b83dfbd74071cc2971f0bda9a3d4f
      
https://github.com/qemu/qemu/commit/032333eba77b83dfbd74071cc2971f0bda9a3d4f
  Author: Peter Maydell <[email protected]>
  Date:   2025-11-14 (Fri, 14 Nov 2025)

  Changed paths:
    M hw/display/xlnx_dp.c

  Log Message:
  -----------
  hw/display/xlnx_dp: Don't abort for unsupported graphics formats

If the guest writes an invalid or unsupported value to the
AV_BUF_FORMAT register, currently we abort().  Instead, log this as
either a guest error or an unimplemented error and continue.

The existing code treats DP_NL_VID_CB_Y0_CR_Y1 as x8b8g8r8
via a "case 0" that does not use the enum constant name for some
reason; we leave that alone beyond adding a comment about the
weird code.

Documentation of this register seems to be at:
https://docs.amd.com/r/en-US/ug1087-zynq-ultrascale-registers/AV_BUF_FORMAT-DISPLAY_PORT-Register

Cc: [email protected]
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1415
Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Edgar E. Iglesias <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: [email protected]


  Commit: 2a2527c8158b77bf767f5672998d2efc90d83c27
      
https://github.com/qemu/qemu/commit/2a2527c8158b77bf767f5672998d2efc90d83c27
  Author: Peter Maydell <[email protected]>
  Date:   2025-11-14 (Fri, 14 Nov 2025)

  Changed paths:
    M hw/cxl/cxl-mailbox-utils.c
    M hw/mem/cxl_type3.c

  Log Message:
  -----------
  cxl: Clean up includes

This commit was created with scripts/clean-includes:
 ./scripts/clean-includes --git cxl hw/cxl hw/mem

All .c should include qemu/osdep.h first.  The script performs three
related cleanups:

* Ensure .c files include qemu/osdep.h first.
* Including it in a .h is redundant, since the .c  already includes
  it.  Drop such inclusions.
* Likewise, including headers qemu/osdep.h includes is redundant.
  Drop these, too.

Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Acked-by: Jonathan Cameron <[email protected]>
Message-id: [email protected]


  Commit: b1f4f4695c96bb8e20a00e82d1868b5b018002bc
      
https://github.com/qemu/qemu/commit/b1f4f4695c96bb8e20a00e82d1868b5b018002bc
  Author: Peter Maydell <[email protected]>
  Date:   2025-11-14 (Fri, 14 Nov 2025)

  Changed paths:
    M hw/vfio-user/container.c
    M hw/vfio-user/container.h
    M hw/vfio-user/device.h
    M hw/vfio-user/pci.c
    M hw/vfio/ap.c
    M hw/vfio/container.c
    M hw/vfio/cpr-legacy.c
    M hw/vfio/pci-quirks.h

  Log Message:
  -----------
  vfio: Clean up includes

This commit was created with scripts/clean-includes:
 ./scripts/clean-includes --git vfio hw/vfio hw/vfio-user

All .c should include qemu/osdep.h first.  The script performs three
related cleanups:

* Ensure .c files include qemu/osdep.h first.
* Including it in a .h is redundant, since the .c  already includes
  it.  Drop such inclusions.
* Likewise, including headers qemu/osdep.h includes is redundant.
  Drop these, too.

Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: [email protected]


  Commit: 168558ed7b4eb215e58d1dd6dea12b53114738ff
      
https://github.com/qemu/qemu/commit/168558ed7b4eb215e58d1dd6dea12b53114738ff
  Author: Peter Maydell <[email protected]>
  Date:   2025-11-14 (Fri, 14 Nov 2025)

  Changed paths:
    M tests/qtest/aspeed-hace-utils.h
    M tests/qtest/aspeed-smc-utils.h
    M tests/qtest/aspeed_gpio-test.c
    M tests/qtest/dbus-display-test.c
    M tests/qtest/pnv-spi-seeprom-test.c
    M tests/unit/test-cutils.c
    M tests/unit/test-error-report.c
    M tests/unit/test-io-channel-command.c

  Log Message:
  -----------
  tests: Clean up includes

This commit was created with scripts/clean-includes:
 ./scripts/clean-includes --git tests tests

with one hand-edit to remove a now-empty #ifndef WIN32...#endif
from tests/qtest/dbus-display-test.c .

All .c should include qemu/osdep.h first.  The script performs three
related cleanups:

* Ensure .c files include qemu/osdep.h first.
* Including it in a .h is redundant, since the .c  already includes
  it.  Drop such inclusions.
* Likewise, including headers qemu/osdep.h includes is redundant.
  Drop these, too.

Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Message-id: [email protected]


  Commit: 5fc50b4ec841c8a01e7346c2c804088fc3accb6b
      
https://github.com/qemu/qemu/commit/5fc50b4ec841c8a01e7346c2c804088fc3accb6b
  Author: Peter Maydell <[email protected]>
  Date:   2025-11-14 (Fri, 14 Nov 2025)

  Changed paths:
    M hw/misc/npcm_clk.c

  Log Message:
  -----------
  hw/misc/npcm_clk: Don't divide by zero when calculating frequency

If the guest misprograms the PLL registers to request a zero
divisor, we currently fall over with a division by zero:

../../hw/misc/npcm_clk.c:221:14: runtime error: division by zero
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior 
../../hw/misc/npcm_clk.c:221:14

Thread 1 "qemu-system-aar" received signal SIGFPE, Arithmetic exception.
0x00005555584d8f6d in npcm7xx_clk_update_pll (opaque=0x7fffed159a20) at 
../../hw/misc/npcm_clk.c:221
221             freq /= PLLCON_INDV(con) * PLLCON_OTDV1(con) * 
PLLCON_OTDV2(con);

Avoid this by treating this invalid setting like a stopped clock
(setting freq to 0).

Cc: [email protected]
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/549
Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: [email protected]


  Commit: 522444744eb79dd01e377ad2ed15544f10bcc70c
      
https://github.com/qemu/qemu/commit/522444744eb79dd01e377ad2ed15544f10bcc70c
  Author: Peter Maydell <[email protected]>
  Date:   2025-11-14 (Fri, 14 Nov 2025)

  Changed paths:
    M hw/audio/lm4549.c

  Log Message:
  -----------
  hw/audio/lm4549: Don't try to open a zero-frequency audio voice

If the guest incorrectly programs the lm4549 audio chip with a zero
frequency, we will pass this to AUD_open_out(), which will complain:

   A bug was just triggered in AUD_open_out
   Save all your work and restart without audio
   I am sorry
   Context:
   audio: frequency=0 nchannels=2 fmt=S16 endianness=little

The datasheet doesn't say what we should do here, only that the valid
range for the freqency is 4000 to 48000 Hz; we choose to log the
guest error and ignore an attempt to change the DAC rate to something
outside the valid range.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/410
Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: [email protected]


  Commit: e88510fcdc13380bd4895a17d6f8a0b3a3325b85
      
https://github.com/qemu/qemu/commit/e88510fcdc13380bd4895a17d6f8a0b3a3325b85
  Author: Richard Henderson <[email protected]>
  Date:   2025-11-14 (Fri, 14 Nov 2025)

  Changed paths:
    M MAINTAINERS
    M hw/audio/lm4549.c
    M hw/cxl/cxl-mailbox-utils.c
    M hw/display/xlnx_dp.c
    M hw/mem/cxl_type3.c
    M hw/misc/npcm_clk.c
    M hw/vfio-user/container.c
    M hw/vfio-user/container.h
    M hw/vfio-user/device.h
    M hw/vfio-user/pci.c
    M hw/vfio/ap.c
    M hw/vfio/container.c
    M hw/vfio/cpr-legacy.c
    M hw/vfio/pci-quirks.h
    M target/arm/cpu64.c
    M target/arm/tcg/translate.c
    M tests/qtest/aspeed-hace-utils.h
    M tests/qtest/aspeed-smc-utils.h
    M tests/qtest/aspeed_gpio-test.c
    M tests/qtest/dbus-display-test.c
    M tests/qtest/pnv-spi-seeprom-test.c
    M tests/unit/test-cutils.c
    M tests/unit/test-error-report.c
    M tests/unit/test-io-channel-command.c

  Log Message:
  -----------
  Merge tag 'pull-target-arm-20251114' of https://gitlab.com/pm215/qemu into 
staging

target-arm queue:
 * MAINTAINERS file update for whpx
 * target/arm: Fix accidental write to TCG constant
 * target/arm/cpu64: remove duplicate include
 * hw/display/xlnx_dp: don't abort() on guest errors
 * cxl, vfio, tests: clean up includes
 * hw/misc/npcm_clk: Don't divide by zero when calculating frequency
 * hw/audio/lm4549: Don't try to open a zero-frequency audio voice

# -----BEGIN PGP SIGNATURE-----
#
# iQJNBAABCAA3FiEE4aXFk81BneKOgxXPPCUl7RQ2DN4FAmkXSF0ZHHBldGVyLm1h
# eWRlbGxAbGluYXJvLm9yZwAKCRA8JSXtFDYM3iLKEACahSPxoRe4+TOgr3F7mJvq
# CDFOOUQSXbBC4WTviyJAh1+MYFhtWrOxUB1EzLb9iw1+sbBcT6/K1CBEFiQ65dpn
# kjtIaJDidz4x52vNc1nz1B9jzRdme4xQ0kg5NeY9PqCGO4nC0iWqzzbBoA1XYHsR
# RXfXr9JNXKqN3cm+x/ZX/o++rz3eG8ba0DxJUIO+OR9rAv3n0No+oTOeAJ4SbDu4
# lcP+MHFA/V//Q4O9QSeZv1tD+brXerpNcMQlsRrffkmT8bvJMPozyvcijtEZQz3+
# 9s8GUeL0b7/GgpdIqWyEAl2sreMtqmWh1GGpCZziFTiEmNWWI9M6fHINyZ2NVnPD
# T5UFOA9JbSG1ybxQHHf4Vj5tUjwWAAnVwRP1wXAb3p35fBYl0Y3JFDX+0HpL9tM/
# vB1BHA+PGRV51vDy7VoUpbbZkpa1/WJCqTm9s1BxzZ2BFu0tpQ2Rqg/V+y004NQY
# Xx1t7ilm18LyQrZpHYqmw3OJ/EVPtATBN2jomK2Z8ZWExLsDQ/Qd8k3cHg6OcN4N
# /ORpbqy29dOL5mQTEuBW8L0tLEN9tBqfadlqvlsbI9S0eDlZdyvPT9utV0aSCfe2
# km/rSjD2IJEmtJA1kcYgq3ipNsPu5eGFfw2OqGe+vowLaU42ki3uteaOqLgN81AX
# sB5cO49w7AtAmaocraAzPA==
# =+I+o
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 14 Nov 2025 04:18:53 PM CET
# gpg:                using RSA key E1A5C593CD419DE28E8315CF3C2525ED14360CDE
# gpg:                issuer "[email protected]"
# gpg: Good signature from "Peter Maydell <[email protected]>" [unknown]
# gpg:                 aka "Peter Maydell <[email protected]>" [unknown]
# gpg:                 aka "Peter Maydell <[email protected]>" 
[unknown]
# gpg:                 aka "Peter Maydell <[email protected]>" [unknown]
# gpg: WARNING: The key's User ID is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: E1A5 C593 CD41 9DE2 8E83  15CF 3C25 25ED 1436 0CDE

* tag 'pull-target-arm-20251114' of https://gitlab.com/pm215/qemu:
  hw/audio/lm4549: Don't try to open a zero-frequency audio voice
  hw/misc/npcm_clk: Don't divide by zero when calculating frequency
  tests: Clean up includes
  vfio: Clean up includes
  cxl: Clean up includes
  hw/display/xlnx_dp: Don't abort for unsupported graphics formats
  hw/display/xlnx_dp.c: Don't abort on AUX FIFO overrun/underrun
  target/arm/cpu64: remove duplicate include
  target/arm: Fix accidental write to TCG constant
  MAINTAINERS: update maintainers for WHPX

Signed-off-by: Richard Henderson <[email protected]>


Compare: https://github.com/qemu/qemu/compare/409be85c2f54...e88510fcdc13

To unsubscribe from these emails, change your notification settings at 
https://github.com/qemu/qemu/settings/notifications

Reply via email to