Commit 63dc369443 for qemu.org

commit 63dc36944383f70f1c7a20f6104966d8560300fa
Merge: 731d58b545 d37eede7a8
Author: Peter Maydell <peter.maydell@linaro.org>
Date:   Wed Nov 6 17:28:45 2024 +0000

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

    Misc HW patch queue

    - Deprecate a pair of untested microblaze big-endian machines (Philippe)
    - Arch-agnostic CPU topology checks at machine level (Zhao)
    - Cleanups on PPC E500 (Bernhard)
    - Various conversions to DEFINE_TYPES() macro (Bernhard)
    - Fix RISC-V _pext_u64() name clashing (Pierrick)

    # -----BEGIN PGP SIGNATURE-----
    #
    # iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmcqqycACgkQ4+MsLN6t
    # wN7TfhAAkAjpWxFGptNw28LPpnZY/NTGKyXQrIEHu3XnJsZ28c/KZeCAYUUC6/q7
    # tAnBMb5GIn2VTyt+ElORseFtHStThoR8WMrcQSlGvCZei9lRNKCW0pVIEUgLZEtT
    # u8lChpaVAn8gXb885xlaCBBP4SuFHEpASSfWy0mYDIqZL3oRhr9AQ/KwzHFqenbK
    # Uva4BCWRVnYju6MhfA/pmVP011SUTdCu/fsBTIJT3Xn7Sp7fRNShIzt+1rbmPnR2
    # hhRl5bMKUgDUjX5GxeP0LOj/XdX9svlqL42imNQT5FFUMIR6qbrwj4U841mt0uuI
    # FcthAoILvA2XUJoTESq0iXUoN4FQLtc01onY6k06EoZAnn8WRZRp2dNdu8fYmHMX
    # y3pcXBK6wEhBVZ2DcGVf1txmieUc4TZohOridU1Xfckp+XVl6J3LtTKJIE56Eh68
    # S9OJW1Sz2Io/8FJFvKStX0bhV0nBUyUXmi5PjV4vurS6Gy1aVodiiq3ls6baX05z
    # /Y8DJGpPByA+GI2prdwq9oTIhEIU2bJDDz32NkwHM99SE25h+iyh21Ap5Ojkegm7
    # 1squIskxX3QLtEMxBCe+XIKzEZ51kzNZxmLXvCFW5YetypNdhyULqH/UDWt7hIDN
    # BSh2w1g/lSw9n6DtEN3rURYAR/uV7/7IMEP8Td2wvcDX4o95Fkw=
    # =q0cF
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Tue 05 Nov 2024 23:32:55 GMT
    # gpg:                using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
    # gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <f4bug@amsat.org>" [full]
    # Primary key fingerprint: FAAB E75E 1291 7221 DCFD  6BB2 E3E3 2C2C DEAD C0DE

    * tag 'hw-misc-20241105' of https://github.com/philmd/qemu: (29 commits)
      hw/riscv/iommu: fix build error with clang
      hw/usb/hcd-ehci-sysbus: Prefer DEFINE_TYPES() macro
      hw/rtc/ds1338: Prefer DEFINE_TYPES() macro
      hw/i2c/smbus_eeprom: Prefer DEFINE_TYPES() macro
      hw/block/pflash_cfi01: Prefer DEFINE_TYPES() macro
      hw/sd/sdhci: Prefer DEFINE_TYPES() macro
      hw/ppc/mpc8544_guts: Prefer DEFINE_TYPES() macro
      hw/gpio/mpc8xxx: Prefer DEFINE_TYPES() macro
      hw/net/fsl_etsec/etsec: Prefer DEFINE_TYPES() macro
      hw/net/fsl_etsec/miim: Reuse MII constants
      hw/pci-host/ppce500: Prefer DEFINE_TYPES() macro
      hw/pci-host/ppce500: Reuse TYPE_PPC_E500_PCI_BRIDGE define
      hw/i2c/mpc_i2c: Prefer DEFINE_TYPES() macro
      hw/i2c/mpc_i2c: Convert DPRINTF to trace events for register access
      hw/ppc/mpc8544_guts: Populate POR PLL ratio status register
      hw/ppc/e500: Add missing device tree properties to i2c controller node
      hw/ppc/e500: Remove unused "irqs" parameter
      hw/ppc/e500: Prefer QOM cast
      hw/core: Add a helper to check the cache topology level
      hw/core: Check smp cache topology support for machine
      ...

    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

diff --cc hw/rtc/ds1338.c
index 929a92f7bd,13472c5670..c993182ae4
--- a/hw/rtc/ds1338.c
+++ b/hw/rtc/ds1338.c
@@@ -14,10 -14,8 +14,9 @@@
  #include "hw/i2c/i2c.h"
  #include "migration/vmstate.h"
  #include "qemu/bcd.h"
- #include "qemu/module.h"
  #include "qom/object.h"
  #include "sysemu/rtc.h"
 +#include "trace.h"

  /* Size of NVRAM including both the user-accessible area and the
   * secondary register area.