Re: [PATCH v3 5/5] loongarch: Use the -mno-relax cflags for gcc

2023-06-14 Thread Xiaotian Wu
在 2023-06-13星期二的 20:09 +0800,Xi Ruoyao via Grub-devel写道: > On Tue, 2023-06-13 at 13:39 +0200, Daniel Kiper wrote: > > On Tue, Jun 13, 2023 at 05:06:35PM +0800, Xiaotian Wu wrote: > > > Because the binutils of the loongarch architecture adds > > > relaxation > > > support [1], > > > the next

[PATCH v4 0/1] loongarch: Disable relaxation for grub

2023-06-14 Thread Xiaotian Wu
A working grub cannot be built with upcoming binutils and gcc, because linker relaxation was added [1] causing new unsupported relocations to appear in modules. So we pass -mno-relax to gcc if it is supported, to disable relaxation and make grub forward-compatible with new toolchains. [1]:

[PATCH v4 1/1] loongarch: disable relaxation relocations

2023-06-14 Thread Xiaotian Wu
A working grub cannot be built with upcoming binutils and gcc, because linker relaxation was added [1] causing new unsupported relocations to appear in modules. So we pass -mno-relax to gcc if it is supported, to disable relaxation and make grub forward-compatible with new toolchains. [1]:

Re: [PATCH v4 3/5] efi: Drop all uses of efi_call_XX wrappers

2023-06-14 Thread Daniel Kiper
On Mon, Jun 12, 2023 at 10:53:09PM +0200, Robin Candau wrote: > Le 12/06/2023 à 21:05, Daniel Kiper a écrit : > > On Mon, Jun 12, 2023 at 07:19:53PM +0200, Christian Hesse wrote: > > > Ard Biesheuvel on Tue, 2023/05/23 17:31: > > > > Now that GCC can generate function calls using the correct

[PATCH] tpm: Enable boot despite unknown firmware failure

2023-06-14 Thread Michał Grzelak
Currently booting the system is prevented when call to EFI firmware hash_log_extend_event() returns unknown error. Solve this by following convention used in commit a4356538d (commands/tpm: Don't propagate measurement failures to the verifiers layer). Let the system to be bootable by default when