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: Isaac J. Manjarres <isaacm@codeaurora.org>
This commit is contained in:
parent
4c77e0c054
commit
ff1cd8f58d
@ -1,7 +1,7 @@
|
||||
// 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:
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* 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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user