Re: [PATCH] tpm: Opt-in in disable PCR encryption on TPM2 chips

From: Jarkko Sakkinen
Date: Wed Nov 06 2024 - 19:54:25 EST


On Thu Nov 7, 2024 at 2:51 AM EET, Jarkko Sakkinen wrote:
> On Thu Nov 7, 2024 at 2:47 AM EET, Jarkko Sakkinen wrote:
> > From: Mimi Zohar <zohar@xxxxxxxxxxxxx>
> >
> > The initial encrypted HMAC session feature added TPM bus encryption to
> > various in-kernel TPM operations. This can cause performance bottlenecks
> > with IMA, as it heavily utilizes PCR extend operations.
> >
> > In order to address this performance issue, introduce disable_encrypt_pcrs
> > kernel command-line parameter to the TPM driver.
> >
> > Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>

We also probably want this:

Cc: stable@xxxxxxxxxxxxxxx # v6.10+

BR, Jarkko