Messages in this thread | | | Date | Wed, 20 Jan 2021 12:44:38 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCH] x86: efi: avoid BUILD_BUG_ON() for non-constant p4d_index |
| |
On Wed, Jan 20, 2021 at 10:33:43AM +0100, Ard Biesheuvel wrote: > The churn doesn't seem to be worth it, tbh. > > So could we get rid of the complexity here, and only build_bug() on > the start address of the EFI region being outside the topmost p4d? > That should make the PGD test redundant as well.
Yah, makes sense to me.
Thx.
-- Regards/Gruss, Boris.
https://people.kernel.org/tglx/notes-about-netiquette
| |