diff options
author | 2021-12-04 18:10:26 +0100 | |
---|---|---|
committer | 2021-12-10 16:14:40 +0100 | |
commit | 61a7904b6ace99b1bde0d0e867fa3097f5c8cee2 (patch) | |
tree | 2ae31b78bee1666c8c7796428015e32ac5c7220a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpiolib: check the 'ngpios' property in core gpiolib code (diff) | |
download | wireguard-linux-61a7904b6ace99b1bde0d0e867fa3097f5c8cee2.tar.xz wireguard-linux-61a7904b6ace99b1bde0d0e867fa3097f5c8cee2.zip |
gpio: aspeed: Convert aspeed_gpio.lock to raw_spinlock
The gpio-aspeed driver implements an irq_chip which need to be invoked
from hardirq context. Since spin_lock() can sleep with PREEMPT_RT, it is
no longer legal to invoke it while interrupts are disabled.
This also causes lockdep to complain about:
[ 0.649797] [ BUG: Invalid wait context ]
because aspeed_gpio.lock (spin_lock_t) is taken under irq_desc.lock
(raw_spinlock_t).
Let's use of raw_spinlock_t instead of spinlock_t.
Signed-off-by: Iwona Winiarska <iwona.winiarska@intel.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions