tn3399_openwrt/target/linux/ipq40xx
Masafumi UTSUGI f1d761f95e ipq40xx: essedma: Fix dead lock
edma_read_append_stats() gets called from two places in the driver.
The first place is the kernel timer that periodically updates
the statistics, so nothing gets lost due to overflows.
The second one it's part of the userspace ethtool ioctl handler
to provide up-to-date values.

For this configuration, the use of spin_lock() is not sufficient
and as per:
<https://mirrors.edge.kernel.org/pub/linux/kernel/people/rusty/kernel-locking/c214.html>
the locking has to be upgraded to spin_lock_bh().

Signed-off-by: Masafumi UTSUGI <mutsugi@allied-telesis.co.jp>
[folded patch into 710-, rewrote message]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2019-10-20 13:01:43 +02:00
..
base-files treewide: use a single ath10k MAC patching function with checksum 2019-10-15 18:13:54 +02:00
files-4.14/arch/arm/boot/dts ipq40xx: Add support for Linksys EA8300 (Dallas) 2019-05-18 13:43:54 +02:00
files-4.19/arch/arm/boot/dts ipq40xx: add label MAC address for FritzBox 4040 2019-10-15 18:13:54 +02:00
generic ipqx0xx: add Generic subtarget 2019-08-22 21:15:28 +02:00
image ipq40xx: drop unreachable ipq-wifi package for the AP120C-AC 2019-08-24 23:23:31 +02:00
patches-4.14 ipq40xx: essedma: Fix dead lock 2019-10-20 13:01:43 +02:00
patches-4.19 ipq40xx: essedma: Fix dead lock 2019-10-20 13:01:43 +02:00
profiles
config-4.14 ipq40xx: add support for ASUS Lyra 2019-02-14 16:56:15 +01:00
config-4.19 kernel: Move some DSA config options to generic config 2019-05-14 21:11:58 +02:00
Makefile ipqx0xx: add Generic subtarget 2019-08-22 21:15:28 +02:00