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
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
..
imagebuilder imagebuilder: fix `make info` for empty SUPPORTED_DEVICES 5 years ago
linux ipq40xx: essedma: Fix dead lock 5 years ago
sdk sdk: use bundle-libraries.sh to ship kernel objtool tools 5 years ago
toolchain target/toolchain/files/wrapper.sh: simplify 'case' 5 years ago
Config.in build: add a config option for enabling a testing version of the target kernel 5 years ago
Makefile build: make <subdir>/install opt-in, use it for target/ only 7 years ago