diff options
| author | Andrew Jones <andrew.jones@oss.qualcomm.com> | 2026-09-20 03:18:28 -0400 |
|---|---|---|
| committer | Paul Walmsley <pjw@kernel.org> | 2026-10-08 15:24:49 -0600 |
| commit | 55458c7347a32a84985b129eb4778539abd904ac (patch) | |
| tree | 2448fcdbd09140af43f3f103e0a61dfed81f42c3 /scripts/basic/split-include.c | |
| parent | ca0c312bdf6a1dd20ac2f5da1d0760b7925da4f3 (diff) | |
| download | linux-55458c7347a32a84985b129eb4778539abd904ac.tar.gz linux-55458c7347a32a84985b129eb4778539abd904ac.zip | |
riscv: Add a getter for user PMLEN support
Querying whether a given user PMLEN is supported is needed for
RVA23U64 base detection from outside arch/riscv/kernel/process.c.
Add riscv_have_user_pmlen() to expose this.
Link: https://lore.kernel.org/linux-riscv/rfuwa7a3ebe76udmnwyrssjy7shkkgxntvhwzn6oquysj4tuyp@xzvpylcfhz53/
Signed-off-by: Andrew Jones <andrew.jones@oss.qualcomm.com>
[Guodong: replace exported booleans with getter per Andrew's suggestion]
Signed-off-by: Guodong Xu <guodong.xu@oss.qualcomm.com>
Link: https://patch.msgid.link/20260920-rva23u64-hwprobe-v2-v8-8-5f14bc5c23d3@oss.qualcomm.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
