Re: [PATCH v3] Add --noefistub option for linux

2024-06-19 Thread Julian Andres Klode
On Mon, Jun 17, 2024 at 02:52:07PM GMT, Vladimir Serbinenko wrote: > In some cases like loading kernel from native disk (e.g. nvme) not > supported by EFI in question efi stub is not an option. Allow > user to disable efi stub and fallback to older protocol I'm not sure I follow. The disk does not

Re: [PATCH v17 10/20] tpm2: Add TPM Software Stack (TSS)

2024-06-19 Thread Daniel Kiper via Grub-devel
On Wed, Jun 19, 2024 at 02:43:08PM +0800, Gary Lin wrote: > On Tue, Jun 18, 2024 at 05:41:13PM +0200, Daniel Kiper wrote: > > On Fri, Jun 14, 2024 at 02:45:43PM +0800, Gary Lin wrote: > > > From: Hernan Gatta > > > > > > A Trusted Platform Module (TPM) Software Stack (TSS) provides logic to > > >

Re: [PATCH v17 10/20] tpm2: Add TPM Software Stack (TSS)

2024-06-19 Thread Daniel Kiper via Grub-devel
On Wed, Jun 19, 2024 at 02:41:13PM +0800, Gary Lin wrote: > On Tue, Jun 18, 2024 at 03:30:03PM +0200, Daniel Kiper wrote: > > On Fri, Jun 14, 2024 at 02:45:43PM +0800, Gary Lin wrote: > > > From: Hernan Gatta > > > > > > A Trusted Platform Module (TPM) Software Stack (TSS) provides logic to > > >

Re: [PATCH v17 11/20] key_protector: Add TPM2 Key Protector

2024-06-19 Thread Daniel Kiper via Grub-devel
On Fri, Jun 14, 2024 at 02:45:44PM +0800, Gary Lin wrote: > From: Hernan Gatta > > The TPM2 key protector is a module that enables the automatic retrieval > of a fully-encrypted disk's unlocking key from a TPM 2.0. > > The theory of operation is such that the module accepts various > arguments, mo

Re: [PATCH 1/1] util/grub-mkrescue: Check existence of option arguments

2024-06-19 Thread Daniel Kiper
On Mon, Jun 17, 2024 at 09:03:00PM +0200, Thomas Schmitt via Grub-devel wrote: > As reported by Victoriia Egorova in bug 65880, grub-mkrescue does not > verify that the expected argument of an option like -d or -k does really > exist in argv. > So check the loop counter before incrementing it insid

Re: [PATCH v17 10/20] tpm2: Add TPM Software Stack (TSS)

2024-06-19 Thread Gary Lin via Grub-devel
On Wed, Jun 19, 2024 at 04:04:47PM +0200, Daniel Kiper wrote: > On Wed, Jun 19, 2024 at 02:41:13PM +0800, Gary Lin wrote: > > On Tue, Jun 18, 2024 at 03:30:03PM +0200, Daniel Kiper wrote: > > > On Fri, Jun 14, 2024 at 02:45:43PM +0800, Gary Lin wrote: > > > > From: Hernan Gatta > > > > > > > > A T

[PATCH] Fix screen coud be filled with leftover artifacts

2024-06-19 Thread Michael Chang via Grub-devel
A regression in grub 2.12 causes the grub screen to become cluttered with artifacts from the previous screen, whether it's the UEFI post ui, UEFI shell, or any graphical UI running before grub. this issue occurs in situations like booting grub from the UEFI shell and going straight to the rescue or

[PATCH] lvm: allocate metadata buffer from raw contents

2024-06-19 Thread Michael Chang via Grub-devel
Previously, the buffer for LVM metadata parsing was set to twice the size of the metadata area, which caused excessive memory use. This patch changes the allocation to read the actual raw metadata blocks directly from the metadata area. Instead of using twice the entire metadata area size, we now