[PATCH v2 0/5] Extend hart protection abstraction for ID configuration

Anup Patel anup at brainfault.org
Sun Aug 2 02:53:42 PDT 2026


On Mon, Jul 27, 2026 at 9:55 AM Anup Patel <anup.patel at oss.qualcomm.com> wrote:
>
> Extend hart protection abstraction to support ID configuration related
> ISA extensions such as RISC-V worlds, Supervisor domain ID, QoS ID, etc.
>
> These patches can also be found in sbi_hart_protect_imp_v2 branch
> at: https://github.com/avpatel/opensbi.git
>
> Changes since v1:
>  - Addressed Rahul's comments in PATCH1, PATCH2, and PATCH4
>
> Anup Patel (5):
>   lib: sbi: Fix typos related to hart protection
>   lib: sbi: Introduce sbi_hart_protection_reconfigure() function
>   lib: sbi: Add domain parameter to hart protection (un)configure()
>   lib: sbi: Extend hart protection abstraction to allow ID configuration
>   lib: sbi: Print list of all hart protection mechanisms at boot time
>
>  include/sbi/sbi_hart_protection.h |  49 ++++++++--
>  lib/sbi/sbi_domain_context.c      |   3 +-
>  lib/sbi/sbi_hart_pmp.c            |  13 ++-
>  lib/sbi/sbi_hart_protection.c     | 153 +++++++++++++++++++++++++++---
>  lib/sbi/sbi_init.c                |  18 ++--
>  platform/generic/eswin/eic770x.c  |   8 +-
>  6 files changed, 202 insertions(+), 42 deletions(-)
>
> --
> 2.43.0
>

Applied this series to the riscv/opensbi repo to unblock Smmpt
and RISC-V worlds support.

Thanks,
Anup



More information about the opensbi mailing list