[PATCH] Makefile: Make grub_fstest.pp depend on config-util.h

2022-08-04 Thread Stefan Agner
compilation terminated. Signed-off-by: Stefan Agner --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 42e121feb..43635d5ff 100644 --- a/Makefile.am +++ b/Makefile.am @@ -60,7 +60,7 @@ libgrub_a_init.c: libgrub_a_init.lst $(top_srcdir)

[PATCH v4] efidisk: pass buffers with higher alignment

2022-05-31 Thread Stefan Agner
h a higher alignment already. Signed-off-by: Stefan Agner --- This latest revision seems to work fine for Home Assistant OS 8.1. Heinrich, since the logic changed a bit, I removed your Acked-by again. -- Stefan grub-core/disk/efi/efidisk.c | 15 +-- 1 file changed, 13 insertions(+), 2

Re: [PATCH v3] efidisk: pass buffers with higher alignment

2022-05-31 Thread Stefan Agner
On 2022-05-26 17:27, Daniel Kiper wrote: > Hey, > > On Thu, May 19, 2022 at 09:36:41AM +0200, Stefan Agner wrote: >> On 2022-05-18 10:59, Stefan Agner wrote: >> > Some devices report a IoAlign value of 2, however seem to require a >> > buffer with higher alig

Re: [PATCH v3] efidisk: pass buffers with higher alignment

2022-05-19 Thread Stefan Agner
On 2022-05-18 10:59, Stefan Agner wrote: > Some devices report a IoAlign value of 2, however seem to require a > buffer with higher alignment. After releasing Home Assistant OS 8.0 publicly, some systems still refuse to boot even with this patch applied. See bug reports collected in this

[PATCH v3] efidisk: pass buffers with higher alignment

2022-05-18 Thread Stefan Agner
alignment already. Acked-by: Heinrich Schuchardt Signed-off-by: Stefan Agner --- grub-core/disk/efi/efidisk.c | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/grub-core/disk/efi/efidisk.c b/grub-core/disk/efi/efidisk.c index 9e20af70e..c4eb4f4e7 100644

Re: [PATCH v2] efidisk: pass buffers with higher alignment

2022-05-17 Thread Stefan Agner
On 2022-05-17 17:21, Daniel Kiper wrote: > On Tue, May 17, 2022 at 05:07:49PM +0200, Daniel Kiper wrote: >> On Tue, May 10, 2022 at 10:40:15PM +0200, Stefan Agner wrote: >> > On 2022-05-10 22:26, Heinrich Schuchardt wrote: >> > > On 5/10/22 21:59, Stefan Agner w

Re: [PATCH v2] efidisk: pass buffers with higher alignment

2022-05-16 Thread Stefan Agner
Hi Heinrich, On 2022-05-10 22:40, Stefan Agner wrote: > On 2022-05-10 22:26, Heinrich Schuchardt wrote: >> On 5/10/22 21:59, Stefan Agner wrote: >>> Despite the UEFI specification saying "the requirement is that the >>> start address of a buffer mus

Re: [PATCH v2] efidisk: pass buffers with higher alignment

2022-05-10 Thread Stefan Agner
On 2022-05-10 22:26, Heinrich Schuchardt wrote: > On 5/10/22 21:59, Stefan Agner wrote: >> Despite the UEFI specification saying "the requirement is that the >> start address of a buffer must be evenly divisible by IoAlign with >> no remainder.", it seems that

[PATCH v2] efidisk: pass buffers with higher alignment

2022-05-10 Thread Stefan Agner
ill respected as per UEFI specification if a higher alignment than block size is requested. Note: The problem has only noticed with compressed squashfs. It seems that ext4 (and presumably other file system drivers) pass buffers with a higher alignment already. Signed-off-by: Stefan Agner --- g

Re: [PATCH] efidisk: pass buffers with higher alignment

2022-05-09 Thread Stefan Agner
On 2022-05-09 21:19, Heinrich Schuchardt wrote: > On 5/5/22 15:54, Stefan Agner wrote: >> Despite the UEFI specification saying "the requirement is that the >> start address of a buffer must be evenly divisible by IoAlign with >> no remainder.", it seems that

Re: [PATCH] efidisk: pass buffers with higher alignment

2022-05-09 Thread Stefan Agner
On 2022-05-05 17:42, Vladimir 'phcoder' Serbinenko wrote: > Le jeu. 5 mai 2022, 15:55, Stefan Agner a écrit : > >> Despite the UEFI specification saying "the requirement is that the >> start address of a buffer must be evenly divisible by IoAlign with >> no remain

[PATCH] efidisk: pass buffers with higher alignment

2022-05-05 Thread Stefan Agner
nment already. Signed-off-by: Stefan Agner --- grub-core/disk/efi/efidisk.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/grub-core/disk/efi/efidisk.c b/grub-core/disk/efi/efidisk.c index f077b5f55..0fc2f0826 100644 --- a/grub-core/disk/efi/efidisk.c +++ b/grub-