On Tue, 2 Feb 2021 20:15:41 +1100, Alexey Kardashevskiy wrote: > Since de78a9c "powerpc: Add a framework for Kernel Userspace Access > Protection", user access helpers call user_{read|write}_access_{begin|end} > when user space access is allowed. > > 890274c "powerpc/64s: Implement KUAP for Radix MMU" made the mentioned > helpers program a AMR special register to allow such access for a short > period of time, most of the time AMR is expected to block user memory > access by the kernel. > > [...]
Applied to powerpc/next. [1/1] powerpc/kuap: Restore AMR after replaying soft interrupts https://git.kernel.org/powerpc/c/60a707d0c99aff4eadb7fd334c5fd21df386723e cheers