Re: [PATCH v2] tpm: Disable tpm verifier if tpm is not present

2023-03-05 Thread Michael Chang via Grub-devel
On Fri, Mar 03, 2023 at 07:19:56PM +0100, Daniel Kiper wrote: > On Fri, Mar 03, 2023 at 12:18:19PM +0800, Michael Chang wrote: > > On Thu, Mar 02, 2023 at 07:59:00PM +0100, Daniel Kiper wrote: > > > On Tue, Feb 28, 2023 at 11:22:14AM +0800, Michael Chang via Grub-devel > > > wrote: > > > > On Thu,

Re: [PATCH v2] tpm: Disable tpm verifier if tpm is not present

2023-03-03 Thread Daniel Kiper
On Fri, Mar 03, 2023 at 12:18:19PM +0800, Michael Chang wrote: > On Thu, Mar 02, 2023 at 07:59:00PM +0100, Daniel Kiper wrote: > > On Tue, Feb 28, 2023 at 11:22:14AM +0800, Michael Chang via Grub-devel > > wrote: > > > On Thu, Feb 23, 2023 at 02:22:27PM +0100, Daniel Kiper wrote: > > > > Adding Ja

Re: [PATCH v2] tpm: Disable tpm verifier if tpm is not present

2023-03-02 Thread Michael Chang via Grub-devel
On Thu, Mar 02, 2023 at 07:59:00PM +0100, Daniel Kiper wrote: > On Tue, Feb 28, 2023 at 11:22:14AM +0800, Michael Chang via Grub-devel wrote: > > On Thu, Feb 23, 2023 at 02:22:27PM +0100, Daniel Kiper wrote: > > > Adding James, Stefan and Robbie... > > > > > > On Mon, Feb 20, 2023 at 12:57:01PM +08

Re: [PATCH v2] tpm: Disable tpm verifier if tpm is not present

2023-03-02 Thread Daniel Kiper
On Tue, Feb 28, 2023 at 11:22:14AM +0800, Michael Chang via Grub-devel wrote: > On Thu, Feb 23, 2023 at 02:22:27PM +0100, Daniel Kiper wrote: > > Adding James, Stefan and Robbie... > > > > On Mon, Feb 20, 2023 at 12:57:01PM +0800, Michael Chang via Grub-devel > > wrote: > > > On Tue, Nov 29, 2022

Re: [PATCH v2] tpm: Disable tpm verifier if tpm is not present

2023-02-27 Thread Michael Chang via Grub-devel
On Thu, Feb 23, 2023 at 02:22:27PM +0100, Daniel Kiper wrote: > Adding James, Stefan and Robbie... > > On Mon, Feb 20, 2023 at 12:57:01PM +0800, Michael Chang via Grub-devel wrote: > > On Tue, Nov 29, 2022 at 04:11:48PM +0100, Daniel Kiper wrote: > > > On Fri, Nov 25, 2022 at 03:00:48PM +0800, Mic

Re: [PATCH v2] tpm: Disable tpm verifier if tpm is not present

2023-02-23 Thread Daniel Kiper
Adding James, Stefan and Robbie... On Mon, Feb 20, 2023 at 12:57:01PM +0800, Michael Chang via Grub-devel wrote: > On Tue, Nov 29, 2022 at 04:11:48PM +0100, Daniel Kiper wrote: > > On Fri, Nov 25, 2022 at 03:00:48PM +0800, Michael Chang via Grub-devel > > wrote: > > > On Thu, Nov 24, 2022 at 05:0

Re: [PATCH v2] tpm: Disable tpm verifier if tpm is not present

2023-02-19 Thread Michael Chang via Grub-devel
On Tue, Nov 29, 2022 at 04:11:48PM +0100, Daniel Kiper wrote: > On Fri, Nov 25, 2022 at 03:00:48PM +0800, Michael Chang via Grub-devel wrote: > > On Thu, Nov 24, 2022 at 05:04:48PM +0100, Daniel Kiper wrote: > > > On Mon, Oct 17, 2022 at 01:19:08PM +0800, Michael Chang via Grub-devel > > > wrote:

