[SRU][J:linux-bluefield][PATCH v1 0/1] UBUNTU: SAUCE: optee: Adjust CONFIG_OPTEE_SHM_NUM_PRIV_PAGES to 4

James Hurley jahurley at nvidia.com
Tue Aug 29 13:27:03 UTC 2023


BugLink: https://bugs.launchpad.net/bugs/2033316

SRU Justification:

[Impact]
This change is needed to OPTEE as the FTPM driver requires 2 contiguous SHMEM pages to boot. Without this change the ftpm_tee_probe function will fail.

[Fix]
Change the CONFIG_OPTEE_SHM_NUM_PRIV_PAGES from 1 to 4. Note that other SHMEM structures are allocated out of this OPTEE pool as well.

[Test Case]
Verified the Microsoft TPM 2.0 FTPM is fully functional with this change, running the tpm2-tss Test Suite (mandatory & optional) tests as well as many of the TPM2 Command tools.

[Regression Potential]
This only has an effect if OPTEE is configured/enabled in the kernel.

James Hurley (1):
  UBUNTU: [Config] optee: Adjust CONFIG_OPTEE_SHM_NUM_PRIV_PAGES to 4

debian.bluefield/config/annotations | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.30.1




More information about the kernel-team mailing list