You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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)
5 years ago
..
base-files treewide: sysupgrade: use $UPGRADE_BACKUP to check for backup 5 years ago
files-4.14/arch/arm/boot/dts ipq40xx: Add support for Linksys EA8300 (Dallas) 5 years ago
image ipq40xx: Add support for Linksys EA8300 (Dallas) 5 years ago
patches-4.14 ipq40xx: essedma: Fix dead lock 5 years ago
profiles ipq40xx: add target 6 years ago
Makefile kernel: drop everything not on kernel version 4.14 5 years ago
config-4.14 ipq40xx: add support for ASUS Lyra 5 years ago