Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04fed9d3 authored by Dennis Zhou's avatar Dennis Zhou Committed by Greg Kroah-Hartman
Browse files

percpu: convert spin_lock_irq to spin_lock_irqsave.



[ Upstream commit 6ab7d47bcbf0144a8cb81536c2cead4cde18acfe ]

From Michael Cree:
  "Bisection lead to commit b38d08f3 ("percpu: restructure
   locking") as being the cause of lockups at initial boot on
   the kernel built for generic Alpha.

   On a suggestion by Tejun Heo that:

   So, the only thing I can think of is that it's calling
   spin_unlock_irq() while irq handling isn't set up yet.
   Can you please try the followings?

   1. Convert all spin_[un]lock_irq() to
      spin_lock_irqsave/unlock_irqrestore()."

Fixes: b38d08f3 ("percpu: restructure locking")
Reported-and-tested-by: default avatarMichael Cree <mcree@orcon.net.nz>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarDennis Zhou <dennis@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 44081492
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment