________________________________________ > From: Stefan Berger <stefanb@xxxxxxxxxxxxx> > Sent: 07 July 2022 10:50 PM > To: kexec@xxxxxxxxxxxxxxxxxxx; devicetree@xxxxxxxxxxxxxxx; linux-integrity@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; linuxppc-dev@xxxxxxxxxxxxxxxx > Cc: nayna@xxxxxxxxxxxxx; Nageswara R Sastry; mpe@xxxxxxxxxxxxxx; Stefan Berger; Jarkko Sakkinen; Jason Gunthorpe; Rob Herring; Frank Rowand > Subject: [PATCH v6 4/6] tpm: of: Make of-tree specific function commonly available > 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@xxxxxxxxxxxxx> > Cc: Jarkko Sakkinen <jarkko@xxxxxxxxxx> > Cc: Jason Gunthorpe <jgg@xxxxxxxx> > Cc: Rob Herring <robh+dt@xxxxxxxxxx> > Cc: Frank Rowand <frowand.list@xxxxxxxxx> Tested-by: Nageswara R Sastry <rnsastry@xxxxxxxxxxxxx>