Thread (10 messages) 10 messages, 3 authors, 2026-01-14

Re: [PATCH v5 0/7] powerpc: Implement masked user access

From: Madhavan Srinivasan <maddy@linux.ibm.com>
Date: 2026-01-14 03:04:28
Also in: lkml

On Wed, 24 Dec 2025 12:20:48 +0100, Christophe Leroy (CS GROUP) wrote:
This is a rebase on top of v6.19-rc2

Masked user access avoids the address/size verification by access_ok().
Allthough its main purpose is to skip the speculation in the
verification of user address and size hence avoid the need of spec
mitigation, it also has the advantage to reduce the amount of
instructions needed so it also benefits to platforms that don't
need speculation mitigation, especially when the size of the copy is
not know at build time.

[...]
Applied to powerpc/next.

[1/7] powerpc/uaccess: Move barrier_nospec() out of allow_read_{from/write}_user()
      https://git.kernel.org/powerpc/c/5fbc09eb0b4f4b1a4b33abebacbeee0d29f195e9
[2/7] powerpc/uaccess: Remove unused size and from parameters from allow_access_user()
      https://git.kernel.org/powerpc/c/e3efbfbfaaaa739072b2756cfb76cd3de6d91c0f
[3/7] powerpc/uaccess: Remove {allow/prevent}_{read/write/read_write}_{from/to/}_user()
      https://git.kernel.org/powerpc/c/5458989a0e48c2bd51a7d37a04ff6ae489fe5458
[4/7] powerpc/uaccess: Refactor user_{read/write/}_access_begin()
      https://git.kernel.org/powerpc/c/704f4300315396af94e26ec0127ff0cd3fd309bf
[5/7] powerpc/32s: Fix segments setup when TASK_SIZE is not a multiple of 256M
      https://git.kernel.org/powerpc/c/fb7903771c107b0358584a359b8545060e23c530
[6/7] powerpc/32: Automatically adapt TASK_SIZE based on constraints
      https://git.kernel.org/powerpc/c/370d841929c3b863b7409047e8c84eabc4d0960f
[7/7] powerpc/uaccess: Implement masked user access
      https://git.kernel.org/powerpc/c/861574d51bbd7a06dbf07f658a9a8def012c2f74

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help