Re: [PATCH 1/2] powerpc/tpm: Create linux,sml-base/size as big endian

2023-03-01 Thread Jarkko Sakkinen
On Tue, Feb 28, 2023 at 10:21:36PM +1100, Michael Ellerman wrote: > Jarkko Sakkinen writes: > > On Mon, Feb 27, 2023 at 06:08:31PM -0500, Stefan Berger wrote: > >> On 2/23/23 22:25, Michael Ellerman wrote: > >> > There's code in prom_instantiate_sml() to do a "SML handover" (Stored > >> >

Re: [PATCH 1/2] powerpc/tpm: Create linux,sml-base/size as big endian

2023-02-28 Thread Michael Ellerman
Jarkko Sakkinen writes: > On Mon, Feb 27, 2023 at 06:08:31PM -0500, Stefan Berger wrote: >> On 2/23/23 22:25, Michael Ellerman wrote: >> > There's code in prom_instantiate_sml() to do a "SML handover" (Stored >> > Measurement Log) from OF to Linux, before Linux shuts down Open >> > Firmware. >> >

Re: [PATCH 1/2] powerpc/tpm: Create linux,sml-base/size as big endian

2023-02-27 Thread Jarkko Sakkinen
On Mon, Feb 27, 2023 at 06:08:31PM -0500, Stefan Berger wrote: > > > On 2/23/23 22:25, Michael Ellerman wrote: > > There's code in prom_instantiate_sml() to do a "SML handover" (Stored > > Measurement Log) from OF to Linux, before Linux shuts down Open > > Firmware. > > > > This involves

Re: [PATCH 1/2] powerpc/tpm: Create linux,sml-base/size as big endian

2023-02-27 Thread Stefan Berger
On 2/23/23 22:25, Michael Ellerman wrote: There's code in prom_instantiate_sml() to do a "SML handover" (Stored Measurement Log) from OF to Linux, before Linux shuts down Open Firmware. This involves creating a buffer to hold the SML, and creating two device tree properties to record its

[PATCH 1/2] powerpc/tpm: Create linux,sml-base/size as big endian

2023-02-23 Thread Michael Ellerman
There's code in prom_instantiate_sml() to do a "SML handover" (Stored Measurement Log) from OF to Linux, before Linux shuts down Open Firmware. This involves creating a buffer to hold the SML, and creating two device tree properties to record its base address and size. The kernel then later reads