[PATCH v9 2/4] tpm: of: Make of-tree specific function commonly available

Jarkko Sakkinen jarkko at kernel.org
Sat Jun 10 04:18:32 AEST 2023


On Thu May 25, 2023 at 1:56 AM EEST, Jerry Snitselaar wrote:
> On Tue, Apr 18, 2023 at 09:44:07AM -0400, Stefan Berger wrote:
> > Simplify tpm_read_log_of() by moving reusable parts of the code into
> > an inline function that makes it commonly available so it can be
> > used also for kexec support. Call the new of_tpm_get_sml_parameters()
> > function from the TPM Open Firmware driver.
> > 
> > Signed-off-by: Stefan Berger <stefanb at linux.ibm.com>
> > Cc: Jarkko Sakkinen <jarkko at kernel.org>
> > Cc: Jason Gunthorpe <jgg at ziepe.ca>
> > Cc: Rob Herring <robh+dt at kernel.org>
> > Cc: Frank Rowand <frowand.list at gmail.com>
> > Reviewed-by: Mimi Zohar <zohar at linux.ibm.com>
> > Tested-by: Nageswara R Sastry <rnsastry at linux.ibm.com>
> > Tested-by: Coiby Xu <coxu at redhat.com>
> > Acked-by: Jarkko Sakkinen <jarkko at kernel.org>
> > 
>
> Reviewed-by: Jerry Snitselaar <jsnitsel at redhat.com>

If I just pick tpm only patches they won't apply so maybe TPM changes
should be better separated if that is by any means possible.

Open for counter proposals. Just my thoughts...

I.e. I'm mainly wondering why TPM patches depend on IMA patches?

BR, Jarkko



More information about the Linuxppc-dev mailing list