[PATCH v2 1/5] lib: sbi: Fix typos related to hart protection
Anup Patel <[email protected]> Mon, 27 Jul 2026 09:55:00 +0530
| Newsgroups | org.infradead.lists.opensbi |
|---|---|
| Message-ID | <[email protected]> |
The hart protection is incorrectly mentioned as hart isolation at few places in sbi_init.c hence fix these typos. Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Rahul Pathak <[email protected]> --- lib/sbi/sbi_init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/sbi/sbi_init.c b/lib/sbi/sbi_init.c index 9bb1a37e..d4aca242 100644 --- a/lib/sbi/sbi_init.c +++ b/lib/sbi/sbi_init.c @@ -432,12 +432,12 @@ static void __noreturn init_coldboot(struct sbi_scratch *scratch, u32 hartid) } /* - * Configure hart isolation at last because if SMEPMP is, + * Configure hart protection at last because if SMEPMP is * detected, M-mode access to the S/U space will be rescinded. */ rc = sbi_hart_protection_configure(scratch); if (rc) { - sbi_printf("%s: hart isolation configure failed (error %d)\n", + sbi_printf("%s: hart protection configure failed (error %d)\n", __func__, rc); sbi_hart_hang(); } @@ -515,7 +515,7 @@ static void __noreturn init_warm_startup(struct sbi_scratch *scratch, sbi_hart_hang(); /* - * Configure hart isolation at last because if SMEPMP is, + * Configure hart protection at last because if SMEPMP is * detected, M-mode access to the S/U space will be rescinded. */ rc = sbi_hart_protection_configure(scratch); -- 2.43.0 -- opensbi mailing list [email protected] http://lists.infradead.org/mailman/listinfo/opensbi