Re: [PATCH efi-urgent] Revert "efi: Align 'efi_guid_t' to 64 bits"

2018-12-21 Thread Ard Biesheuvel
On Fri, 21 Dec 2018 at 13:13, Borislav Petkov wrote: > > On Fri, Dec 21, 2018 at 12:54:46PM +0100, Ard Biesheuvel wrote: > > This reverts commit 793423cf07e51e3185b8680167115813589c057d. > > > > The 64-bit alignment affects the size of efi_config_table_32_t, > > which is used as an array type. On

Re: [PATCH efi-urgent] Revert "efi: Align 'efi_guid_t' to 64 bits"

2018-12-21 Thread Borislav Petkov
On Fri, Dec 21, 2018 at 12:54:46PM +0100, Ard Biesheuvel wrote: > This reverts commit 793423cf07e51e3185b8680167115813589c057d. > > The 64-bit alignment affects the size of efi_config_table_32_t, > which is used as an array type. On the other hand, the former > byte alignment could trigger

[PATCH efi-urgent] Revert "efi: Align 'efi_guid_t' to 64 bits"

2018-12-21 Thread Ard Biesheuvel
This reverts commit 793423cf07e51e3185b8680167115813589c057d. The 64-bit alignment affects the size of efi_config_table_32_t, which is used as an array type. On the other hand, the former byte alignment could trigger alignment faults during firmware calls on 32-bit ARM, since UEFI defines