android_kernel_samsung_a7y1.../arch/x86
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
..
boot x86, boot: Remove multiple copy of static function sanitize_boot_params() 2020-04-06 21:35:01 +02:00
configs A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
crypto crypto: x86/crct10dif-pcl - fix use via crypto_shash_digest() 2020-04-06 18:12:16 +02:00
entry x86/vdso: Remove direct HPET access through the vDSO 2020-04-06 20:50:21 +02:00
ia32 x86/ia32: Fix ia32_restore_sigcontext() AC leak 2020-04-06 18:19:56 +02:00
include kprobes, x86/ptrace.h: Make regs_get_kernel_stack_nth() not fault on bad stack 2020-04-07 12:34:58 +02:00
kernel x86/apic/32: Avoid bogus LDR warnings 2020-04-07 12:43:50 +02:00
kvm KVM/x86: Fix invvpid and invept register operand size in 64-bit mode 2020-04-07 12:34:42 +02:00
lguest A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lib x86/asm: Fix MWAITX C-state hint value 2020-04-07 08:15:35 +02:00
math-emu x86: math-emu: Hide clang warnings for 16-bit overflow 2020-04-06 20:27:16 +02:00
mm x86/mm: Sync also unmappings in vmalloc_sync_all() 2020-04-06 20:38:19 +02:00
net A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
oprofile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci x86/PCI: Avoid AMD FCH XHCI USB PME# from D0 defect 2020-04-07 12:43:56 +02:00
platform efi/x86: Do not clean dummy variable in kexec path 2020-04-07 09:27:44 +02:00
power x86/CPU/AMD: Clear RDRAND CPUID bit on AMD family 15h/16h 2020-04-06 21:32:57 +02:00
purgatory A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ras A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
realmode x86/build: Specify elf_i386 linker emulation explicitly for i386 objects 2020-04-06 14:56:37 +02:00
tools x86/insn: Fix awk regexp warnings 2020-04-07 12:37:06 +02:00
um um: Compile with modern headers 2020-04-06 19:17:39 +02:00
video A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
xen A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kbuild A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig x86/olpc: Fix build error with CONFIG_MFD_CS5535=m 2020-04-07 12:32:51 +02:00
Kconfig.cpu A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig.debug A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile x86/build: Add -Wnoaddress-of-packed-member to REALMODE_CFLAGS, to silence GCC9 build warning 2020-04-06 21:35:54 +02:00
Makefile_32.cpu A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile.um A750FXXU4CTBC 2020-03-27 21:51:54 +05:30