Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: qemu/qemu
base: 7efd65423ab2
Choose a base ref
...
head repository: qemu/qemu
compare: 5692a39f3294
Choose a head ref
  • 7 commits
  • 9 files changed
  • 3 contributors

Commits on Jun 15, 2023

  1. hw/arm/aspeed: Add VPD data for Rainier machine

    The current modeling of Rainier machine creates zero filled VPDs(EEPROMs).
    This makes some services and applications unhappy and causing them to fail.
    Hence this drop adds some fabricated data for system and BMC FRU so that
    vpd services are happy and active.
    
    Tested:
       - The system-vpd.service is active.
       - VPD service related to bmc is active.
    
    Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
    Reviewed-by: Cédric Le Goater <clg@kaod.org>
    [ clg: commit title cleanup ]
    Signed-off-by: Cédric Le Goater <clg@kaod.org>
    ninadpalsule authored and legoater committed Jun 15, 2023
    Copy the full SHA
    be85508 View commit details
    Browse the repository at this point in the history
  2. aspeed/hace: Initialize g_autofree pointer

    As mentioned in docs/devel/style.rst "Automatic memory deallocation":
    
    * Variables declared with g_auto* MUST always be initialized,
      otherwise the cleanup function will use uninitialized stack memory
    
    This avoids QEMU to coredump when running the "hash test" command
    under Zephyr.
    
    Cc: Steven Lee <steven_lee@aspeedtech.com>
    Cc: Joel Stanley <joel@jms.id.au>
    Cc: qemu-stable@nongnu.org
    Fixes: c5475b3 ("hw: Model ASPEED's Hash and Crypto Engine")
    Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
    Reviewed-by: Thomas Huth <thuth@redhat.com>
    Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
    Message-Id: <20230421131547.2177449-1-clg@kaod.org>
    Signed-off-by: Cédric Le Goater <clg@kaod.org>
    Reviewed-by: Joel Stanley <joel@jms.id.au>
    Signed-off-by: Cédric Le Goater <clg@kaod.org>
    legoater committed Jun 15, 2023
    Copy the full SHA
    c8f48b1 View commit details
    Browse the repository at this point in the history
  3. aspeed: Introduce a boot_rom region at the machine level

    This should also avoid Coverity to report a memory leak warning when
    the QEMU process exits. See CID 1508061.
    
    Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
    Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Signed-off-by: Cédric Le Goater <clg@kaod.org>
    Reviewed-by: Joel Stanley <joel@jms.id.au>
    Signed-off-by: Cédric Le Goater <clg@kaod.org>
    legoater committed Jun 15, 2023
    Copy the full SHA
    262259e View commit details
    Browse the repository at this point in the history
  4. aspeed: Use the boot_rom region of the fby35 machine

    This change completes commits 5aa281d ("aspeed: Introduce a
    spi_boot region under the SoC") and 8b744a6 ("aspeed: Add a
    boot_rom overlap region in the SoC spi_boot container") which
    introduced a spi_boot container at the SoC level to map the boot rom
    region as an overlap.
    
    It also fixes a Coverity report (CID 1508061) for a memory leak
    warning when the QEMU process exits by using an bmc_boot_rom
    MemoryRegion available at the machine level.
    
    Cc: Peter Delevoryas <peter@pjd.dev>
    Signed-off-by: Cédric Le Goater <clg@kaod.org>
    Reviewed-by: Joel Stanley <joel@jms.id.au>
    Signed-off-by: Cédric Le Goater <clg@kaod.org>
    legoater committed Jun 15, 2023
    Copy the full SHA
    ebd643e View commit details
    Browse the repository at this point in the history
  5. aspeed: Introduce a "bmc-console" machine option

    Most of the Aspeed machines use the UART5 device for the boot console,
    and QEMU connects the first serial Chardev to this SoC device for this
    purpose. See routine connect_serial_hds_to_uarts().
    
    Nevertheless, some machines use another boot console, such as the fuji,
    and commit 5d63d0c ("hw/arm/aspeed: Allow machine to set UART
    default") introduced a SoC class attribute 'uart_default' and property
    to be able to change the boot console device. It was later changed by
    commit d2b3eae ("aspeed: Refactor UART init for multi-SoC machines").
    
    The "bmc-console" machine option goes a step further and lets the user define
    the UART device from the QEMU command line without introducing a new
    machine definition. For instance, to use device UART3 (mapped on
    /dev/ttyS2 under Linux) instead of the default UART5, one would use :
    
      -M ast2500-evb,bmc-console=uart3
    
    Cc: Abhishek Singh Dagur <abhishek@drut.io>
    Signed-off-by: Cédric Le Goater <clg@kaod.org>
    Reviewed-by: Joel Stanley <joel@jms.id.au>
    Signed-off-by: Cédric Le Goater <clg@kaod.org>
    legoater committed Jun 15, 2023
    Copy the full SHA
    f65f6ad View commit details
    Browse the repository at this point in the history
  6. target/arm: Allow users to set the number of VFP registers

    Cortex A7 CPUs with an FPU implementing VFPv4 without NEON support
    have 16 64-bit FPU registers and not 32 registers. Let users set the
    number of VFP registers with a CPU property.
    
    The primary use case of this property is for the Cortex A7 of the
    Aspeed AST2600 SoC.
    
    Signed-off-by: Cédric Le Goater <clg@kaod.org>
    Reviewed-by: Joel Stanley <joel@jms.id.au>
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Cédric Le Goater <clg@kaod.org>
    legoater committed Jun 15, 2023
    Copy the full SHA
    42bea95 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2023

  1. Merge tag 'pull-aspeed-20230615' of https://github.com/legoater/qemu

    …into staging
    
    aspeed queue:
    
    * extension of the rainier machine with VPD contents
    * fixes for Coverity issues
    * new "bmc-console" machine option
    * new "vfp-d32" ARM CPU property
    
    # -----BEGIN PGP SIGNATURE-----
    #
    # iQIzBAABCAAdFiEEoPZlSPBIlev+awtgUaNDx8/77KEFAmSLQjcACgkQUaNDx8/7
    # 7KE/XRAAkMZN7o+5vR7NocAbj9FasFq8G5Du8L5V52k7kjhmTIMtY2StKyXYBI4o
    # MXe89P88gT5kmwAzyzFVkbLwZcS9wnA/71Pv+dc9Fe9fK9Q+1Tn9AGR+nJM7ZsOk
    # qOP2SUfKqoeHBlFaWJAFSs09jPOzQr0elB55YErwXkjkJN9+PcI5l8E3aZGZz9qQ
    # SZY1JpBYXidoF3bqEfQUs1SzszfFOrW9QYO5s93EYfyXTsV93JPfKVviy8DtNQjc
    # EE+mSgvGSELu8ODMzk/b+O1OQ39S+AJ/qoqhYFZWrsxhROfLiFxV8ksAX52sdJeY
    # z7hot8KUaAka2to+7OFQJn6N9i12MsSZ17XQhoOKC0IMwDtFIMFTIm7fkwxuJh9m
    # ktiadL6MEWZCiiq8jLkM1sz/V9BcVEV/zI2WAJnOh8tniGG9U2xWGL7Ijf2Lnxs7
    # P8cjT0XfBB6LzyEk1OSCScoBBdc3bHJD4xUpnr1ehscg58gyaPVMkkTziqWbeVH1
    # CvxmGufS0jYXYS5R4/U4PEY5FQdBww77x/JTXx/NYc0ZWetgKCA/jqFtSgINgtdd
    # jKFHPnvOv8NWDagy/+Vb0xZPHbXoYkliMtAV789FujI/6VzPrdW8YljPos/rX/oY
    # b6/Yh1vCwuzVRut5wqMNefmX1ez36rdy3KDvg99Pu3Ln4QqBXhE=
    # =qTHL
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Thu 15 Jun 2023 06:54:15 PM CEST
    # gpg:                using RSA key A0F66548F04895EBFE6B0B6051A343C7CFFBECA1
    # gpg: Good signature from "Cédric Le Goater <clg@kaod.org>" [undefined]
    # gpg: WARNING: This key is not certified with a trusted signature!
    # gpg:          There is no indication that the signature belongs to the owner.
    # Primary key fingerprint: A0F6 6548 F048 95EB FE6B  0B60 51A3 43C7 CFFB ECA1
    
    * tag 'pull-aspeed-20230615' of https://github.com/legoater/qemu:
      target/arm: Allow users to set the number of VFP registers
      aspeed: Introduce a "bmc-console" machine option
      aspeed: Use the boot_rom region of the fby35 machine
      aspeed: Introduce a boot_rom region at the machine level
      aspeed/hace: Initialize g_autofree pointer
      hw/arm/aspeed: Add VPD data for Rainier machine
    
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    rth7680 committed Jun 16, 2023
    Copy the full SHA
    5692a39 View commit details
    Browse the repository at this point in the history