On Mon, Feb 14, 2022 at 8:35 AM Arnd Bergmann <arnd@xxxxxxxxxx> wrote: > > I did a patch for microblaze at some point, which turned out to be fairly > generic, and now ported it to most other architectures, using new generic > implementations of access_ok() and __{get,put}_kernel_nocheck(). Thanks for doing this. Apart from the sparc64 issue with completely separate address spaces (so access_ok() should always return true like Al pointed out), this looks excellent to me. Somebody should check that there aren't other cases like sparc64, but let's merge this asap other than that. Linus