mirror-linux/drivers/pci
Mario Limonciello (AMD) a78835b86a PCI/VGA: Select SCREEN_INFO on X86
commit 337bf13aa9 ("PCI/VGA: Replace vga_is_firmware_default() with a
screen info check") introduced an implicit dependency upon SCREEN_INFO by
removing the open coded implementation.

If a user didn't have CONFIG_SCREEN_INFO set, vga_is_firmware_default()
would now return false.  SCREEN_INFO is only used on X86 so add a
conditional select for SCREEN_INFO to ensure that the VGA arbiter works as
intended.

Fixes: 337bf13aa9 ("PCI/VGA: Replace vga_is_firmware_default() with a screen info check")
Reported-by: Eric Biggers <ebiggers@kernel.org>
Closes: https://lore.kernel.org/linux-pci/20251012182302.GA3412@sol/
Suggested-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tested-by: Eric Biggers <ebiggers@kernel.org>
Link: https://patch.msgid.link/20251013220829.1536292-1-superm1@kernel.org
2025-10-17 08:31:14 -05:00
..
controller PCI: vmd: Override irq_startup()/irq_shutdown() in vmd_init_dev_msi_info() 2025-10-17 08:30:34 -05:00
endpoint PCI: endpoint: pci-epf-test: Add NULL check for DMA channels before release 2025-09-16 12:11:04 +05:30
hotplug PCI: hotplug: Clean up spaces in messages 2025-08-11 15:01:50 -05:00
msi Devicetree updates for v6.18: 2025-10-01 16:58:24 -07:00
pcie Merge branch 'pci/aspm' 2025-10-03 12:13:07 -05:00
pwrctrl PCI/pwrctrl: Fix double cleanup on devm_add_action_or_reset() failure 2025-08-13 14:34:27 -05:00
switch PCI: switchtec: Replace manual locks with guard 2025-08-28 10:39:54 -05:00
Kconfig PCI/VGA: Select SCREEN_INFO on X86 2025-10-17 08:31:14 -05:00
Makefile
access.c
ats.c
bus.c Merge branch 'pci/resource' 2025-10-03 12:13:12 -05:00
devres.c
doe.c
ecam.c
host-bridge.c
iomap.c
iov.c PCI/IOV: Add PCI rescan-remove locking when enabling/disabling SR-IOV 2025-09-26 15:55:59 -05:00
irq.c
mmap.c
npem.c
of.c
of_property.c PCI: of: Update parent unit address generation in of_pci_prop_intr_map() 2025-09-12 14:17:57 -05:00
p2pdma.c PCI/P2PDMA: Reduce scope of pci_has_p2pmem() 2025-09-03 17:01:39 -05:00
pci-acpi.c PCI/ACPI: Fix pci_acpi_preserve_config() memory leak 2025-08-27 17:28:07 -05:00
pci-bridge-emul.c
pci-bridge-emul.h
pci-driver.c s390/pci: Use pci_uevent_ers() in PCI recovery 2025-08-14 15:56:28 -05:00
pci-label.c
pci-mid.c
pci-pf-stub.c
pci-stub.c
pci-sysfs.c More power management updates for 6.18-rc1 2025-10-07 09:39:51 -07:00
pci.c pci-v6.18-changes 2025-10-06 10:41:03 -07:00
pci.h Merge branch 'pci/capability-search' 2025-10-03 12:13:14 -05:00
probe.c PCI: Revert early bridge resource set up 2025-10-14 15:36:07 -05:00
proc.c
quirks.c pci-v6.18-changes 2025-10-06 10:41:03 -07:00
remove.c Merge branch 'pci/virtualization' 2025-10-03 12:13:12 -05:00
rom.c
search.c
setup-bus.c PCI: Fix regression in pci_bus_distribute_available_resources() 2025-10-08 16:36:31 -05:00
setup-res.c PCI: Fix finding bridge window in pci_reassign_bridge_resources() 2025-09-16 11:19:31 -05:00
slot.c
syscall.c
tph.c
vc.c
vgaarb.c PCI/VGA: Select SCREEN_INFO on X86 2025-10-17 08:31:14 -05:00
vpd.c
xen-pcifront.c