Re: [RFC PATCH v2 0/3] pmem memmap dump support

2023-05-24 Thread Li, Zhijian
Ping Baoquan, Dan Sorry to bother you again. Could you further comment a word or two on this set? Thanks Zhijian on 5/10/2023 6:41 PM, Zhijian Li (Fujitsu) wrote: Hi Dan on 5/8/2023 5:45 PM, Zhijian Li (Fujitsu) wrote: Dan, On 29/04/2023 02:59, Dan Williams wrote: Li Zhijian wrote:

Re: [PATCHv2 1/6] kexec: Change the image probe's prototype

2023-05-24 Thread Pingfan Liu
On Wed, May 24, 2023 at 7:53 PM Simon Horman wrote: > > On Tue, May 16, 2023 at 03:31:19PM +0800, Pingfan Liu wrote: > > As more complicated kernel format occurs such as zboot, where the > > compressed kernel is stored as a payload. The straight forward > > decompression can not meet the demand.

Re: [PATCH v9 3/4] of: kexec: Refactor IMA buffer related functions to make them reusable

2023-05-24 Thread Stefan Berger
On 5/24/23 19:16, Jerry Snitselaar wrote: On Tue, Apr 18, 2023 at 09:44:08AM -0400, Stefan Berger wrote: Refactor IMA buffer related functions to make them reusable for carrying TPM logs across kexec. Signed-off-by: Stefan Berger Cc: Rob Herring Cc: Frank Rowand Cc: Mimi Zohar

Re: [PATCH v9 3/4] of: kexec: Refactor IMA buffer related functions to make them reusable

2023-05-24 Thread Jerry Snitselaar
On Tue, Apr 18, 2023 at 09:44:08AM -0400, Stefan Berger wrote: > Refactor IMA buffer related functions to make them reusable for carrying > TPM logs across kexec. > > Signed-off-by: Stefan Berger > Cc: Rob Herring > Cc: Frank Rowand > Cc: Mimi Zohar > Reviewed-by: Mimi Zohar > Reviewed-by:

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

2023-05-24 Thread Jerry Snitselaar
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

Re: [PATCH v9 1/4] drivers: of: kexec ima: Support 32-bit platforms

2023-05-24 Thread Jerry Snitselaar
On Tue, Apr 18, 2023 at 09:44:06AM -0400, Stefan Berger wrote: > From: Palmer Dabbelt > > RISC-V recently added kexec_file() support, which uses enables kexec > IMA. We're the first 32-bit platform to support this, so we found a > build bug. > > Acked-by: Rob Herring > Signed-off-by: Palmer

Re: [PATCHv2 1/6] kexec: Change the image probe's prototype

2023-05-24 Thread Simon Horman
On Tue, May 16, 2023 at 03:31:19PM +0800, Pingfan Liu wrote: > As more complicated kernel format occurs such as zboot, where the > compressed kernel is stored as a payload. The straight forward > decompression can not meet the demand. > > A new image probe method is expected to read in the kernel