]> git.hungrycats.org Git - linux/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:26:44 +0000 (16:26 +0100)
commitb946e7b447427803ee6e01e81feb46c64e0513b2
treefdf86a41054bbf3a2fe8385a6a4b772b20f0c6fc
parent3c39d486bd48f5e9249e9eef6aa0475a5d9f676e
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