Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61f3d669 authored by Isaac J. Manjarres's avatar Isaac J. Manjarres
Browse files

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: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent 941ebdfe
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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:
+0 −1
Original line number Diff line number Diff line
@@ -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
};