summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2019-04-03 09:13:34 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-16 19:41:20 +0200
commit2773e7454f4faca75968f408502fc245ff5da280 (patch)
treec1d88000c2dca1352b49e64523888a74679cde5a /drivers/gpu
parent4c8c9d5149179dc2f0585e4bedcab4897c157bc3 (diff)
downloadlinux-rpi3-2773e7454f4faca75968f408502fc245ff5da280.tar.gz
linux-rpi3-2773e7454f4faca75968f408502fc245ff5da280.tar.bz2
linux-rpi3-2773e7454f4faca75968f408502fc245ff5da280.zip
s390/3270: fix lockdep false positive on view->lock
[ Upstream commit 5712f3301a12c0c3de9cc423484496b0464f2faf ] The spinlock in the raw3270_view structure is used by con3270, tty3270 and fs3270 in different ways. For con3270 the lock can be acquired in irq context, for tty3270 and fs3270 the highest context is bh. Lockdep sees the view->lock as a single class and if the 3270 driver is used for the console the following message is generated: WARNING: inconsistent lock state 5.1.0-rc3-05157-g5c168033979d #12 Not tainted -------------------------------- inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W} usage. swapper/0/1 [HC0[0]:SC1[1]:HE1:SE0] takes: (____ptrval____) (&(&view->lock)->rlock){?.-.}, at: tty3270_update+0x7c/0x330 Introduce a lockdep subclass for the view lock to distinguish bh from irq locks. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions