diff options
| author | Anup Patel <[email protected]> | 2026-07-27 09:55:00 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2026-08-02 15:17:12 +0530 |
| commit | 622f3d44313c1d537f2301488167b42ac0680633 (patch) | |
| tree | 883baa0b0755b08d59fb0f78741183678acc0b03 /lib | |
| parent | c0f87f10d1bfb9e72a84ddfafb5604ee1bfe9d04 (diff) | |
lib: sbi: Fix typos related to hart protection
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]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/sbi/sbi_init.c | 6 |
1 files 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); |
