securemsm-kernel: Add the base SMMU proxy driver
Add the base of the SMMU proxy driver for Android. The proxy driver will take memory from the PVM, share it with the TVM and map it into an S1 context bank on the TVM, before returning an IOVA for the mapped buffer. This patch intended to create the driver to allow other kenrel modules to compile against it. Change-Id: Id2951fbf467fcce0a3f1a1c45eba5b041f76f080 Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
此提交包含在:
@@ -0,0 +1,14 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
#ifndef __QTI_SMMU_PROXY_H_
|
||||
#define __QTI_SMMU_PROXY_H_
|
||||
|
||||
#include "../uapi/linux/qti-smmu-proxy.h"
|
||||
|
||||
#define SMMU_PROXY_MEM_ALIGNMENT (1 << 21)
|
||||
|
||||
int smmu_proxy_get_csf_version(struct csf_version *csf_version);
|
||||
|
||||
#endif /* __QTI_SMMU_PROXY_H_ */
|
新增問題並參考
封鎖使用者