summaryrefslogtreecommitdiff
path: root/lib/utils
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2023-11-19 18:32:10 +0530
committerAnup Patel <[email protected]>2023-11-22 20:42:24 +0530
commit16bb9305338b4ae87d95ce776cf029accf07bc49 (patch)
treef61160369cf30e93c919a6d2e2f65cee81a7c207 /lib/utils
parentdc0bb19bd2f969e8c2b8c55a71b3ae569eedfaf6 (diff)
lib: sbi: Fix PMP granularity handling in sbi_hart_map_saddr()
The sbi_hart_map_saddr() must create PMP mapping of size greater than or equal to PMP granularity otherwise PMP mapping does not work when size parameter less than sbi_hart_pmp_granularity(scratch). Fixes: 6e44ef686a9b ("lib: sbi: Add functions to map/unmap shared memory") Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Samuel Holland <[email protected]>
Diffstat (limited to 'lib/utils')
0 files changed, 0 insertions, 0 deletions