From 943840467f2827a2ce4d1d3956b932a6a00861bf Mon Sep 17 00:00:00 2001 From: Chris Goldsworthy Date: Mon, 13 Jun 2022 19:32:08 -0700 Subject: [PATCH 1/2] modules.list.msm.pineapple: Add the secure-buffer module Add the secure-buffer module to the first stage module list. Change-Id: I2e53ecbb30f4e1aa060e04673d24743a619bb44a Signed-off-by: Chris Goldsworthy --- modules.list.msm.pineapple | 1 + 1 file changed, 1 insertion(+) diff --git a/modules.list.msm.pineapple b/modules.list.msm.pineapple index 7bc0351d20dd..e42f92b4c80a 100644 --- a/modules.list.msm.pineapple +++ b/modules.list.msm.pineapple @@ -3,6 +3,7 @@ qcom_rpmh.ko qcom-pdc.ko qcom_iommu_util.ko arm_smmu.ko +secure_buffer.ko qcom-scm.ko pinctrl-msm.ko pinctrl-pineapple.ko From 4e1f7763fec9ad826d9f0d9474905b7352549333 Mon Sep 17 00:00:00 2001 From: Chris Goldsworthy Date: Mon, 13 Jun 2022 19:31:04 -0700 Subject: [PATCH 2/2] defconfig: pineapple-gki: Enable the secure-buffer driver Enable the secure-buffer driver on pineapple. Change-Id: I87ae498e4ea0cdf65e5e52b2dfe5615711c74e3a Signed-off-by: Chris Goldsworthy --- arch/arm64/configs/vendor/pineapple_GKI.config | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/vendor/pineapple_GKI.config b/arch/arm64/configs/vendor/pineapple_GKI.config index 66b125d2c539..ab38f0305870 100644 --- a/arch/arm64/configs/vendor/pineapple_GKI.config +++ b/arch/arm64/configs/vendor/pineapple_GKI.config @@ -30,6 +30,7 @@ CONFIG_QCOM_PDC=m CONFIG_QCOM_RPMH=m CONFIG_QCOM_SCM=m # CONFIG_QCOM_SCM_DOWNLOAD_MODE_DEFAULT is not set +CONFIG_QCOM_SECURE_BUFFER=m CONFIG_QCOM_SMEM=m # CONFIG_QCOM_SMP2P is not set # CONFIG_QCOM_SMSM is not set