]> git.dujemihanovic.xyz Git - u-boot.git/commit
tpm2: ftpm: open session with privileged ree login
authorEtienne Carriere <etienne.carriere@linaro.org>
Wed, 7 Dec 2022 15:25:33 +0000 (16:25 +0100)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Tue, 20 Dec 2022 07:37:36 +0000 (09:37 +0200)
commit33ba80303e93869c439828dd289fb8ef64ed3bfc
tree270b51005c8910ea67186e34f97bbe3d004de0dc
parent2243922edca9f56a9d5519b9d6e36f5d7a18434d
tpm2: ftpm: open session with privileged ree login

Opens the fTPM session with TEE_LOGIN_REE_KERNEL as fTPM may restrict
access to that login when Linux based OS is running as applications are
expected to got through the Linux TPMv2 driver.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
drivers/tpm/tpm2_ftpm_tee.c