forked from Mirrors/opensbi
include: sbi_utils: Update RPMI service group IDs and BASE service group
The service group ID assignment and some of the BASE services have changes in the latest RPMI specification so let's update the RPMI implementation accordingly. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
This commit is contained in:
@@ -146,7 +146,6 @@ struct rpmi_shmem_mbox_controller {
|
||||
struct {
|
||||
u8 f0_priv_level;
|
||||
bool f0_ev_notif_en;
|
||||
bool f0_msi_en;
|
||||
} base_flags;
|
||||
};
|
||||
|
||||
@@ -767,9 +766,6 @@ static int rpmi_shmem_mbox_init(const void *fdt, int nodeoff,
|
||||
/* 1: Supported, 0: Not Supported */
|
||||
mctl->base_flags.f0_ev_notif_en =
|
||||
resp.f0 & RPMI_BASE_FLAGS_F0_EV_NOTIFY ? 1 : 0;
|
||||
/* 1: Supported, 0: Not Supported */
|
||||
mctl->base_flags.f0_msi_en =
|
||||
resp.f0 & RPMI_BASE_FLAGS_F0_MSI_EN ? 1 : 0;
|
||||
|
||||
/* We only use M-mode RPMI context in OpenSBI */
|
||||
if (!mctl->base_flags.f0_priv_level) {
|
||||
|
Reference in New Issue
Block a user