diff options
author | 2021-12-04 18:10:27 +0100 | |
---|---|---|
committer | 2021-12-10 16:14:51 +0100 | |
commit | ab39d6988dd53f354130438d8afa5596a2440fed (patch) | |
tree | db676a4070a4fe3cdb9de8fff341c6a41a4c80bd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: aspeed: Convert aspeed_gpio.lock to raw_spinlock (diff) | |
download | wireguard-linux-ab39d6988dd53f354130438d8afa5596a2440fed.tar.xz wireguard-linux-ab39d6988dd53f354130438d8afa5596a2440fed.zip |
gpio: aspeed-sgpio: Convert aspeed_sgpio.lock to raw_spinlock
The gpio-aspeed-sgpio 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:
[ 25.919465] [ BUG: Invalid wait context ]
because aspeed_sgpio.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