android_kernel_samsung_a7y1.../arch/x86/pci
Kai-Heng Feng 98cc458435 x86/PCI: Avoid AMD FCH XHCI USB PME# from D0 defect
commit 7e8ce0e2b036dbc6617184317983aea4f2c52099 upstream.

The AMD FCH USB XHCI Controller advertises support for generating PME#
while in D0.  When in D0, it does signal PME# for USB 3.0 connect events,
but not for USB 2.0 or USB 1.1 connect events, which means the controller
doesn't wake correctly for those events.

  00:10.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller [1022:7914] (rev 20) (prog-if 30 [XHCI])
        Subsystem: Dell FCH USB XHCI Controller [1028:087e]
        Capabilities: [50] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)

Clear PCI_PM_CAP_PME_D0 in dev->pme_support to indicate the device will not
assert PME# from D0 so we don't rely on it.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=203673
Link: https://lore.kernel.org/r/20190902145252.32111-1-kai.heng.feng@canonical.com
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 12:43:56 +02:00
..
acpi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
amd_bus.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
broadcom_bus.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bus_numa.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bus_numa.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ce4100.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
common.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
direct.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
early.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fixup.c x86/PCI: Avoid AMD FCH XHCI USB PME# from D0 defect 2020-04-07 12:43:56 +02:00
i386.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
init.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
intel_mid_pci.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
irq.c x86/PCI: Fix PCI IRQ routing table memory leak 2020-04-06 19:02:09 +02:00
legacy.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mmconfig_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mmconfig_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mmconfig-shared.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
numachip.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
olpc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcbios.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sta2x11-fixup.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
xen.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30