diff options
| author | Michal Simek <michal.simek@amd.com> | 2026-01-07 17:04:56 +0100 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2026-01-08 14:18:14 +0530 |
| commit | 74434f255873d74e56cc50aa762d1caf24c099f8 (patch) | |
| tree | bc73e7678872920c7731e9c08c7f09bb381299a7 /include/sbi_utils/fdt/fdt_domain.h | |
| parent | 65fac653113bcd1ac86ac85f44138caa69ad3d9a (diff) | |
| download | opensbi-master.zip opensbi-master.tar.gz opensbi-master.tar.bz2 | |
lib: sbi: Fix behavior on platform without HART protectionHEADv1.8.1release-1.8.xmaster
The commit 42139bb9b7dc ("lib: sbi: Replace sbi_hart_pmp_xyz() and
sbi_hart_map/unmap_addr()") changed logic by calling
sbi_hart_protection_configure(). But when protection doesn't exist
the function is returning SBI_EINVAL.
But on systems without protection this is correct configuration
that's why do not hang when system don't have any HART protection.
Fixes: 42139bb9b7dc ("lib: sbi: Replace sbi_hart_pmp_xyz() and sbi_hart_map/unmap_addr()")
Signed-off-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/bb8641e5f82654e3989537cea85f165f67a7044e.1767801896.git.michal.simek@amd.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'include/sbi_utils/fdt/fdt_domain.h')
0 files changed, 0 insertions, 0 deletions
