qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for 10.1] hw/pci-host/gpex-acpi: PCI_EXPRESS_GENERIC_BRIDGE: select ACPI_PCI instead of imply'ing it
@ 2025-07-28 15:24 Michael Tokarev
  2025-07-28 15:39 ` Eric Auger
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Tokarev @ 2025-07-28 15:24 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, Eric Auger, Michael Tokarev

Commit af151d50eac24 added dependency on hw/i386/acpi-build.c
(where this function is defined) to hw/pci-host/gpex-acpi.
But acpi-build.c is only built when ACPI_PCI is enabled,
and the build fails at link time if it is not.  So ACPI_PCI
becomes a hard dependency of PCI_EXPRESS_GENERIC_BRIDGE.
Fix it.

Fixes: af151d50eac24 "hw/pci-host/gpex-acpi: Use build_pci_host_bridge_osc_method"
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 hw/pci-host/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/pci-host/Kconfig b/hw/pci-host/Kconfig
index 9824fa188d..19b6605c7f 100644
--- a/hw/pci-host/Kconfig
+++ b/hw/pci-host/Kconfig
@@ -54,7 +54,7 @@ config PCI_EXPRESS_Q35
 config PCI_EXPRESS_GENERIC_BRIDGE
     bool
     select PCI_EXPRESS
-    imply ACPI_PCI
+    select ACPI_PCI
 
 config PCI_EXPRESS_XILINX
     bool
-- 
2.47.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-28 15:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-28 15:24 [PATCH for 10.1] hw/pci-host/gpex-acpi: PCI_EXPRESS_GENERIC_BRIDGE: select ACPI_PCI instead of imply'ing it Michael Tokarev
2025-07-28 15:39 ` Eric Auger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).