qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 49aff0: hw/arm: Inline sysbus_create_simple(P


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 49aff0: hw/arm: Inline sysbus_create_simple(PL110 / PL111)
Date: Tue, 27 Feb 2024 02:16:37 -0800

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 49aff03e1bc93fbc6aed6754fa0b42c4581a54a3
      
https://github.com/qemu/qemu/commit/49aff03e1bc93fbc6aed6754fa0b42c4581a54a3
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-02-26 (Mon, 26 Feb 2024)

  Changed paths:
    M hw/arm/integratorcp.c
    M hw/arm/realview.c
    M hw/arm/versatilepb.c
    M hw/arm/vexpress.c

  Log Message:
  -----------
  hw/arm: Inline sysbus_create_simple(PL110 / PL111)

We want to set another qdev property (a link) for the pl110
and pl111 devices, we can not use sysbus_create_simple() which
only passes sysbus base address and IRQs as arguments. Inline
it so we can set the link property in the next commit.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240226173805.289-2-philmd@linaro.org>


  Commit: c2093660d99dc88dc5638297c42467e8e9d6466c
      
https://github.com/qemu/qemu/commit/c2093660d99dc88dc5638297c42467e8e9d6466c
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-02-26 (Mon, 26 Feb 2024)

  Changed paths:
    M hw/arm/integratorcp.c
    M hw/arm/realview.c
    M hw/arm/versatilepb.c
    M hw/arm/vexpress.c
    M hw/display/pl110.c

  Log Message:
  -----------
  hw/display/pl110: Pass frame buffer memory region as link property

Add the PL110::'framebuffer-memory' property. Have the different
ARM boards set it. We don't need to call sysbus_address_space()
anymore.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240226173805.289-3-philmd@linaro.org>


  Commit: 1cfe4614283ad0a284ded19e0d1d7be88071b588
      
https://github.com/qemu/qemu/commit/1cfe4614283ad0a284ded19e0d1d7be88071b588
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-02-26 (Mon, 26 Feb 2024)

  Changed paths:
    M hw/arm/exynos4210.c

  Log Message:
  -----------
  hw/arm/exynos4210: Inline sysbus_create_varargs(EXYNOS4210_FIMD)

We want to set another qdev property (a link) for the FIMD
device, we can not use sysbus_create_varargs() which only
passes sysbus base address and IRQs as arguments. Inline
it so we can set the link property in the next commit.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240216153517.49422-4-philmd@linaro.org>


  Commit: 6d73fff3effe08c721fcad4619a7fa7dd6420a5d
      
https://github.com/qemu/qemu/commit/6d73fff3effe08c721fcad4619a7fa7dd6420a5d
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-02-26 (Mon, 26 Feb 2024)

  Changed paths:
    M hw/arm/exynos4210.c
    M hw/display/exynos4210_fimd.c

  Log Message:
  -----------
  hw/display/exynos4210_fimd: Pass frame buffer memory region as link

Add the Exynos4210fimdState::'framebuffer-memory' property. Have
the board set it. We don't need to call sysbus_address_space()
anymore.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240226173805.289-5-philmd@linaro.org>


  Commit: 079340c762dd46ae3470880d734b2e22f4db3fc4
      
https://github.com/qemu/qemu/commit/079340c762dd46ae3470880d734b2e22f4db3fc4
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-02-26 (Mon, 26 Feb 2024)

  Changed paths:
    M hw/i386/kvmvapic.c

  Log Message:
  -----------
  hw/i386/kvmvapic: Inline sysbus_address_space()

sysbus_address_space(...) is a simple wrapper to
get_system_memory(). Use it in place, since KVM
VAPIC doesn't distinct address spaces.

Rename the 'as' variable as 'mr' since it is a
MemoryRegion type, not an AddressSpace one.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240216153517.49422-6-philmd@linaro.org>


  Commit: 491da0af99527bb27859e576b12fa53f21ee2a13
      
https://github.com/qemu/qemu/commit/491da0af99527bb27859e576b12fa53f21ee2a13
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-02-26 (Mon, 26 Feb 2024)

  Changed paths:
    M hw/core/sysbus.c
    M include/hw/sysbus.h

  Log Message:
  -----------
  hw/sysbus: Remove now unused sysbus_address_space()

sysbus_address_space() is not more used, remove it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240216153517.49422-7-philmd@linaro.org>


  Commit: 9cda31193b84ea91684efb3916ac2cc34a6715bc
      
https://github.com/qemu/qemu/commit/9cda31193b84ea91684efb3916ac2cc34a6715bc
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/nubus/nubus-device.c

  Log Message:
  -----------
  hw/nubus-device: round Declaration ROM memory region address to 
qemu_target_page_size()

Declaration ROM binary images can be any arbitrary size, however if a host ROM
memory region is not aligned to qemu_target_page_size() then we fail the
"assert(!(iotlb & ~TARGET_PAGE_MASK))" check in tlb_set_page_full().

Ensure that the host ROM memory region is aligned to qemu_target_page_size()
and adjust the offset at which the Declaration ROM image is loaded, since Nubus
ROM images are unusual in that they are aligned to the end of the slot address
space.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20240111102954.449462-2-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 8e8616f3db9f5e43cf3d319bbf349aca58f7c7de
      
https://github.com/qemu/qemu/commit/8e8616f3db9f5e43cf3d319bbf349aca58f7c7de
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M include/hw/nubus/nubus.h

  Log Message:
  -----------
  hw/nubus: increase maximum Declaration ROM size from 128k to 1Mb

Whilst 128k is more than enough for a typical Declaration ROM, a C compiler
configured to produce an unstripped debug binary can generate a ROM image that
exceeds this limit. Increase the maximum size to 1Mb to help make life easier
for developers.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20240111102954.449462-3-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 31ae8bb15d4ddaa202ffeb03a5c90f0acf205472
      
https://github.com/qemu/qemu/commit/31ae8bb15d4ddaa202ffeb03a5c90f0acf205472
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/nubus/meson.build
    A hw/nubus/nubus-virtio-mmio.c
    A include/hw/nubus/nubus-virtio-mmio.h

  Log Message:
  -----------
  hw/nubus: add nubus-virtio-mmio device

The nubus-virtio-mmio device is a Nubus card that contains a set of 32 
virtio-mmio
devices and a goldfish PIC similar to the m68k virt machine that can be plugged
into the m68k q800 machine.

There are currently a number of drivers under development that can be used in
conjunction with this device to provide accelerated and/or additional hypervisor
services to 68k Classic MacOS.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20240111102954.449462-4-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: ee3b34cd48a29b744a390c33eaa1f97b69b88367
      
https://github.com/qemu/qemu/commit/ee3b34cd48a29b744a390c33eaa1f97b69b88367
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/i386/acpi-build.c
    M include/qom/object.h
    M qom/object.c

  Log Message:
  -----------
  hw/acpi: move object_resolve_type_unambiguous to core QOM

object_resolve_type_unambiguous provides a useful functionality, that
is currently emulated for example by usb_bus_find().  Move it to core
code and add error reporting for increased generality.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240223124406.234509-2-pbonzini@redhat.com>
[PMD: Fixed style]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 3ab78f3dbe7f5657e2e0e6a17d2c2a852746f9fb
      
https://github.com/qemu/qemu/commit/3ab78f3dbe7f5657e2e0e6a17d2c2a852746f9fb
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/ppc/sam460ex.c

  Log Message:
  -----------
  hw/ppc/sam460ex: do not use usb_bus_find()

usb_bus_find() is always used with argument -1; it can be replaced with
a search of the single USB bus on the machine.

Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240223124406.234509-3-pbonzini@redhat.com>
[PMD: Fixed style]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 1b31b677a1efdf00d2d989327341f4f1775422dd
      
https://github.com/qemu/qemu/commit/1b31b677a1efdf00d2d989327341f4f1775422dd
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/sh4/r2d.c

  Log Message:
  -----------
  hw/sh4/r2d: do not use usb_bus_find()

usb_bus_find() is always used with argument -1; it can be replaced with
a search of the single USB bus on the machine.

Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240223124406.234509-4-pbonzini@redhat.com>
[PMD: Fixed style]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: b98948a902a1c7f28d18d363601e3f5fc7622424
      
https://github.com/qemu/qemu/commit/b98948a902a1c7f28d18d363601e3f5fc7622424
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/mips/loongson3_virt.c

  Log Message:
  -----------
  hw/mips/loongson3_virt: do not require CONFIG_USB

Once the Kconfig for hw/mips is cleaned up, it will be possible to build a
binary that does not include any USB host controller and therefore that
does not include the code guarded by CONFIG_USB.  While the simpler
creation functions such as usb_create_simple can be inlined, this is not
true of usb_bus_find().  Remove it, replacing it with a search of the
single USB bus created by loongson3_virt_devices_init().

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20240223124406.234509-5-pbonzini@redhat.com>
[PMD: Fixed style]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 82523f4add2c41847c9799585581c113a11071ee
      
https://github.com/qemu/qemu/commit/82523f4add2c41847c9799585581c113a11071ee
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/hppa/Kconfig
    M hw/hppa/machine.c

  Log Message:
  -----------
  hw/hppa: do not require CONFIG_USB

With --without-default-devices it is possible to build a binary that
does not include any USB host controller and therefore that does not
include the code guarded by CONFIG_USB.  While the simpler creation
functions such as usb_create_simple can be inlined, this is not true
of usb_bus_find().  Remove it, replacing it with a search of the single
USB bus on the machine.

Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240223124406.234509-6-pbonzini@redhat.com>
[PMD: Fixed style]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 2dd2f2e0e226a0cc21fbc32341265a4736f7856e
      
https://github.com/qemu/qemu/commit/2dd2f2e0e226a0cc21fbc32341265a4736f7856e
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/ppc/Kconfig
    M hw/ppc/mac_newworld.c

  Log Message:
  -----------
  hw/ppc/mac_newworld: do not require CONFIG_USB

With --without-default-devices it should not be required to have
devices in the binary that are removed by -nodefaults.  It should be
therefore possible to build a binary that does not include any USB
host controller or any of the code guarded by CONFIG_USB.  While the
simpler creation functions such as usb_create_simple can be inlined,
this is not true of usb_bus_find().  Remove it, replacing it with a
search of the single USB bus on the machine.

With this change, it is possible to change "select USB_OHCI_PCI" into
an "imply" directive.

Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240223124406.234509-7-pbonzini@redhat.com>
[PMD: Fixed style]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: ae1011d43026cb72362cef139ed401d9ad0a1696
      
https://github.com/qemu/qemu/commit/ae1011d43026cb72362cef139ed401d9ad0a1696
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/ppc/Kconfig
    M hw/ppc/spapr.c

  Log Message:
  -----------
  hw/ppc/pseries: do not require CONFIG_USB

With --without-default-devices it is possible to build a binary that
does not include any USB host controller and therefore that does not
include the code guarded by CONFIG_USB.  While the simpler creation
functions such as usb_create_simple can be inlined, this is not true
of usb_bus_find().  Remove it, replacing it with a search of the single
USB bus on the machine.

Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240223124406.234509-8-pbonzini@redhat.com>
[PMD: Fixed style]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: ccced963c508cf479e1d39bb7efc63be50f5a63d
      
https://github.com/qemu/qemu/commit/ccced963c508cf479e1d39bb7efc63be50f5a63d
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/usb/bus.c
    M include/hw/usb.h

  Log Message:
  -----------
  hw/usb: remove usb_bus_find

Inline the sole remaining use, which is for the -usbdevice command line.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240223124406.234509-9-pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 15f07fb821ce0d6bc2a07d7c0a1cd073cf787e31
      
https://github.com/qemu/qemu/commit/15f07fb821ce0d6bc2a07d7c0a1cd073cf787e31
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/arm/Kconfig
    M hw/display/Kconfig
    M hw/ppc/Kconfig
    M hw/sh4/Kconfig
    M hw/usb/Kconfig
    A hw/usb/hcd-ohci-sysbus.c
    M hw/usb/hcd-ohci.c
    M hw/usb/meson.build

  Log Message:
  -----------
  hw/usb: extract sysbus-ohci to a separate file

Split the sysbus version to a separate file so that it is not
included in PCI-only machines, and adjust Kconfig for machines
that do need sysbus-ohci.  The copyrights are based on the
time and employer of balrog and Paul Brook's contributions.

While adjusting the SM501 dependency, move it to the right place
instead of keeping it in the R4D machine.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240223124406.234509-10-pbonzini@redhat.com>
[PMD: Rename some functions using 'ohci_sysbus_' prefix]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: fa4fa2056da7bab48c32c175c7ffd9a2524fc53f
      
https://github.com/qemu/qemu/commit/fa4fa2056da7bab48c32c175c7ffd9a2524fc53f
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/usb/meson.build

  Log Message:
  -----------
  hw/usb: remove duplicate file in system_ss

Because USB_EHCI_SYSBUS selects USB_EHCI, there is no need to include
hcd-ehci.c explicitly.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240223124406.234509-11-pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: d2b5bb860e6c17442ad95cc275feb07c1665be5c
      
https://github.com/qemu/qemu/commit/d2b5bb860e6c17442ad95cc275feb07c1665be5c
  Author: Klaus Jensen <k.jensen@samsung.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/nvme/ctrl.c

  Log Message:
  -----------
  hw/nvme: fix invalid endian conversion

numcntl is one byte and so is max_vfs. Using cpu_to_le16 on big endian
hosts results in numcntl being set to 0.

Fix by dropping the endian conversion.

Fixes: 99f48ae7ae ("hw/nvme: Add support for Secondary Controller List")
Reported-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Minwoo Im <minwoo.im@samsung.com>
Message-ID: <20240222-fix-sriov-numcntl-v1-1-d60bea5e72d0@samsung.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 9b0c44334cf7032dc5529c5ecbe1929f76668c11
      
https://github.com/qemu/qemu/commit/9b0c44334cf7032dc5529c5ecbe1929f76668c11
  Author: Bernhard Beschow <shentey@gmail.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/i386/microvm.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/i386/x86.c
    M include/hw/i386/x86.h

  Log Message:
  -----------
  hw/i386/x86: Let ioapic_init_gsi() take parent as pointer

Rather than taking a QOM name which has to be resolved, let's pass the parent
directly as pointer. This simplifies the code.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-ID: <20240224135851.100361-2-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 7156e82f4a4e1928aad5b6df71319ba3f67af0c3
      
https://github.com/qemu/qemu/commit/7156e82f4a4e1928aad5b6df71319ba3f67af0c3
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/i386/sgx.c

  Log Message:
  -----------
  hw/i386/sgx: Use QDev API

Prefer the QDev API over the low level QOM one.
No logical change intended.

Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20240215142035.73331-4-philmd@linaro.org>


  Commit: b6718da464fc39f666635c7b240211395641502d
      
https://github.com/qemu/qemu/commit/b6718da464fc39f666635c7b240211395641502d
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/i386/pc_q35.c

  Log Message:
  -----------
  hw/i386/q35: Include missing 'hw/acpi/acpi.h' header

"hw/acpi/acpi.h" is implicitly included. Include it
explicitly to avoid the following error when refactoring
headers:

hw/i386/pc_q35.c:209:43: error: use of undeclared identifier 
'ACPI_PM_PROP_ACPI_PCIHP_BRIDGE'
                              ACPI_PM_PROP_ACPI_PCIHP_BRIDGE,
                              ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-Id: <20240226090600.31952-3-philmd@linaro.org>


  Commit: b54a9d46a0fe294a3ff6d169cd5292c73e2894e4
      
https://github.com/qemu/qemu/commit/b54a9d46a0fe294a3ff6d169cd5292c73e2894e4
  Author: Bernhard Beschow <shentey@gmail.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/i386/acpi-build.c
    M hw/i386/amd_iommu.c
    M hw/i386/intel_iommu.c
    M hw/i386/kvm/xen_evtchn.c
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/i386/x86-iommu.c
    M include/hw/i386/pc.h

  Log Message:
  -----------
  hw/i386/pc: Rename "bus" attribute to "pcibus"

The attribute is of type PCIBus; reflect that in the name. It will also make the
next change more intuitive.

Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-ID: <20240224135851.100361-3-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: e71dd86320d35da132dd6df1267e9a5b8e4dfb1c
      
https://github.com/qemu/qemu/commit/e71dd86320d35da132dd6df1267e9a5b8e4dfb1c
  Author: Bernhard Beschow <shentey@gmail.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c

  Log Message:
  -----------
  hw/i386/pc_{piix, q35}: Eliminate local pci_bus/pci_host variables

There is no advantage in having these local variables which 1/ needlessly have
different identifiers in both machines and 2/ which are redundant to pcms->bus
which is almost as short.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-ID: <20240224135851.100361-4-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 929cfe9885bfe71525df8ef054426196d6596b2c
      
https://github.com/qemu/qemu/commit/929cfe9885bfe71525df8ef054426196d6596b2c
  Author: Bernhard Beschow <shentey@gmail.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M include/hw/i386/pc.h

  Log Message:
  -----------
  hw/i386/pc: Remove unneeded class attribute "kvmclock_enabled"

PCMachineClass introduces the attribute into the class hierarchy and sets it to
true. There is no sub class overriding the attribute. Commit 30d2a17b46e9
"hw/i386: Remove the deprecated machines 0.12 up to 0.15" removed the last
overrides of this attribute. The attribute is now unneeded and can be removed.

Fixes: 30d2a17b46e9 "hw/i386: Remove the deprecated machines 0.12 up to 0.15"
Cc: Thomas Huth <thuth@redhat.com>
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-ID: <20240224135851.100361-5-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 99e1c1137b6f339be1e4b76e243ad7b7c3d3cb8c
      
https://github.com/qemu/qemu/commit/99e1c1137b6f339be1e4b76e243ad7b7c3d3cb8c
  Author: Bernhard Beschow <shentey@gmail.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c

  Log Message:
  -----------
  hw/i386/pc: Populate RTC attribute directly

Both the piix and the q35 machines introduce an rtc_state variable and defer the
initialization of the X86MachineState::rtc attribute to pc_cmos_init(). Resolve
this complication which makes pc_cmos_init() do what it says on the tin.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-ID: <20240224135851.100361-6-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 72c9d94541bc6984bf29b6cee0a05b065e6c115e
      
https://github.com/qemu/qemu/commit/72c9d94541bc6984bf29b6cee0a05b065e6c115e
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/arm/sbsa-ref.c

  Log Message:
  -----------
  hw/arm/sbsa-ref: Do not open-code ahci_ide_create_devs()

Use ahci_ide_create_devs() instead of open-coding it.
Not accessing AHCIDevice internals anymore allows to
remove "hw/ide/ahci_internal.h" (which isn't really a
public header).

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20240226080632.9596-2-philmd@linaro.org>


  Commit: c6ff8bde8d359ab53ba906d803ad49bd5b192fea
      
https://github.com/qemu/qemu/commit/c6ff8bde8d359ab53ba906d803ad49bd5b192fea
  Author: BALATON Zoltan <balaton@eik.bme.hu>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/arm/sbsa-ref.c
    A hw/ide/internal.h
    R include/hw/ide/internal.h
    M include/hw/misc/macio/macio.h

  Log Message:
  -----------
  hw/ide: Remove last two uses of ide/internal.h outside of hw/ide/

Remove last two includes of hw/ide/intarnal.h outside of hw/ide and
replace them with newly added public header to allow moving internal.h
into hw/ide to really stop exposing it.

Fixes: a11f439a0e (hw/ide: Stop exposing internal.h to non-IDE files)
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240223142633.933694E6004@zero.eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 0316482e876988f7526ebe62d579ad069f485957
      
https://github.com/qemu/qemu/commit/0316482e876988f7526ebe62d579ad069f485957
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/ide/ahci.c
    M hw/ide/ahci_internal.h
    M hw/ide/atapi.c
    M hw/ide/cmd646.c
    M hw/ide/core.c
    M hw/ide/ide-bus.c
    M hw/ide/ide-dev.c
    A hw/ide/ide-internal.h
    R hw/ide/internal.h
    M hw/ide/ioport.c
    M hw/ide/isa.c
    M hw/ide/macio.c
    M hw/ide/microdrive.c
    M hw/ide/mmio.c
    M hw/ide/pci.c
    M hw/ide/piix.c
    M hw/ide/sii3112.c
    M hw/ide/via.c

  Log Message:
  -----------
  hw/ide: Include 'ide-internal.h' from current path

Rename "internal.h" as "ide-internal.h", and include
it via its relative local path, instead of absolute
to the project root path.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20240226080632.9596-4-philmd@linaro.org>


  Commit: dccbaf0cc0f1744ffd7562a3dc60e4fc99fd9d44
      
https://github.com/qemu/qemu/commit/dccbaf0cc0f1744ffd7562a3dc60e4fc99fd9d44
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M hw/arm/Kconfig
    M hw/arm/exynos4210.c
    M hw/arm/integratorcp.c
    M hw/arm/realview.c
    M hw/arm/sbsa-ref.c
    M hw/arm/versatilepb.c
    M hw/arm/vexpress.c
    M hw/core/sysbus.c
    M hw/display/Kconfig
    M hw/display/exynos4210_fimd.c
    M hw/display/pl110.c
    M hw/hppa/Kconfig
    M hw/hppa/machine.c
    M hw/i386/acpi-build.c
    M hw/i386/amd_iommu.c
    M hw/i386/intel_iommu.c
    M hw/i386/kvm/xen_evtchn.c
    M hw/i386/kvmvapic.c
    M hw/i386/microvm.c
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/i386/sgx.c
    M hw/i386/x86-iommu.c
    M hw/i386/x86.c
    M hw/ide/ahci.c
    M hw/ide/ahci_internal.h
    M hw/ide/atapi.c
    M hw/ide/cmd646.c
    M hw/ide/core.c
    M hw/ide/ide-bus.c
    M hw/ide/ide-dev.c
    A hw/ide/ide-internal.h
    M hw/ide/ioport.c
    M hw/ide/isa.c
    M hw/ide/macio.c
    M hw/ide/microdrive.c
    M hw/ide/mmio.c
    M hw/ide/pci.c
    M hw/ide/piix.c
    M hw/ide/sii3112.c
    M hw/ide/via.c
    M hw/mips/loongson3_virt.c
    M hw/nubus/meson.build
    M hw/nubus/nubus-device.c
    A hw/nubus/nubus-virtio-mmio.c
    M hw/nvme/ctrl.c
    M hw/ppc/Kconfig
    M hw/ppc/mac_newworld.c
    M hw/ppc/sam460ex.c
    M hw/ppc/spapr.c
    M hw/sh4/Kconfig
    M hw/sh4/r2d.c
    M hw/usb/Kconfig
    M hw/usb/bus.c
    A hw/usb/hcd-ohci-sysbus.c
    M hw/usb/hcd-ohci.c
    M hw/usb/meson.build
    M include/hw/i386/pc.h
    M include/hw/i386/x86.h
    R include/hw/ide/internal.h
    M include/hw/misc/macio/macio.h
    A include/hw/nubus/nubus-virtio-mmio.h
    M include/hw/nubus/nubus.h
    M include/hw/sysbus.h
    M include/hw/usb.h
    M include/qom/object.h
    M qom/object.c

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

Misc HW patch queue

hw: Remove sysbus_address_space() (Phil)
hw/nubus: Add nubus-virtio-mmio device (Mark)
hw/usb: Remove usb_bus_find() (Paolo)
hw/usb: Extract sysbus-ohci from ohci (Paolo)
hw/nvme: Fix invalid endian conversion
hw/i386: More PC machine housekeeping (Bernhard, Phil)
hw/ide: Restrict "ide-internal.h" (Zoltan, Phil)
qom: Expose object_resolve_type_unambiguous() (Paolo)

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmXdn3MACgkQ4+MsLN6t
# wN6JhxAAsiLQlbCH+qQw7DvbNBrbYbmDZxx4vlJ2VGFO9SrChFR/2Jnd4z93B1Ry
# IfMyAUm1iu1tgGn9jotGFYsx6tEaL+E8xLdFGNFs85xXNv7q0q3EGlPA0QqNT3Lw
# PJvFk4aBHEDoHzyZk1VwUD3ZyAFcTl6RwcUfCD3/VsqqBBlKJ6mf9tkaGrOqG/cy
# Jjg0jIZOOrWQ77FAlIaPeqZMHfzU556SlKXRyU2TpvC/Q17YsRmwSpJyUr0dNy6A
# VNnBchJpaHxxEFVXrGxu5dkZ6am+pnNWloCILFqqbshpwrpWVsnarB3sbo78L+tV
# tEW3mKGanVpFAzeOT5CKIxHi5V+DSlriKD36XUeOr+A2CBjYkpVAWTluRaAX4BaK
# 9qMkt8AhQdDZd5+Vqvp6UwYfZT1gnPhAbhFNapINGJhtTz5xY2qCLFBBsFYkcf4x
# XvTJr/JgvxyTReH12Sl1HbOooC4Vuw/JpK/YPIA/UA2UfGGCOR+i5z6Lp6dNTswo
# rYv/aUdw2g2zdOHHJqMC9diCu2movfe8+W8o8pK0Z40zbkuLk+zW+j0lcqbEe6w4
# qa32kD75OisvPhcphOEzXOpihdIugqyKkLOCB/+Rg5t+K5hAEBMcGv2ZXvUMq41W
# mI5h9DEcmGxix4lCxmR4Cjxdet/Z3yp85GAoZC3piqURrNLCbM8=
# =2MiE
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 27 Feb 2024 08:38:11 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-20240227' of https://github.com/philmd/qemu: (30 commits)
  hw/ide: Include 'ide-internal.h' from current path
  hw/ide: Remove last two uses of ide/internal.h outside of hw/ide/
  hw/arm/sbsa-ref: Do not open-code ahci_ide_create_devs()
  hw/i386/pc: Populate RTC attribute directly
  hw/i386/pc: Remove unneeded class attribute "kvmclock_enabled"
  hw/i386/pc_{piix, q35}: Eliminate local pci_bus/pci_host variables
  hw/i386/pc: Rename "bus" attribute to "pcibus"
  hw/i386/q35: Include missing 'hw/acpi/acpi.h' header
  hw/i386/sgx: Use QDev API
  hw/i386/x86: Let ioapic_init_gsi() take parent as pointer
  hw/nvme: fix invalid endian conversion
  hw/usb: remove duplicate file in system_ss
  hw/usb: extract sysbus-ohci to a separate file
  hw/usb: remove usb_bus_find
  hw/ppc/pseries: do not require CONFIG_USB
  hw/ppc/mac_newworld: do not require CONFIG_USB
  hw/hppa: do not require CONFIG_USB
  hw/mips/loongson3_virt: do not require CONFIG_USB
  hw/sh4/r2d: do not use usb_bus_find()
  hw/ppc/sam460ex: do not use usb_bus_find()
  ...

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


Compare: https://github.com/qemu/qemu/compare/1b330dafcdc3...dccbaf0cc0f1

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]