________________________________________ > From: Stefan Berger <stef...@linux.ibm.com> > Sent: 07 July 2022 10:50 PM > To: ke...@lists.infradead.org; devicet...@vger.kernel.org; > linux-integr...@vger.kernel.org; linux-ker...@vger.kernel.org; > linuxppc-dev@lists.ozlabs.org > Cc: na...@linux.ibm.com; Nageswara R Sastry; m...@ellerman.id.au; 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 <stef...@linux.ibm.com> > Cc: Jarkko Sakkinen <jar...@kernel.org> > Cc: Jason Gunthorpe <j...@ziepe.ca> > Cc: Rob Herring <robh...@kernel.org> > Cc: Frank Rowand <frowand.l...@gmail.com> Tested-by: Nageswara R Sastry <rnsas...@linux.ibm.com>