android_kernel_samsung_a7y1.../arch
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
..
alpha
arc ARC: perf: Accommodate big-endian CPU 2020-04-07 12:37:04 +02:00
arm ARM: ks8695: fix section mismatch warning 2020-04-07 12:41:16 +02:00
arm64 arm64: smp: Handle errors reported by the firmware 2020-04-07 12:41:12 +02:00
avr32
blackfin
c6x
cris
frv
h8300
hexagon
ia64 ia64:unwind: fix double free for mod->arch.init_unw_table 2020-04-07 07:38:19 +02:00
m32r
m68k
metag
microblaze microblaze: move "... is ready" messages to arch/microblaze/Makefile 2020-04-07 12:41:36 +02:00
mips MIPS: kexec: Relax memory restriction 2020-04-07 12:29:11 +02:00
mn10300
nios2
openrisc openrisc: Fix broken paths to arch/or32 2020-04-07 12:42:07 +02:00
parisc parisc: Fix vmap memory leak in ioremap()/iounmap() 2020-04-07 09:26:56 +02:00
powerpc powerpc/pseries/dlpar: Fix a missing check in dlpar_parse_cc_property() 2020-04-07 12:43:12 +02:00
s390 KVM: s390: unregister debug feature on failing arch init 2020-04-07 12:41:46 +02:00
score
sh sh: kernel: hw_breakpoint: Fix missing break in switch statement 2020-04-06 20:39:52 +02:00
sparc sparc64: Rework xchg() definition to avoid warnings. 2020-04-07 12:35:33 +02:00
tile
um um: Make GCOV depend on !KCOV 2020-04-07 12:42:32 +02:00
unicore32
x86 x86/PCI: Avoid AMD FCH XHCI USB PME# from D0 defect 2020-04-07 12:43:56 +02:00
xtensa xtensa: drop EXPORT_SYMBOL for outs*/ins* 2020-04-07 09:26:54 +02:00
Kconfig