Re: [PATCH v4 0/4] Ignore unrealistically large option roms in EFI stub code

2018-05-01 Thread Ard Biesheuvel
On 1 May 2018 at 11:48, Hans de Goede wrote: > Hi, > > On 29-04-18 13:06, Ard Biesheuvel wrote: >> >> This is a continuation of Hans's work [0] to ignore bogus romimage/romsize >> values in the EFI PCI I/O protocol instances exposed by some UEFI >> firmwares >> on x86. >> >>

Re: [PATCH v4 0/4] Ignore unrealistically large option roms in EFI stub code

2018-05-01 Thread Hans de Goede
Hi, On 29-04-18 13:06, Ard Biesheuvel wrote: This is a continuation of Hans's work [0] to ignore bogus romimage/romsize values in the EFI PCI I/O protocol instances exposed by some UEFI firmwares on x86. I have only build tested this, both on 32 and 64 bit x86. I've tested this on both a

[PATCH v4 0/4] Ignore unrealistically large option roms in EFI stub code

2018-04-29 Thread Ard Biesheuvel
This is a continuation of Hans's work [0] to ignore bogus romimage/romsize values in the EFI PCI I/O protocol instances exposed by some UEFI firmwares on x86. I have only build tested this, both on 32 and 64 bit x86. Changes in v4: - Deduplicate the 32 and 64 bit code paths so that the actual