diff options
| author | Bo Gan <[email protected]> | 2026-06-08 23:00:23 -0700 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2026-06-17 11:41:11 +0530 |
| commit | 914aeddaf16d91d39112056c5dd2b013b757a424 (patch) | |
| tree | 5005c5fd4bee30ca6f8938c266f3feba3aeb2699 /lib/utils/cppc | |
| parent | 1475f147f646f337c85599b03bd3185fe591da39 (diff) | |
lib: sbi: Add variable-length unprivilege access functions
sbi_load/store_loop read/write variable-length buffer unprivileged.
Both function use the widest aligned 8/4/2/1 byte load/stores in each
loop to reduce the total number of iterations.
Also switch the scalar/vector misaligned handlers to make use of such
functions to simplify code.
Miscellaneous: remove the unnecessary [taddr] in inline assembly
Signed-off-by: Bo Gan <[email protected]>
Tested-by: Anirudh Srinivasan <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/cppc')
0 files changed, 0 insertions, 0 deletions
