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

Commit c7c426ff authored by Isaac J. Manjarres's avatar Isaac J. Manjarres Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: secure_buffer: Add support for VMID_ADSP_HEAP and VMID_LPASS



Add support for mapping memory to/from VMID_ADSP_HEAP and VMID_LPASS.

Change-Id: Ie479de719cbfbccb726b3284665573806958ac89
Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent 6e625d33
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -268,6 +268,8 @@ const char *msm_secure_vmid_to_string(int secure_vmid)
		return "VMID_CP_SEC_DISPLAY";
	case VMID_CP_APP:
		return "VMID_CP_APP";
	case VMID_LPASS:
		return "VMID_LPASS";
	case VMID_WLAN:
		return "VMID_WLAN";
	case VMID_WLAN_CE:
@@ -280,6 +282,8 @@ 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_ADSP_HEAP:
		return "VMID_ADSP_HEAP";
	case VMID_INVAL:
		return "VMID_INVAL";
	default:
+2 −0
Original line number Diff line number Diff line
@@ -26,12 +26,14 @@ enum vmid {
	VMID_MSS_NONMSA = 0x10,
	VMID_CP_SEC_DISPLAY = 0x11,
	VMID_CP_APP = 0x12,
	VMID_LPASS = 0x16,
	VMID_WLAN = 0x18,
	VMID_WLAN_CE = 0x19,
	VMID_CP_SPSS_SP = 0x1A,
	VMID_CP_CAMERA_PREVIEW = 0x1D,
	VMID_CP_SPSS_SP_SHARED = 0x22,
	VMID_CP_SPSS_HLOS_SHARED = 0x24,
	VMID_ADSP_HEAP = 0x25,
	VMID_CP_CDSP = 0x2A,
	VMID_LAST,
	VMID_INVAL = -1