]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
misc: sgi-gru: Don't disable preemption in GRU driver
authorDimitri Sivanich <sivanich@hpe.com>
Thu, 19 Sep 2024 12:34:50 +0000 (07:34 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Nov 2024 15:25:53 +0000 (16:25 +0100)
commit057b5b97166640ea418af4a23e1a0c847e67e0a0
tree25f2cd00a76fc6efd9d6fe137798a07efd70e059
parent9ce8e1d7ef459ae5f3d156603a48b304cd680119
misc: sgi-gru: Don't disable preemption in GRU driver

[ Upstream commit b983b271662bd6104d429b0fd97af3333ba760bf ]

Disabling preemption in the GRU driver is unnecessary, and clashes with
sleeping locks in several code paths.  Remove preempt_disable and
preempt_enable from the GRU driver.

Signed-off-by: Dimitri Sivanich <sivanich@hpe.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/misc/sgi-gru/grukservices.c
drivers/misc/sgi-gru/grumain.c
drivers/misc/sgi-gru/grutlbpurge.c