openwrt/target/linux/ipq40xx
Masafumi UTSUGI bf800022b2 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>
(cherry picked from commit f1d761f95e)
2019-10-20 15:16:31 +02:00
..
base-files treewide: sysupgrade: use $UPGRADE_BACKUP to check for backup 2019-09-16 05:57:08 +02:00
files-4.14/arch/arm/boot/dts ipq40xx: Add support for Linksys EA8300 (Dallas) 2019-05-18 13:43:54 +02:00
image ipq40xx: Add support for Linksys EA8300 (Dallas) 2019-05-18 13:43:54 +02:00
patches-4.14 ipq40xx: essedma: Fix dead lock 2019-10-20 15:16:31 +02:00
profiles
config-4.14 ipq40xx: add support for ASUS Lyra 2019-02-14 16:56:15 +01:00
Makefile kernel: drop everything not on kernel version 4.14 2019-06-12 01:18:52 +02:00