coreboot-kgpe-d16/src/drivers
Raul E Rangel d8bc5c127a drivers/usb/pci_xhci: Don't return ACPI names for missing ports
We only want to return an ACPI name for a USB port if the controller
physically has the port. This has the desired side effect of making the
usb_acpi driver skip generating an ACPI node for a device which has
no port. This prevents writing an invalid SSDT table which the OS then
complains about.

BUG=b:154756391, b:158096224
TEST=Boot picasso trembyle and verify HS05, HS06 and SS05 are no longer
generated. Also checked the logs and saw the devices being ignored.
\_SB.PCI0.LPCB.EC0.CREC.TUN0: Cros EC I2C Tunnel at GENERIC: 0.0
\_SB.PCI0.LPCB.EC0.CREC.MSTH: Cros EC I2C Tunnel at GENERIC: 1.0
\_SB.PCI0.LPCB.EC0.CREC.ECA0: Cros EC audio codec at GENERIC: 0.0
\_SB.PCI0.PBRA.XHC0.RHUB.HS01: Left Type-C Port at USB2 port 0
\_SB.PCI0.PBRA.XHC0.RHUB.HS02: Left Type-A Port at USB2 port 1
\_SB.PCI0.PBRA.XHC0.RHUB.HS03: Right Type-A Port at USB2 port 2
\_SB.PCI0.PBRA.XHC0.RHUB.HS04: Right Type-C Port at USB2 port 3
xhci_acpi_name: USB2 port 4 does not exist on xHC PCI: 03:00.3
xhci_acpi_name: USB2 port 5 does not exist on xHC PCI: 03:00.3
\_SB.PCI0.PBRA.XHC0.RHUB.SS01: Left Type-C Port at USB3 port 0
\_SB.PCI0.PBRA.XHC0.RHUB.SS02: Left Type-A Port at USB3 port 1
\_SB.PCI0.PBRA.XHC0.RHUB.SS03: Right Type-A Port at USB3 port 2
\_SB.PCI0.PBRA.XHC0.RHUB.SS04: Right Type-C Port at USB3 port 3
xhci_acpi_name: USB3 port 4 does not exist on xHC PCI: 03:00.3

Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: Ia645380bea74f39fd94e2f9cbca3fcd4d18a878e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43354
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Rob Barnes <robbarnes@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-07-12 17:02:57 +00:00
..
amd/agesa arch/x86: Drop CBMEM_TOP_BACKUP 2020-07-11 14:48:25 +00:00
ams treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
analogix/anx7625 src: Remove unused '#include <timer.h>' 2020-06-02 07:39:05 +00:00
asmedia src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
aspeed aspeed/ast2050: Fix when resources are added 2020-05-14 21:25:59 +00:00
broadcom src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
crb treewide: Convert more license headers to SPDX style 2020-05-11 19:37:19 +00:00
elog ACPI,drivers/: Do not guard <acpi/acpi.h> 2020-06-18 12:56:01 +00:00
emulation/qemu drivers/emulation/qemu/bochs: Rewrite driver 2020-05-20 09:50:29 +00:00
generic drivers/generic/generic: Drop dead code 2020-07-09 23:54:30 +00:00
gfx/generic src: Remove unused '#include <stdint.h>' 2020-05-13 08:48:17 +00:00
gic treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
i2c drivers/i2c/w83793: Drop dead code 2020-07-11 00:00:30 +00:00
intel drivers/intel/gma/i915_reg.h: Drop dead code 2020-07-09 23:51:23 +00:00
ipmi drivers/ipmi: Increase BMC waiting message level from DEBUG to INFO 2020-07-06 06:30:14 +00:00
lenovo src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
maxim src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
mrc_cache drivers/mrc_cache: generate debug messages for MRC cache update 2020-06-07 21:51:32 +00:00
net drivers: Use SPDX identifiers 2020-05-25 22:19:21 +00:00
ocp/dmi drivers/ocp/dmi: Add OCP_DMI driver for populating SMBIOS from IPMI FRU data 2020-07-04 11:31:16 +00:00
parade src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
pc80 drivers/pc80/pc/i8259c: Drop dead code 2020-07-09 23:45:08 +00:00
ricoh/rce822 treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
secunet/dmi treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
siemens/nc_fpga src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
sil/3114 treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smmstore smmstore: Verify userspace-provided pointer to protect SMM 2020-06-17 09:18:05 +00:00
soundwire drivers/soundwire/alc5682: Support Realtek ALC5682 SoundWire device 2020-05-22 01:48:59 +00:00
spi acpi_device: Replace polarity with active_low in acpi_gpio for GpioIo 2020-07-02 19:12:46 +00:00
ti drivers/ti/tps65090: Drop dead code 2020-07-09 23:51:41 +00:00
tpm ACPI,drivers/: Do not guard <acpi/acpi.h> 2020-06-18 12:56:01 +00:00
uart acpi_device: Replace polarity with active_low in acpi_gpio for GpioIo 2020-07-02 19:12:46 +00:00
usb drivers/usb/pci_xhci: Don't return ACPI names for missing ports 2020-07-12 17:02:57 +00:00
vpd drivers/vpd: add VPD region VPD_RW_THEN_RO 2020-06-02 07:18:40 +00:00
wifi Kconfig: Escape variable to accommodate new Kconfig versions 2020-06-19 15:29:04 +00:00