On Fri, 4 Feb 2022 13:53:48 +1000, Nicholas Piggin wrote: > Hash faults are not resoved in NMI context, instead causing the access > to fail. This is done because perf interrupts can get backtraces > including walking the user stack, and taking a hash fault on those could > deadlock on the HPTE lock if the perf interrupt hits while the same HPTE > lock is being held by the hash fault code. The user-access for the stack > walking will notice the access failed and deal with that in the perf > code. > > [...]
Applied to powerpc/next. [1/1] powerpc/64s/hash: Make hash faults work in NMI context https://git.kernel.org/powerpc/c/8b91cee5eadd2021f55e6775f2d50bd56d00c217 cheers