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 <anup.patel@oss.qualcomm.com>
Reviewed-by: Rahul Pathak <rahul.pathak@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260727042504.1743250-2-anup.patel@oss.qualcomm.com
Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
Anup Patel
2026-08-02 15:17:12 +05:30
committed by Anup Patel
parent c0f87f10d1
commit 622f3d4431
+3 -3
View File
@@ -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);