android_kernel_sony_sdm845/drivers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Christophe Leroy b0b77fb6c9 net: fs_enet: do not call phy_stop() in interrupts
[ Upstream commit f8b39039cbf2a15f2b8c9f081e1cbd5dee00aaf5 ]

In case of TX timeout, fs_timeout() calls phy_stop(), which
triggers the following BUG_ON() as we are in interrupt.

[92708.199889] kernel BUG at drivers/net/phy/mdio_bus.c:482!
[92708.204985] Oops: Exception in kernel mode, sig: 5 [#1]
[92708.210119] PREEMPT
[92708.212107] CMPC885
[92708.214216] CPU: 0 PID: 3 Comm: ksoftirqd/0 Tainted: G        W       4.9.61 #39
[92708.223227] task: c60f0a40 task.stack: c6104000
[92708.227697] NIP: c02a84bc LR: c02a947c CTR: c02a93d8
[92708.232614] REGS: c6105c70 TRAP: 0700   Tainted: G        W        (4.9.61)
[92708.241193] MSR: 00021032 <ME,IR,DR,RI>[92708.244818]   CR: 24000822  XER: 20000000
[92708.248767]
GPR00: c02a947c c6105d20 c60f0a40 c62b4c00 00000005 0000001f c069aad8 0001a688
GPR08: 00000007 00000100 c02a93d8 00000000 000005fc 00000000 c6213240 c06338e4
GPR16: 00000001 c06330d4 c0633094 00000000 c0680000 c6104000 c6104000 00000000
GPR24: 00000200 00000000 ffffffff 00000004 00000078 00009032 00000000 c62b4c00
NIP [c02a84bc] mdiobus_read+0x20/0x74
[92708.281517] LR [c02a947c] kszphy_config_intr+0xa4/0xc4
[92708.286547] Call Trace:
[92708.288980] [c6105d20] [c6104000] 0xc6104000 (unreliable)
[92708.294339] [c6105d40] [c02a947c] kszphy_config_intr+0xa4/0xc4
[92708.300098] [c6105d50] [c02a5330] phy_stop+0x60/0x9c
[92708.305007] [c6105d60] [c02c84d0] fs_timeout+0xdc/0x110
[92708.310197] [c6105d80] [c035cd48] dev_watchdog+0x268/0x2a0
[92708.315593] [c6105db0] [c0060288] call_timer_fn+0x34/0x17c
[92708.321014] [c6105dd0] [c00605f0] run_timer_softirq+0x21c/0x2e4
[92708.326887] [c6105e50] [c001e19c] __do_softirq+0xf4/0x2f4
[92708.332207] [c6105eb0] [c001e3c8] run_ksoftirqd+0x2c/0x40
[92708.337560] [c6105ec0] [c003b420] smpboot_thread_fn+0x1f0/0x258
[92708.343405] [c6105ef0] [c003745c] kthread+0xbc/0xd0
[92708.348217] [c6105f40] [c000c400] ret_from_kernel_thread+0x5c/0x64
[92708.354275] Instruction dump:
[92708.357207] 7c0803a6 bbc10018 38210020 4e800020 7c0802a6 9421ffe0 54290024 bfc10018
[92708.364865] 90010024 7c7f1b78 81290008 552902ee <0f090000> 3bc3002c 7fc3f378 90810008
[92708.372711] ---[ end trace 42b05441616fafd7 ]---

This patch moves fs_timeout() actions into an async worker.

Fixes: commit 48257c4f16 ("Add fs_enet ethernet network driver, for several embedded platforms")
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2018-11-10 07:43:01 -08:00
..
accessibility
acpi ACPI: sysfs: Make ACPI GPE mask kernel parameter cover all GPEs 2018-11-10 07:42:45 -08: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 ahci: don't ignore result code of ahci_reset_controller() 2018-11-10 07:42:59 -08:00
atm atm: zatm: Fix potential Spectre v1 2018-07-22 14:27:36 +02:00
auxdisplay auxdisplay: img-ascii-lcd: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE 2018-02-13 12:35:55 +01:00
base PM / core: Clear the direct_complete flag on errors 2018-10-13 09:18:54 +02:00
bcma
block nbd: only set MSG_MORE when we have more to send 2018-11-10 07:42:52 -08:00
bluetooth Bluetooth: Add a new Realtek 8723DE ID 0bda:b009 2018-10-03 17:01:42 -07:00
bus drivers/perf: arm-ccn: don't log to dmesg in event_init 2018-08-03 07:55:19 +02:00
cdrom cdrom: Fix info leak/OOB read in cdrom_ioctl_drive_status 2018-09-05 09:20:11 +02:00
char tpm/tpm_i2c_infineon: switch to i2c_lock_bus(..., I2C_LOCK_SEGMENT) 2018-09-19 22:47:15 +02:00
clk clk: samsung: Fix m2m scaler clock on Exynos542x 2018-11-10 07:42:50 -08:00
clocksource clocksource/drivers/ti-32k: Add CLOCK_SOURCE_SUSPEND_NONSTOP flag for non-am43 SoCs 2018-10-20 09:51:30 +02:00
connector
cpufreq sched/cputime: Convert kcpustat to nsecs 2018-10-20 09:51:32 +02:00
cpuidle cpuidle: powernv: Fix promotion from snooze if next state disabled 2018-07-03 11:23:08 +02:00
crypto crypto: mxs-dcp - Fix wait logic on chan threads 2018-10-10 08:53:23 +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: mv_xor_v2: kill the tasklets upon exit 2018-09-26 08:36:34 +02:00
dma-buf dma-buf: remove redundant initialization of sg_table 2018-06-06 16:44:33 +02:00
edac EDAC: Fix memleak in module init error path 2018-10-03 17:01:48 -07:00
eisa
extcon
firewire firewire-ohci: work around oversized DMA reads on JMicron controllers 2018-05-30 07:50:18 +02:00
firmware efi/esrt: Only call efi_mem_reserve() for boot services memory 2018-09-26 08:36:38 +02:00
fmc
fpga
gpio gpio: mxs: Get rid of external API call 2018-11-10 07:43:00 -08:00
gpu drm/edid: Add 6 bpc quirk for BOE panel in HP Pavilion 15-n233sl 2018-11-10 07:43:00 -08:00
hid HID: quirks: fix support for Apple Magic Keyboards 2018-10-20 09:51:32 +02:00
hsi HSI: ssi_protocol: double free in ssip_pn_xmit() 2018-03-24 11:00:12 +01:00
hv HV: properly delay KVP packets when negotiation is in progress 2018-10-20 09:51:33 +02:00
hwmon hwmon: (adt7475) Make adt7475_read_word() return errors 2018-10-03 17:01:52 -07:00
hwspinlock
hwtracing coresight: tpiu: Fix disabling timeouts 2018-09-26 08:36:39 +02:00
i2c i2c: bcm2835: Avoid possible NULL ptr dereference 2018-11-10 07:42:45 -08: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: pressure: zpa2326: Remove always-true check which confuses gcc 2018-11-10 07:42:54 -08:00
infiniband IB/ucm: Fix Spectre v1 vulnerability 2018-11-10 07:43:00 -08:00
input Input: elan_i2c - add ACPI ID for Lenovo IdeaPad 330-15IGM 2018-11-10 07:43:01 -08:00
iommu iommu/amd: Return devid as alias for ACPI HID devices 2018-10-20 09:51:31 +02:00
ipack
irqchip irqchip/bcm7038-l1: Hide cpu offline callback when building for !SMP 2018-09-15 09:42:58 +02:00
isdn isdn: Disable IIOCDBGVAR 2018-08-22 07:47:14 +02:00
leds leds: pca955x: Correct I2C Functionality 2018-04-13 19:48:03 +02:00
lguest
lightnvm
macintosh macintosh/rack-meter: Convert cputime64_t use to u64 2018-10-20 09:51:32 +02:00
mailbox mailbox: xgene-slimpro: Fix potential NULL pointer dereference 2018-09-09 20:01:19 +02:00
mcb
md dm cache: fix resize crash if user doesn't reload cache table 2018-10-13 09:18:55 +02:00
media media: af9035: prevent buffer overflow on write 2018-10-20 09:51:30 +02:00
memory memory: tegra: Apply interrupts mask per SoC 2018-08-03 07:55:24 +02:00
memstick
message scsi: mptfusion: Add bounds check in mptctl_hp_targetinfo() 2018-05-25 16:13:06 +02:00
mfd mfd: omap-usb-host: Fix dts probe of children 2018-10-18 09:13:20 +02:00
misc vmci: type promotion bug in qp_host_get_user_memory() 2018-10-03 17:01:42 -07:00
mmc mmc: sdhci: do not try to use 3.3V signaling if not supported 2018-09-26 08:36:38 +02:00
mtd mtd: spi-nor: Add support for is25wp series chips 2018-11-10 07:42:57 -08:00
net net: fs_enet: do not call phy_stop() in interrupts 2018-11-10 07:43:01 -08:00
nfc NFC: pn533: Fix wrong GFP flag usage 2018-08-24 13:12:32 +02:00
ntb ntb_transport: Fix bug with max_mw_size parameter 2018-05-30 07:50:22 +02:00
nubus
nvdimm libnvdimm: fix ars_status output length calculation 2018-09-09 20:01:25 +02:00
nvme nvmet: fix space padding in serial number 2018-11-10 07:42:55 -08:00
nvmem nvmem: properly handle returned value nvmem_reg_read 2018-08-03 07:55:22 +02:00
of of: unittest: Disable interrupt node tests for old world MAC systems 2018-10-13 09:18:56 +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: sunbpp: fix error return code 2018-09-26 08:36:38 +02:00
pci PCI: Disable MSI for HiSilicon Hip06/Hip07 only in Root Port mode 2018-11-10 07:42:45 -08: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 pinctrl: qcom: spmi-gpio: Fix pmic_gpio_config_get() to be compliant 2018-09-26 08:36:40 +02:00
platform platform/x86: acer-wmi: setup accelerometer when ACPI device was found 2018-11-10 07:42:45 -08:00
pnp
power power: remove possible deadlock when unregistering power_supply 2018-10-03 17:01:43 -07:00
powercap PowerCap: Fix an error code in powercap_register_zone() 2018-04-13 19:47:56 +02:00
pps
ps3
ptp ptp: fix Spectre v1 vulnerability 2018-11-10 07:43:00 -08:00
pwm pwm: tiehrpwm: Fix disabling of output of PWMs 2018-09-09 20:01:25 +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: fix crash caused by null driver data 2018-10-03 17:01:49 -07:00
remoteproc
reset reset: hi6220: Set module license so that it can be loaded 2018-11-10 07:42:47 -08:00
rpmsg rpmsg: smd: do not use mananged resources for endpoints and channels 2018-07-03 11:23:13 +02:00
rtc rtc: bq4802: add error handling for devm_ioremap 2018-09-26 08:36:39 +02:00
s390 s390/qeth: don't dump past end of unknown HW header 2018-10-10 08:53:22 +02:00
sbus
scsi scsi: qla2xxx: Avoid double completion of abort command 2018-11-10 07:42:53 -08:00
sfi
sh
sn
soc soc: fsl: qe: Fix copy/paste bug in ucc_get_tdm_sync_shift() 2018-11-10 07:42:42 -08:00
spi spi: rspi: Fix interrupted DMA transfers 2018-10-03 17:01:49 -07:00
spmi
ssb
staging staging: wilc1000: Fix problem with wrong vif index 2018-11-10 07:42:50 -08:00
target scsi: iscsi: target: Don't use stack buffer for scatterlist 2018-10-18 09:13:20 +02:00
tc
thermal thermal: of-thermal: disable passive polling when thermal zone is disabled 2018-10-03 17:01:51 -07:00
thunderbolt thunderbolt: Resume control channel after hibernation image is created 2018-04-24 09:34:12 +02:00
tty tty: Drop tty->count on tty_reopen() failure 2018-10-13 09:18:56 +02:00
uio uio: potential double frees if __uio_register_device() fails 2018-09-19 22:47:13 +02:00
usb USB: fix the usbfs flag sanitization for control transfers 2018-11-10 07:43:00 -08:00
uwb uwb: hwa-rc: fix memory leak at probe 2018-10-03 17:01:42 -07:00
vfio vfio: platform: Fix reset module leak in error path 2018-08-03 07:55:13 +02:00
vhost vhost: Fix Spectre V1 vulnerability 2018-11-10 07:42:58 -08:00
video efi/fb: Correct PCI_STD_RESOURCE_END usage 2018-11-10 07:42:45 -08:00
virt
virtio virtio: pci-legacy: Validate queue pfn 2018-09-15 09:42:57 +02: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: fix GCC warning and remove duplicate EVTCHN_ROW/EVTCHN_COL usage 2018-10-10 08:53:22 +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