lib: sbi_domain: Rename per-domain data to per-domain state

The per-domain sbi_domain_data hold each domain
associated state like hart context in sbi_domain_context,
mpxy state in sbi_mpxy, and others like each domain backed
by the corresponding MPT (SMMPT).
DATA reads as a generic name, while every use stores state.
Rename functions and macros appropriately. There are no
functional changes.

Signed-off-by: Rahul Pathak <rahul.pathak@oss.qualcomm.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20260820121309.2551296-3-rahul.pathak@oss.qualcomm.com
Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
Rahul Pathak
2026-09-05 12:53:15 +05:30
committed by Anup Patel
parent 35af7c8c7e
commit 3593a5facc
9 changed files with 261 additions and 261 deletions
+3 -3
View File
@@ -687,10 +687,10 @@ int sbi_domain_register(struct sbi_domain *dom,
}
}
/* Setup data for the discovered domain */
rc = sbi_domain_setup_data(dom);
/* Setup state for the discovered domain */
rc = sbi_domain_setup_state(dom);
if (rc) {
sbi_printf("%s: domain data setup failed for %s (error %d)\n",
sbi_printf("%s: domain state setup failed for %s (error %d)\n",
__func__, dom->name, rc);
sbi_list_del(&dom->node);
return rc;