summaryrefslogtreecommitdiff
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorJeremy Linton <jeremy.linton@arm.com>2025-08-24 22:34:17 -0500
committerWill Deacon <will@kernel.org>2025-09-16 21:32:53 +0100
commit9cd2a7f1180f9b6fe5214abc90eaf5c053f545ee (patch)
tree963badd9885ba1046161eecb869009d6e2ad0b7f /scripts/extract-fwblobs
parentea920b50ac9ff13ef0282428bd80395ea134a26c (diff)
arm64: uaccess: Add additional userspace GCS accessors
Uprobes need more advanced read, push, and pop userspace GCS functionality. Implement those features using the existing gcsstr() and copy_from_user(). Its important to note that GCS pages can be read by normal instructions, but the hardware validates that pages used by GCS specific operations, have a GCS privilege set. We aren't validating this in load_user_gcs because it requires stabilizing the VMA over the read which may fault. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Reviewed-by: Mark Brown <broonie@kernel.org> [will: Add '__force' to gcspr cast in pop_user_gcs()] Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions