aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorJarkko Sakkinen <[email protected]>2024-11-13 05:54:12 +0000
committerJarkko Sakkinen <[email protected]>2024-11-13 19:10:45 +0000
commit27184f8905ba680f22abf1707fbed24036a67119 (patch)
tree41ee96a7f5cc05747216cd7401c6014dfa7280fd /drivers/cdx/controller/cdx_controller.c
parentMerge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm (diff)
downloadkernel-27184f8905ba680f22abf1707fbed24036a67119.tar.gz
kernel-27184f8905ba680f22abf1707fbed24036a67119.zip
tpm: Opt-in in disable PCR integrity protection
The initial HMAC session feature added TPM bus encryption and/or integrity protection to various in-kernel TPM operations. This can cause performance bottlenecks with IMA, as it heavily utilizes PCR extend operations. In order to mitigate this performance issue, introduce a kernel command-line parameter to the TPM driver for disabling the integrity protection for PCR extend operations (i.e. TPM2_PCR_Extend). Cc: James Bottomley <[email protected]> Link: https://lore.kernel.org/linux-integrity/[email protected]/ Fixes: 6519fea6fd37 ("tpm: add hmac checks to tpm2_pcr_extend()") Tested-by: Mimi Zohar <[email protected]> Co-developed-by: Roberto Sassu <[email protected]> Signed-off-by: Roberto Sassu <[email protected]> Co-developed-by: Mimi Zohar <[email protected]> Signed-off-by: Mimi Zohar <[email protected]> Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions