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

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

soc: qcom: secure_buffer: Add support for the Trusted UI(TUI) VMID



Add support for assigning memory to the TUI VMID.

Change-Id: Idbd8e144d7251335ba1db5bfdad7fa94394da7e5
Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent 4c77e0c0
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2011 Google, Inc
 * Copyright (c) 2011-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2011-2020, The Linux Foundation. All rights reserved.
 */

#include <linux/highmem.h>
@@ -280,6 +280,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_TRUSTED_UI:
		return "VMID_TRUSTED_UI";
	case VMID_INVAL:
		return "VMID_INVAL";
	default:
+2 −1
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
 */

#ifndef __QCOM_SECURE_BUFFER_H__
@@ -33,6 +33,7 @@ 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
};