Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: a7a05f5f6a4085afbede315e749b1c67e78c966b
      
https://github.com/qemu/qemu/commit/a7a05f5f6a4085afbede315e749b1c67e78c966b
  Author: Daan De Meyer <[email protected]>
  Date:   2025-04-08 (Tue, 08 Apr 2025)

  Changed paths:
    M hw/smbios/smbios.c

  Log Message:
  -----------
  smbios: Fix buffer overrun when using path= option

We have to make sure the array of bytes read from the path= file
is null-terminated, otherwise we run into a buffer overrun later on.

Fixes: bb99f4772f54017490e3356ecbb3df25c5d4537f ("hw/smbios: support loading 
OEM strings values from a file")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2879

Signed-off-by: Daan De Meyer <[email protected]>
Reviewed-by: Daniel P. Berrangé <[email protected]>
Tested-by: Valentin David <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 15a9fe6e35369d6e488233f689a3dbdd7a525546
      
https://github.com/qemu/qemu/commit/15a9fe6e35369d6e488233f689a3dbdd7a525546
  Author: Joel Stanley <[email protected]>
  Date:   2025-04-08 (Tue, 08 Apr 2025)

  Changed paths:
    M hw/core/machine.c

  Log Message:
  -----------
  hw/core/machine: Fix -machine dumpdtb=file.dtb

In commit 8fd2518ef2f8 ("hw: Centralize handling of -machine dumpdtb
option") the call to dump was moved with respect to the init of the
machine.  This resulted in the device tree missing parts of the machine
description, depending on how they construct their device tree.

The arm virt machine is missing some PSCI nodes, while the riscv one
is missing most of its content.

Move the dump to after the notifiers have been run, allowing
virt_machine_done to be called and the device tree to be fully
populated.

Fixes: 8fd2518ef2f8 ("hw: Centralize handling of -machine dumpdtb option")
Signed-off-by: Joel Stanley <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 2ba700a501820f7a59c030f6f49a631a3d2c06f5
      
https://github.com/qemu/qemu/commit/2ba700a501820f7a59c030f6f49a631a3d2c06f5
  Author: Zhang Chen <[email protected]>
  Date:   2025-04-08 (Tue, 08 Apr 2025)

  Changed paths:
    M docs/system/arm/virt.rst

  Log Message:
  -----------
  docs/arm: Add apple HVF host for supported guest CPU type

In my test, latest QEMU already support Apple HVF for -cpu host and max.

>From guest VM lscpu:

Architecture:             aarch64
  CPU op-mode(s):         64-bit
  Byte Order:             Little Endian
CPU(s):                   11
  On-line CPU(s) list:    0-10
Vendor ID:                Apple
  Model name:             -
    Model:                0
    Thread(s) per core:   1
    Core(s) per socket:   11
    Socket(s):            1
    Stepping:             0x0
    BogoMIPS:             48.00
    Flags:                fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics 
fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 asim
                          dfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp 
flagm2 frint

Signed-off-by: Zhang Chen <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 535ef195663e134d704a3c4f375bf5c488705808
      
https://github.com/qemu/qemu/commit/535ef195663e134d704a3c4f375bf5c488705808
  Author: Keoseong Park <[email protected]>
  Date:   2025-04-08 (Tue, 08 Apr 2025)

  Changed paths:
    M hw/ufs/ufs.c

  Log Message:
  -----------
  hw/ufs: Fix incorrect comment for segment_size and allocation_unit_size

The comments for segment_size and allocation_unit_size incorrectly
described them as 4KB. According to the UFS specification,
segment_size is expressed in units of 512 bytes.
Given segment_size = 0x2000 (8192), the actual size is 4MB.
Similarly, allocation_unit_size = 1 means 1 segment = 4MB.

This patch updates the comments to reflect the correct size.

Signed-off-by: Keoseong Park <[email protected]>
Reviewed-by: Jeuk Kim <[email protected]>
Message-ID: <20250403092140epcms2p355a7f039871b3e5b409754ef450b9158@epcms2p3>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 764ca3ec8999fbeb64e2ddb3cd2df0f7004fc59b
      
https://github.com/qemu/qemu/commit/764ca3ec8999fbeb64e2ddb3cd2df0f7004fc59b
  Author: Guenter Roeck <[email protected]>
  Date:   2025-04-08 (Tue, 08 Apr 2025)

  Changed paths:
    M docs/system/arm/imx8mp-evk.rst
    M hw/arm/imx8mp-evk.c

  Log Message:
  -----------
  hw/arm/imx8mp-evk: Remove unimplemented cpu-idle-states properties from 
devicetree

The cpu-idle-states property causes a hard boot hang. Rather than documenting
the workaround, perform the removal from the devicetree automatically.

Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Bernhard Beschow <[email protected]>
[Bernhard: split patch, update documentation, adapt commit message]
Signed-off-by: Bernhard Beschow <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: f978f410aa4f4b5ce9a4c18c815507bcbfb75b9d
      
https://github.com/qemu/qemu/commit/f978f410aa4f4b5ce9a4c18c815507bcbfb75b9d
  Author: Guenter Roeck <[email protected]>
  Date:   2025-04-08 (Tue, 08 Apr 2025)

  Changed paths:
    M hw/arm/imx8mp-evk.c

  Log Message:
  -----------
  hw/arm/imx8mp-evk: Temporarily remove unimplemented imx8mp-fspi node from 
devicetree

The nxp,imx8mp-fspi node triggers a warning backtrace.
Remove it from the devicetree file.

Signed-off-by: Guenter Roeck <[email protected]>
Inspired-by: commit bf1da4b308 ("hw/arm/raspi4b: Temporarily disable 
unimplemented rpi4b devices")
Signed-off-by: Bernhard Beschow <[email protected]>
[Bernhard: split patch, adapt commit message]
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 8c996e32712820d6d1e62ba6436424d0ba837d96
      
https://github.com/qemu/qemu/commit/8c996e32712820d6d1e62ba6436424d0ba837d96
  Author: Klaus Jensen <[email protected]>
  Date:   2025-04-08 (Tue, 08 Apr 2025)

  Changed paths:
    M hw/nvme/ctrl.c
    M hw/nvme/ns.c
    M hw/nvme/nvme.h
    M hw/nvme/subsys.c

  Log Message:
  -----------
  hw/nvme: fix attachment of private namespaces

Fix regression when attaching private namespaces that gets attached to
the wrong controller.

Keep track of the original controller "owner" of private namespaces, and
only attach if this matches on controller enablement.

Fixes: 6ccca4b6bb9f ("hw/nvme: rework csi handling")
Reported-by: Alan Adamson <[email protected]>
Suggested-by: Alan Adamson <[email protected]>
Signed-off-by: Klaus Jensen <[email protected]>
Tested-by: Alan Adamson <[email protected]>
Reviewed-by: Alan Adamson <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: ae81527b431e235b7f81a400b9a6a27b798c40b3
      
https://github.com/qemu/qemu/commit/ae81527b431e235b7f81a400b9a6a27b798c40b3
  Author: Zhao Liu <[email protected]>
  Date:   2025-04-08 (Tue, 08 Apr 2025)

  Changed paths:
    M scripts/checkpatch.pl

  Log Message:
  -----------
  scripts/checkpatch: Fix typo in SPDX-License-Identifier keyword

Fix the typo in the error message to help `grep` the example:

ERROR: New file '***' requires 'SPDX-License-Identifer'

Fixes: fa4d79c64dae ("scripts: mandate that new files have 
SPDX-License-Identifier")
Signed-off-by: Zhao Liu <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>


  Commit: 7960e8c8ad53a293fedf8d1d3f5765cb832ffb40
      
https://github.com/qemu/qemu/commit/7960e8c8ad53a293fedf8d1d3f5765cb832ffb40
  Author: Stefan Hajnoczi <[email protected]>
  Date:   2025-04-09 (Wed, 09 Apr 2025)

  Changed paths:
    M docs/system/arm/imx8mp-evk.rst
    M docs/system/arm/virt.rst
    M hw/arm/imx8mp-evk.c
    M hw/core/machine.c
    M hw/nvme/ctrl.c
    M hw/nvme/ns.c
    M hw/nvme/nvme.h
    M hw/nvme/subsys.c
    M hw/smbios/smbios.c
    M hw/ufs/ufs.c
    M scripts/checkpatch.pl

  Log Message:
  -----------
  Merge tag 'hw-misc-20250408' of https://github.com/philmd/qemu into staging

Misc HW patches

- Fix overrun when parsing SMBIOS OEM string (Daan)
- Correctly call handle_machine_dumpdtb() callback (Joel)
- List HVF as supported for virt machine (Zhang)
- Correct UFS segment/alloc size comments (Keoseong)
- Do not expose unimplemented devices in i.MX8mp DTB (Guenter & Bernhard)
- Attach NVMe private namespaces to proper controller (Klaus)
- Fix typo in SDPX license checker script (Zhao)

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmf1cOAACgkQ4+MsLN6t
# wN5ZERAAttyD+ZJwIOeTmrVyIhYNAKVKBWzUnqce+k+1NUG0kT/+FXN7rmP4lFhM
# 2VasfWG8UVBpOcd2FfjimDadYEZ48WtE6z4txf7Fk3rDYOtC7U8l2dvGRhrvdnv+
# NaClU7+PZwpaS2KE/rGTRXm+QC4gc9GnMz6PPwTcBybVWh6342L7EUcbv0AYhTmn
# S1w/jQIwX6OKYkjHdR3WRacx3skKf9PCDoaZkQxxHPCPDzkpf8pJhojScvwg+CBz
# PoT9OqKm9vS9UXLxTUFsdW7SWKc7xAJwFWZS/QXtUV5X+D/w1eQ3qEBEwShPecxl
# XehwNfaO5YqI6oiSGm+XZlz4Hk7bmoRMv4cl9JZ+ifiU/RronlYiMjRL79lqWXCL
# Yp0q553YwdAIFlwzOE3Zblf/4H3iZ0dbc1wSRJLGE+pFvslUb0uch8WqkLQ+FX0q
# kUBTJx8bvy0pmV0w/n6aY8gCygBZoK8hK5NZJ7Iq38y8UQ4vjLAlycd6XocA7aQk
# PdyFjXvY4ofVldmLMaJdX4pQTgi1/GVSNa7G/cTrF5tcxwIcmVbvpqtZwB3+YxGu
# pwQnD1eR5u9ZLsXNoRM2RRCBRB/h7k6HavSJ3JFtNjbQU07C3oFoQ9VePcKLl1Xl
# wmHRBq3twgx/ZZAnYZyPQL2mmTcmo125kT3ZFVgl77UzzA/piD0=
# =0xrJ
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 08 Apr 2025 14:54:24 EDT
# 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-20250408' of https://github.com/philmd/qemu:
  scripts/checkpatch: Fix typo in SPDX-License-Identifier keyword
  hw/nvme: fix attachment of private namespaces
  hw/arm/imx8mp-evk: Temporarily remove unimplemented imx8mp-fspi node from 
devicetree
  hw/arm/imx8mp-evk: Remove unimplemented cpu-idle-states properties from 
devicetree
  hw/ufs: Fix incorrect comment for segment_size and allocation_unit_size
  docs/arm: Add apple HVF host for supported guest CPU type
  hw/core/machine: Fix -machine dumpdtb=file.dtb
  smbios: Fix buffer overrun when using path= option

Signed-off-by: Stefan Hajnoczi <[email protected]>


  Commit: 56c6e249b6988c1b6edc2dd34ebb0f1e570a1365
      
https://github.com/qemu/qemu/commit/56c6e249b6988c1b6edc2dd34ebb0f1e570a1365
  Author: Stefan Hajnoczi <[email protected]>
  Date:   2025-04-09 (Wed, 09 Apr 2025)

  Changed paths:
    M VERSION

  Log Message:
  -----------
  Update version for v10.0.0-rc3 release

Signed-off-by: Stefan Hajnoczi <[email protected]>


Compare: https://github.com/qemu/qemu/compare/c302660920ac...56c6e249b698

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

Reply via email to