Re: [PATCH v4 3/8] arm64: uaccess: Move existing GCS accessors definitions to gcs.h

From
Catalin Marinas <catalin.marinas@arm.com>
Date
2025-07-23 09:44:37
Also in
linux-arm-kernel, linux-perf-users, lkml
Reply to
Jeremy Linton, 2025-07-19
On Fri, Jul 18, 2025 at 11:37:35PM -0500, Jeremy Linton wrote:
We are going to add some additional GCS access helpers to gcs.h in
order to avoid some forward reference problems with uaccess.

In preparation for that, lets move the existing gcssttr() and
put_user_gcs() routines into gcs.h where it makes sense to keep all
the accessors together. Further, the code which uses them already
includes gcs.h and there is an existing CONFIG_ARM64_GCS check we can
reuse.

Signed-off-by: Jeremy Linton <redacted>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Thread (25 messages) 25 messages, 5 authors, last reply 2025-07-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help