android_kernel_sony_sdm845/drivers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Johannes Berg 2724748a46 iwlwifi: mvm: guard against device removal in reprobe
[ Upstream commit 7a21b1d4a728a483f07c638ccd8610d4b4f12684 ]

If we get into a problem severe enough to attempt a reprobe,
we schedule a worker to do that. However, if the problem gets
more severe and the device is actually destroyed before this
worker has a chance to run, we use a free device. Bump up the
reference count of the device until the worker runs to avoid
this situation.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20210122144849.871f0892e4b2.I94819e11afd68d875f3e242b98bef724b8236f1e@changeid
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-02-23 13:59:14 +01:00
..
accessibility
acpi ACPI: thermal: Do not call acpi_thermal_check() directly 2021-02-10 09:09:27 +01:00
amba
android binder: Prevent context manager from incrementing ref 0 2020-08-21 11:01:55 +02:00
ata ata: sata_rcar: Fix DMA boundary mask 2020-11-10 10:23:51 +01:00
atm atm: idt77252: call pci_disable_device() on error path 2021-01-12 19:49:01 +01:00
auxdisplay
base Revert "device property: Keep secondary firmware node secondary by type" 2021-01-12 19:49:05 +01:00
bcma bcma: fix incorrect update of BCMA_CORE_PCI_MDIO_DATA 2020-01-29 10:24:31 +01:00
block block: rsxx: select CONFIG_CRC32 2021-01-17 13:57:55 +01:00
bluetooth Bluetooth: btusb: fix PM leak in error case of setup 2020-01-12 11:24:16 +01:00
bus mips: cdmm: fix use-after-free in mips_cdmm_bus_discover 2020-12-29 13:44:56 +01:00
cdrom cdrom: respect device capabilities during opening action 2020-01-04 13:41:02 +01:00
char random32: make prandom_u32() output unpredictable 2020-11-18 18:26:29 +01:00
clk clk: mvebu: a3700: fix the XTAL MODE pin to MPP1_9 2020-12-29 13:45:07 +01:00
clocksource clocksource/drivers/arm_arch_timer: Correct fault programming of CNTKCTL_EL1.EVNTI 2020-12-29 13:44:58 +01:00
connector
cpufreq cpufreq: powernow-k8: pass policy rather than use cpufreq_cpu_get() 2021-01-17 13:57:54 +01:00
cpuidle cpuidle: Fix three reference count leaks 2020-06-20 10:24:18 +02:00
crypto crypto: omap-aes - Fix PM disable depth imbalance in omap_aes_probe 2020-12-29 13:44:55 +01:00
dax
dca
devfreq PM / devfreq: tegra30: Fix integer overflow on CPU's freq max out 2020-10-01 20:40:02 +02:00
dio
dma dmaengine: xilinx_dma: fix mixed_enum_type coverity warning 2021-01-17 13:57:54 +01:00
dma-buf dma-buf: Fix memory leak in sync_file_merge() 2019-12-21 10:42:32 +01:00
edac EDAC/i5100: Fix error handling order in i5100_init_one() 2020-10-29 09:05:32 +01:00
eisa
extcon extcon: max77693: Fix modalias string 2020-12-29 13:45:00 +01:00
firewire net: add annotations on hh->hh_len lockless accesses 2020-01-12 11:24:19 +01:00
firmware efi: Make it possible to disable efivar_ssdt entirely 2020-07-09 09:35:57 +02:00
fmc
fpga
gpio gpio: tc35894: fix up tc35894 interrupt configuration 2020-10-14 09:48:12 +02:00
gpu drm/nouveau/i2c/gm200: increase width of aux semaphore owner fields 2021-01-30 13:27:14 +01:00
hid HID: i2c-hid: add Vero K147 to descriptor override 2020-12-29 13:44:52 +01:00
hsi HSI: omap_ssi: Don't jump to free ID in ssi_add_controller() 2020-12-29 13:44:56 +01:00
hv Drivers: hv: vmbus: Add timeout to vmbus_wait_for_unload 2020-09-23 08:46:15 +02:00
hwmon hwmon: (applesmc) check status earlier. 2020-09-12 11:47:32 +02:00
hwspinlock
hwtracing stm class: Fix module init return on allocation failure 2021-01-30 13:27:14 +01:00
i2c i2c: octeon: check correct size of maximum RECV_LEN packet 2021-01-30 13:27:14 +01:00
ide block: Move SECTOR_SIZE and SECTOR_SHIFT definitions into <linux/blkdev.h> 2020-09-12 11:47:36 +02:00
idle
iio iio: ad5504: Fix setting power-down state 2021-01-30 13:27:14 +01:00
infiniband RDMA/cxgb4: Fix the reported max_recv_sge value 2021-02-03 23:19:51 +01:00
input Input: xpad - sync supported devices with fork on GitHub 2021-02-10 09:09:27 +01:00
iommu iommu/vt-d: Do not use flush-queue when caching-mode is on 2021-02-10 09:09:27 +01:00
ipack
irqchip irqchip/alpine-msi: Fix freeing of interrupts on allocation error path 2020-12-29 13:45:00 +01:00
isdn misdn: dsp: select CONFIG_BITREVERSE 2021-01-23 15:38:17 +01:00
leds leds: trigger: fix potential deadlock with libata 2021-02-03 23:19:50 +01:00
lguest
lightnvm
macintosh drivers/macintosh: Fix memleak in windfarm_pm112 driver 2020-06-20 10:24:21 +02:00
mailbox
mcb
md dm: avoid filesystem lookup in dm_get_dev_t() 2021-01-30 13:27:14 +01:00
media media: gp8psk: initialize stats at power control logic 2021-01-09 13:35:49 +01:00
memory memory: emif: Remove bogus debugfs error handling 2020-11-10 10:23:55 +01:00
memstick memstick: r592: Fix error return in r592_probe() 2020-12-29 13:44:58 +01:00
message scsi: mptfusion: Fix null pointer dereferences in mptscsih_remove() 2020-11-10 10:23:57 +01:00
mfd misc: rtsx: Fix memory leak in rtsx_pci_probe 2020-10-29 09:05:44 +01:00
misc misc: vmw_vmci: fix kernel info-leak by initializing dbells in vmci_ctx_get_chkpt_doorbells() 2021-01-09 13:35:49 +01:00
mmc mmc: core: Limit retries when analyse of SDIO tuples fails 2021-02-10 09:09:26 +01:00
mtd mtd: parser: cmdline: Fix parsing of part-names with colons 2020-12-29 13:45:07 +01:00
net iwlwifi: mvm: guard against device removal in reprobe 2021-02-23 13:59:14 +01:00
nfc nfc: s3fwrn5: Release the nfc firmware 2020-12-29 13:45:00 +01:00
ntb NTB: hw: amd: fix an issue about leak system resources 2020-10-29 09:05:41 +01:00
nubus
nvdimm block: Move SECTOR_SIZE and SECTOR_SHIFT definitions into <linux/blkdev.h> 2020-09-12 11:47:36 +02:00
nvme nvmet: fix uninitialized work for zero kato 2020-10-29 09:05:41 +01:00
nvmem nvmem: qfprom: remove incorrect write support 2020-06-11 09:22:22 +02:00
of of/address: Fix of_node memory leak in of_dma_is_coherent 2020-11-18 18:26:27 +01:00
oprofile
parisc parisc: mask out enable and reserved bits from sba imask 2020-08-21 11:02:06 +02:00
parport parport: load lowlevel driver if ports not found 2020-01-04 13:39:55 +01:00
pci PCI: Fix pci_slot_release() NULL pointer dereference 2020-12-29 13:45:07 +01:00
pcmcia
perf
phy phy: tegra: xusb: Fix dangling pointer on probe failure 2020-12-02 08:31:27 +01:00
pinctrl pinctrl: falcon: add missing put_device() call in pinctrl_falcon_probe() 2020-12-29 13:44:58 +01:00
platform platform/x86: acer-wmi: add automatic keyboard background light toggle key as KEY_LIGHTS_TOGGLE 2020-12-29 13:44:47 +01:00
pnp
power power: supply: test_power: add missing newlines when printing parameters by sysfs 2020-11-10 10:23:54 +01:00
powercap powercap: restrict energy meter to root access 2020-11-10 21:04:57 +01:00
pps
ps3 powerpc/ps3: use dma_mapping_error() 2020-12-29 13:45:00 +01:00
ptp ptp: free ptp device pin descriptors properly 2020-05-20 08:15:33 +02:00
pwm pwm: bcm-iproc: handle clk_get_rate() return 2020-08-21 11:02:10 +02:00
rapidio rapidio: fix the missed put_device() for rio_mport_add_riodev 2020-10-29 09:05:39 +01:00
ras
regulator regulator: workaround self-referent regulators 2020-12-02 08:31:29 +01:00
remoteproc remoteproc: qcom_q6v5_mss: Validate MBA firmware size before load 2021-02-23 13:59:14 +01:00
reset reset: Fix potential use-after-free in __of_reset_control_get() 2019-11-25 09:53:42 +01:00
rpmsg
rtc rtc: rx8010: don't modify the global rtc ops 2020-11-10 10:23:59 +01:00
s390 s390/dasd: fix hanging device offline processing 2021-01-09 13:35:49 +01:00
sbus
scsi scsi: ibmvfc: Set default timeout to avoid crash during migration 2021-02-10 09:09:24 +01:00
sfi
sh
sn
soc soc: qcom: smp2p: Safely acquire spinlock without IRQs 2020-12-29 13:45:07 +01:00
spi spi: cadence: cache reference clock rate during probe 2021-01-23 15:38:19 +01:00
spmi
ssb
staging staging: comedi: mf6x4: Fix AI end-of-conversion detection 2020-12-29 13:45:03 +01:00
target target: add XCOPY target/segment desc sense codes 2021-01-17 13:57:53 +01:00
tc
thermal thermal: ti-soc-thermal: Fix bogus thermal shutdowns for omap4430 2020-09-12 11:47:34 +02:00
thunderbolt
tty serial_core: Check for port state when tty is in error state 2020-12-29 13:44:52 +01:00
uio uio_pdrv_genirq: fix use without device tree and no interrupt 2020-07-22 09:10:53 +02:00
usb xhci: fix bounce buffer usage for non-sg list case 2021-02-10 09:09:26 +01:00
uwb
vfio vfio/pci: Move dummy_resources_list init in vfio_pci_probe() 2021-01-09 13:35:48 +01:00
vhost vhost_net: fix ubuf refcount incorrectly when sendmsg fails 2021-01-12 19:49:02 +01:00
video video: hyperv_fb: Fix the mmap() regression for v5.4.y and older 2021-01-12 19:49:03 +01:00
virt drivers/virt/fsl_hypervisor: Fix error handling path 2020-10-29 09:05:35 +01:00
virtio virtio_ring: Avoid loop when vq is broken in virtqueue_poll 2020-08-26 10:29:05 +02:00
vlynq
vme vme: bridges: reduce stack usage 2020-02-28 15:42:33 +01:00
w1 w1: mxc_w1: Fix timeout resolution problem leading to bus error 2020-11-10 10:23:57 +01:00
watchdog watchdog: qcom: Avoid context switch in restart handler 2020-12-29 13:45:01 +01:00
xen xenbus/xenbus_backend: Disallow pending watch messages 2021-01-09 13:35:51 +01:00
zorro
Kconfig
Makefile