android_kernel_sony_sdm845/drivers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mika Westerberg ca558fb836 PCI: pciehp: Clear Presence Detect and Data Link Layer Status Changed on resume
commit 13c65840feab8109194f9490c9870587173cb29d upstream.

After a suspend/resume cycle the Presence Detect or Data Link Layer Status
Changed bits might be set.  If we don't clear them those events will not
fire anymore and nothing happens for instance when a device is now
hot-unplugged.

Fix this by clearing those bits in a newly introduced function
pcie_reenable_notification().  This should be fine because immediately
after, we check if the adapter is still present by reading directly from
the status register.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-03 11:23:10 +02:00
..
accessibility
acpi ACPICA: acpi: acpica: fix acpi operand cache leak in nseval.c 2018-05-30 07:50:45 +02:00
amba ARM: amba: Don't read past the end of sysfs "driver_override" buffer 2018-05-01 15:13:08 -07:00
android binder: add missing binder_unlock() 2018-02-28 10:18:33 +01:00
ata libata: Drop SanDisk SD7UB3Q*G1001 NOLPM quirk 2018-06-26 08:08:08 +08:00
atm atm: zatm: fix memcmp casting 2018-06-26 08:08:05 +08:00
auxdisplay auxdisplay: img-ascii-lcd: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE 2018-02-13 12:35:55 +01:00
base driver core: Don't ignore class_dir_create_and_add() failure. 2018-06-26 08:08:07 +08:00
bcma
block cdrom: do not call check_disk_change() inside cdrom_open() 2018-05-30 07:50:47 +02:00
bluetooth Bluetooth: hci_qca: Avoid missing rampatch failure with userspace fw loader 2018-07-03 11:23:07 +02:00
bus bus: brcmstb_gisb: correct support for 64-bit address output 2018-04-13 19:47:56 +02:00
cdrom cdrom: do not call check_disk_change() inside cdrom_open() 2018-05-30 07:50:47 +02:00
char ipmi:bt: Set the timeout before doing a capabilities check 2018-07-03 11:23:07 +02:00
clk clk: renesas: cpg-mssr: Stop using printk format %pCr 2018-07-03 11:23:06 +02:00
clocksource clocksource/drivers/fsl_ftm_timer: Fix error return checking 2018-05-30 07:50:32 +02:00
connector
cpufreq cpufreq: Fix new policy initialization during limits updates via sysfs 2018-06-26 08:08:08 +08:00
cpuidle cpuidle: powernv: Fix promotion from snooze if next state disabled 2018-07-03 11:23:08 +02:00
crypto crypto: omap-sham - fix memleak 2018-06-16 09:52:35 +02:00
dax device-dax: implement ->split() to catch invalid munmap attempts 2018-02-28 10:18:33 +01:00
dca
devfreq PM / devfreq: Fix potential NULL pointer dereference in governor_store 2018-04-13 19:48:09 +02:00
dio
dma dmaengine: qcom: bam_dma: get num-channels and num-ees from dt 2018-05-30 07:50:48 +02:00
dma-buf dma-buf: remove redundant initialization of sg_table 2018-06-06 16:44:33 +02:00
edac EDAC, mv64x60: Fix an error handling path 2018-04-13 19:48:30 +02:00
eisa
extcon extcon: palmas: Check the parent instance to prevent the NULL 2017-11-21 09:23:21 +01:00
firewire firewire-ohci: work around oversized DMA reads on JMicron controllers 2018-05-30 07:50:18 +02:00
firmware firmware: dmi_scan: Fix handling of empty DMI strings 2018-05-30 07:50:24 +02:00
fmc
fpga
gpio gpio: No NULL owner 2018-06-16 09:52:33 +02:00
gpu drm: set FMODE_UNSIGNED_OFFSET for drm files 2018-06-13 16:16:41 +02:00
hid HID: intel_ish-hid: ipc: register more pm callbacks to support hibernation 2018-06-26 08:08:08 +08:00
hsi HSI: ssi_protocol: double free in ssip_pn_xmit() 2018-03-24 11:00:12 +01:00
hv Drivers: hv: vmbus: do not mark HV_PCIE as perf_device 2018-04-20 08:20:41 +02:00
hwmon hwmon: (pmbus/adm1275) Accept negative page register values 2018-05-30 07:50:46 +02:00
hwspinlock
hwtracing hwtracing: stm: fix build error on some arches 2018-06-06 16:44:38 +02:00
i2c i2c: mv64xxx: Apply errata delay only in standard mode 2018-05-30 07:50:45 +02:00
ide cdrom: do not call check_disk_change() inside cdrom_open() 2018-05-30 07:50:47 +02:00
idle idle: i7300: add PCI dependency 2018-02-25 11:05:55 +01:00
iio iio:kfifo_buf: check for uint overflow 2018-06-06 16:44:37 +02:00
infiniband RDMA/mlx4: Discard unknown SQP work requests 2018-07-03 11:23:09 +02:00
input Input: elan_i2c - add ELAN0612 (Lenovo v330 14IKB) ACPI ID 2018-06-16 09:52:34 +02:00
iommu iommu/vt-d: Use domain instead of cache fetching 2018-05-30 07:50:20 +02:00
ipack
irqchip arm64: Add hypervisor safe helper for checking constant capabilities 2018-06-06 16:44:35 +02:00
isdn isdn: eicon: fix a missing-check bug 2018-06-13 16:16:42 +02:00
leds leds: pca955x: Correct I2C Functionality 2018-04-13 19:48:03 +02:00
lguest
lightnvm
macintosh drivers: macintosh: rack-meter: really fix bogus memsets 2018-05-30 07:50:42 +02:00
mailbox
mcb MCB: add support for SC31 to mcb-lpc 2017-09-09 17:39:41 +02:00
md dm bufio: avoid false-positive Wmaybe-uninitialized warning 2018-06-13 16:16:44 +02:00
media media: cx25821: prevent out-of-bounds read on array card 2018-05-25 16:13:13 +02:00
memory ARM: OMAP2+: gpmc-onenand: propagate error on initialization failure 2017-12-14 09:28:16 +01:00
memstick
message scsi: mptfusion: Add bounds check in mptctl_hp_targetinfo() 2018-05-25 16:13:06 +02:00
mfd mfd: palmas: Reset the POWERHOLD mux during power off 2018-03-24 11:00:16 +01:00
misc vmw_balloon: fixing double free when batching mode is off 2018-06-16 09:52:34 +02:00
mmc mmc: sdhci-iproc: fix 32bit writes for TRANSFER_MODE register 2018-05-30 07:50:16 +02:00
mtd mtd: cfi_cmdset_0002: Avoid walking all chips when unlocking. 2018-07-03 11:23:10 +02:00
net bonding: re-evaluate force_primary when the primary slave name changes 2018-06-26 08:08:06 +08:00
nfc NFC: pn533: change order of free_irq and dev unregistration 2018-03-22 09:17:46 +01:00
ntb ntb_transport: Fix bug with max_mw_size parameter 2018-05-30 07:50:22 +02:00
nubus
nvdimm libnvdimm, namespace: use a safe lookup for dimm device name 2018-04-24 09:34:13 +02:00
nvme nvmet: don't overwrite identify sn/fr with 0-bytes 2018-06-16 09:52:33 +02:00
nvmem nvmem: imx-ocotp: Fix wrong register size 2017-08-06 18:59:48 -07:00
of of: unittest: for strings, account for trailing \0 in property length field 2018-07-03 11:23:08 +02:00
oprofile
parisc parisc/pci: Switch LBA PCI bus from Hard Fail to Soft Fail mode 2018-05-30 07:50:43 +02:00
parport parport_pc: Add support for WCH CH382L PCI-E single parallel port card. 2018-04-08 12:12:57 +02:00
pci PCI: pciehp: Clear Presence Detect and Data Link Layer Status Changed on resume 2018-07-03 11:23:10 +02:00
pcmcia
perf drivers/perf: arm_pmu: handle no platform_device 2018-03-22 09:17:51 +01:00
phy phy: work around 'phys' references to usb-nop-xceiv devices 2018-01-23 19:57:07 +01:00
pinctrl Revert "pinctrl: msm: Use dynamic GPIO numbering" 2018-06-06 16:44:32 +02:00
platform platform/x86: asus-wmi: Fix NULL pointer dereference 2018-06-26 08:08:05 +08:00
pnp
power power: supply: bq2415x: check for NULL acpi_id to avoid null pointer dereference 2018-04-29 11:31:56 +02:00
powercap PowerCap: Fix an error code in powercap_register_zone() 2018-04-13 19:47:56 +02:00
pps
ps3
ptp time: Change posix clocks ops interfaces to use timespec64 2018-03-24 11:00:09 +01:00
pwm pwm: rcar: Fix a condition to prevent mismatch value setting to duty 2018-04-24 09:34:14 +02:00
rapidio drivers/rapidio/devices/rio_mport_cdev.c: fix resource leak in error handling path in 'rio_dma_transfer()' 2017-12-14 09:28:22 +01:00
ras
regulator regulator: of: Add a missing 'of_node_put()' in an error handling path of 'of_regulator_match()' 2018-05-30 07:50:51 +02:00
remoteproc
reset reset: ti_syscon: fix a ti_syscon_reset_status issue 2017-10-08 10:26:03 +02:00
rpmsg
rtc rtc: tx4939: avoid unintended sign extension on a 24 bit shift 2018-05-25 16:13:15 +02:00
s390 s390/cio: clear timer when terminating driver I/O 2018-05-30 07:50:29 +02:00
sbus
scsi scsi: scsi_transport_srp: Fix shost to rport translation 2018-06-06 16:44:38 +02:00
sfi
sh
sn
soc soc: qcom: wcnss_ctrl: Fix increment in NV upload 2018-05-30 07:50:47 +02:00
spi spi: bcm-qspi: fIX some error handling paths 2018-05-30 07:50:45 +02:00
spmi
ssb
staging staging: android: ion: Switch to pr_warn_once in ion_buffer_destroy 2018-06-16 09:52:33 +02:00
target tcm_fileio: Prevent information leak for short reads 2018-03-24 11:00:20 +01:00
tc
thermal thermal: exynos: Propagate error value from tmu_read() 2018-05-16 10:08:44 +02:00
thunderbolt thunderbolt: Resume control channel after hibernation image is created 2018-04-24 09:34:12 +02:00
tty serial: sh-sci: Use spin_{try}lock_irqsave instead of open coding version 2018-07-03 11:23:06 +02:00
uio uio: fix incorrect memory leak cleanup 2018-04-13 19:47:59 +02:00
usb usb: do not reset if a low-speed or full-speed device timed out 2018-07-03 11:23:06 +02:00
uwb uwb: ensure that endpoint is interrupt 2017-10-12 11:51:19 +02:00
vfio vfio/pci: Virtualize Maximum Read Request Size 2018-04-24 09:34:15 +02:00
vhost vhost: fix info leak due to uninitialized memory 2018-06-26 08:08:08 +08:00
video fbdev: Fixing arbitrary kernel leak in case FBIOGETCMAP_SPARC in sbusfb_ioctl_helper(). 2018-05-30 07:50:35 +02:00
virt
virtio virtio_ring: fix num_free handling in error case 2018-03-18 11:18:50 +01:00
vlynq
vme
w1 1wire: family module autoload fails because of upper/lower case mismatch. 2018-07-03 11:23:06 +02:00
watchdog watchdog: sbsa: use 32-bit read for WCV 2018-05-30 07:50:34 +02:00
xen xen/acpi: off by one in read_acpi_id() 2018-05-30 07:50:42 +02:00
zorro zorro: Set up z->dev.dma_mask for the DMA API 2018-05-30 07:50:44 +02:00
Kconfig
Makefile usb: build drivers/usb/common/ when USB_SUPPORT is set 2018-02-25 11:05:45 +01:00