aboutsummaryrefslogtreecommitdiff
path: root/lib/utils/cppc
diff options
context:
space:
mode:
authorXiang W <wxjstz@126.com>2025-05-14 13:24:02 +0800
committerAnup Patel <anup@brainfault.org>2025-06-16 16:53:50 +0530
commit03f44e6b82a4debd0e5a3a67cf7f2da9f4a7dfca (patch)
treedc4ceaf143f18157b7c313cc5c6ccacc1e9a9f96 /lib/utils/cppc
parent033e0e2353ddab76039e62b46c9f77e178bac689 (diff)
downloadopensbi-03f44e6b82a4debd0e5a3a67cf7f2da9f4a7dfca.zip
opensbi-03f44e6b82a4debd0e5a3a67cf7f2da9f4a7dfca.tar.gz
opensbi-03f44e6b82a4debd0e5a3a67cf7f2da9f4a7dfca.tar.bz2
lib: sbi: Optimize saddr mapping in sbi_dbtr.c
The original implementation mapped saddr individually for each entry. The updated code now maps saddr for all entries in a single operation. This change reduces the number of PMP (Physical Memory Protection) operations, improving efficiency and performance. Tested-by: Himanshu Chauhan <hchauhan@ventanamicro.com> Reviewed-by: Himanshu Chauhan <hchauhan@ventanamicro.com> Signed-off-by: Xiang W <wxjstz@126.com> Link: https://lore.kernel.org/r/20250514052422.575551-1-wxjstz@126.com Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/utils/cppc')
0 files changed, 0 insertions, 0 deletions