soc: qcom: secure_buffer: Remove support for VMID_TRUSTED_UI

The VMID for the trusted VM is not known up-front. Thus, there
is no point in exposing VMID_TRUSTED_UI, so remove it. Callers of
hyp assign must use the resource manager APIs to deduce the VMID,
and pass it to the hyp assign call.

Change-Id: I93e2812abffd99bb5b42b7fccead91becc5015fd
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
This commit is contained in:
Isaac J. Manjarres 2020-03-24 12:47:09 -07:00
parent 941ebdfe30
commit 61f3d66986
2 changed files with 0 additions and 3 deletions

View File

@ -280,8 +280,6 @@ const char *msm_secure_vmid_to_string(int secure_vmid)
return "VMID_CP_SPSS_SP_SHARED";
case VMID_CP_SPSS_HLOS_SHARED:
return "VMID_CP_SPSS_HLOS_SHARED";
case VMID_TRUSTED_UI:
return "VMID_TRUSTED_UI";
case VMID_INVAL:
return "VMID_INVAL";
default:

View File

@ -33,7 +33,6 @@ enum vmid {
VMID_CP_SPSS_SP_SHARED = 0x22,
VMID_CP_SPSS_HLOS_SHARED = 0x24,
VMID_CP_CDSP = 0x2A,
VMID_TRUSTED_UI = 0x31,
VMID_LAST,
VMID_INVAL = -1
};