Re: [PATCH v2] tpm: Disable tpm verifier if tpm is not present

2023-02-19 Thread Michael Chang via Grub-devel
On Thu, Feb 16, 2023 at 01:02:00PM -0500, Stefan Berger wrote: > > > On 10/7/22 01:37, Michael Chang via Grub-devel wrote: > > This helps to prevent out of memory error when reading large files via > > disabling > > tpm device as verifier has to read all content into memory in one chunk to > > m

Re: [PATCH v2] tpm: Disable tpm verifier if tpm is not present

2023-02-16 Thread Stefan Berger
On 10/7/22 01:37, Michael Chang via Grub-devel wrote: This helps to prevent out of memory error when reading large files via disabling tpm device as verifier has to read all content into memory in one chunk to measure the hash and extend to tpm. For ibmvtpm driver support this change here wou

Re: [PATCH v2] tpm: Disable tpm verifier if tpm is not present

2022-11-29 Thread Daniel Kiper
On Fri, Nov 25, 2022 at 03:00:48PM +0800, Michael Chang via Grub-devel wrote: > On Thu, Nov 24, 2022 at 05:04:48PM +0100, Daniel Kiper wrote: > > On Mon, Oct 17, 2022 at 01:19:08PM +0800, Michael Chang via Grub-devel > > wrote: > > > On Fri, Oct 14, 2022 at 11:40:01AM +0200, Daniel Kiper wrote: >

Re: [PATCH v2] tpm: Disable tpm verifier if tpm is not present

2022-11-24 Thread Michael Chang via Grub-devel
On Thu, Nov 24, 2022 at 05:04:48PM +0100, Daniel Kiper wrote: > On Mon, Oct 17, 2022 at 01:19:08PM +0800, Michael Chang via Grub-devel wrote: > > On Fri, Oct 14, 2022 at 11:40:01AM +0200, Daniel Kiper wrote: > > > On Fri, Oct 07, 2022 at 01:37:10PM +0800, Michael Chang via Grub-devel > > > wrote:

Re: [PATCH v2] tpm: Disable tpm verifier if tpm is not present

2022-11-24 Thread Daniel Kiper
On Mon, Oct 17, 2022 at 01:19:08PM +0800, Michael Chang via Grub-devel wrote: > On Fri, Oct 14, 2022 at 11:40:01AM +0200, Daniel Kiper wrote: > > On Fri, Oct 07, 2022 at 01:37:10PM +0800, Michael Chang via Grub-devel > > wrote: > > > This helps to prevent out of memory error when reading large fil

Re: [PATCH v2] tpm: Disable tpm verifier if tpm is not present

2022-10-16 Thread Michael Chang via Grub-devel
On Fri, Oct 14, 2022 at 11:40:01AM +0200, Daniel Kiper wrote: > On Fri, Oct 07, 2022 at 01:37:10PM +0800, Michael Chang via Grub-devel wrote: > > This helps to prevent out of memory error when reading large files via > > disabling > > tpm device as verifier has to read all content into memory in o

Re: [PATCH v2] tpm: Disable tpm verifier if tpm is not present

2022-10-14 Thread Daniel Kiper
On Fri, Oct 07, 2022 at 01:37:10PM +0800, Michael Chang via Grub-devel wrote: > This helps to prevent out of memory error when reading large files via > disabling > tpm device as verifier has to read all content into memory in one chunk to > measure the hash and extend to tpm. How does this patch

[PATCH v2] tpm: Disable tpm verifier if tpm is not present

2022-10-06 Thread Michael Chang via Grub-devel
This helps to prevent out of memory error when reading large files via disabling tpm device as verifier has to read all content into memory in one chunk to measure the hash and extend to tpm. Signed-off-by: Michael Chang Reviewed-by: Stefan Berger --- grub-core/commands/efi/tpm.c | 37 +