[PATCH] configure: Check -falign-jumps=1 -falign-functions=1 beside -falign-loops=1

2021-08-16 Thread Fangrui Song via Grub-devel
Clang 14.0.0 has implemented -falign-loops=1 but -falign-jumps=1 is still unsupported. The check should test all flags which may be added into CFLAGS. Signed-off-by: Fangrui Song --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac

[PATCH] fat: Allow out-of-range FAT modification timestamps

2021-08-16 Thread Tomasz Kramkowski via Grub-devel
20def1a3c introduced support for file modification times to allow comparison of file ages on EFI systems. This patch used grub_datetime2unixtime which uses a 32 bit unix timestamp and as a result did not allow the full range of times that FAT timestamps do. In some situations a file with a timesta

[PATCH] [MULTIBOOT2 SPEC PATCH V3] multiboot2: Add module load and preference tag

2021-08-16 Thread Lukasz Hawrylko
In the cases of users have preferences over Multiboot2 module load addresses, currently GRUB has no way to achieve it. Similar to the relocatable header tag, this new tag allows users to specify the minimum and maximum load addresses, and other load preferences on Multiboot2 modules. Bump version

[PATCH v3] multiboot2: Implement the new module load and preferences tag

2021-08-16 Thread Lukasz Hawrylko
In contrast to Mulitboot, in Mulitboot2, there is currently no way to control where to load the modules to. This could be a problem, e.g., the OS loaded by Multiboot2 needs to reserve low address for some particular purposes and not for loading modules. This new tag gives it flexibility to control

Re: [PATCH 0/2] efi: device tree fix-up

2021-08-16 Thread Ard Biesheuvel
On Mon, 16 Aug 2021 at 10:58, Heinrich Schuchardt wrote: > > On 8/16/21 9:04 AM, Ard Biesheuvel wrote: > > On Sat, 14 Aug 2021 at 00:39, Heinrich Schuchardt > > wrote: > >> > >> Am 13. August 2021 22:22:49 MESZ schrieb Daniel Kiper > >> : > >>> On Fri, Aug 13, 2021 at 06:22:49PM +0200, Heinrich

Re: [PATCH 0/2] efi: device tree fix-up

2021-08-16 Thread Heinrich Schuchardt
On 8/16/21 9:04 AM, Ard Biesheuvel wrote: On Sat, 14 Aug 2021 at 00:39, Heinrich Schuchardt wrote: Am 13. August 2021 22:22:49 MESZ schrieb Daniel Kiper : On Fri, Aug 13, 2021 at 06:22:49PM +0200, Heinrich Schuchardt wrote: On 8/2/21 5:18 PM, Daniel Kiper wrote: Hi Heinrich, On Mon, Aug 02

Re: [PATCH 0/2] efi: device tree fix-up

2021-08-16 Thread Ard Biesheuvel
On Sat, 14 Aug 2021 at 00:39, Heinrich Schuchardt wrote: > > Am 13. August 2021 22:22:49 MESZ schrieb Daniel Kiper : > >On Fri, Aug 13, 2021 at 06:22:49PM +0200, Heinrich Schuchardt wrote: > >> On 8/2/21 5:18 PM, Daniel Kiper wrote: > >> > Hi Heinrich, > >> > > >> > On Mon, Aug 02, 2021 at 03:00:5