Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -22068,6 +22068,13 @@ L: linux-arm-msm@vger.kernel.org
S: Maintained
F: drivers/firmware/qcom/qcom_qseecom_uefisecapp.c

QUALCOMM TEE UEFISECAPP DRIVER
M: Harshal Dev <harshal.dev@oss.qualcomm.com>
L: linux-arm-msm@vger.kernel.org
S: Maintained
F: drivers/firmware/qcom/qcom_tee_uefisecapp.c
F: drivers/firmware/qcom/qcom_tee_uefisecapp.h

QUALCOMM RMNET DRIVER
M: Subash Abhinov Kasiviswanathan <subash.a.kasiviswanathan@oss.qualcomm.com>
M: Sean Tranchetti <sean.tranchetti@oss.qualcomm.com>
Expand Down
24 changes: 24 additions & 0 deletions drivers/firmware/qcom/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,28 @@ config QCOM_QSEECOM_UEFISECAPP
Select Y here to provide access to EFI variables on the aforementioned
platforms.

config QCOM_TEE_UEFISECAPP
tristate "Qualcomm TEE UEFI Secure App client driver"
depends on QCOMTEE
depends on EFI
depends on !QCOM_QSEECOM_UEFISECAPP
help
On Qualcomm SoC based platforms without emulated RPMB support,
specifically platforms where RPMB is not present within SPI-NOR storage
and instead located on UFS/EMMC storage, non-volatile EFI variables can
only be set via a callback request from the UEFI Secure Application to
the RPMB service running in user-space (within the QTEE supplicant:
github.com/qualcomm/minkipc). Unlike the QCOMTEE driver, the QSEECOM
driver used by the QSEECOM based uefisecapp does not support callback
requests. And so on these platforms, the TEE based uefisecapp client
driver must be used to ensure persistence of non-volatile EFI variables
via writes through the RPMB service hosted in the QTEE supplicant.

This module provides a TEE client driver for uefisecapp, installing efivar
operations to allow the kernel and user-space access to EFI variables.

Select m here to provide access to EFI variables on the aforementioned
platforms if your Linux distribution has QTEE supplicant installed and
running.

endmenu
1 change: 1 addition & 0 deletions drivers/firmware/qcom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ qcom-scm-objs += qcom_scm.o qcom_scm-smc.o qcom_scm-legacy.o
obj-$(CONFIG_QCOM_TZMEM) += qcom_tzmem.o
obj-$(CONFIG_QCOM_QSEECOM) += qcom_qseecom.o
obj-$(CONFIG_QCOM_QSEECOM_UEFISECAPP) += qcom_qseecom_uefisecapp.o
obj-$(CONFIG_QCOM_TEE_UEFISECAPP) += qcom_tee_uefisecapp.o
Loading