All of lore.kernel.org
 help / color / mirror / Atom feed
* Discuss support for the linux kernel's EFI Handover Protocol on x86 and ARM
@ 2019-01-10  8:12 Michael Chang
  2019-01-10  8:59 ` Alexander Graf
  0 siblings, 1 reply; 22+ messages in thread
From: Michael Chang @ 2019-01-10  8:12 UTC (permalink / raw)
  To: grub-devel
  Cc: Alexander Graf, Ard Biesheuvel, Leif Lindholm, Peter Jones,
	Matthew Garrett, Benjamin Brunner

Hi,

With the advent of new verifier framework and shim lock protocol support
to the grub's community, we are driving to the world of UEFI Secure
Boot, well, almost ..

There is a missing piece in the puzzle remaining, that is booting linux
kernel via it's own EFI Handover Protocol's entry. Strictly speaking,
the interface is not part of the UEFI Secure Boot, but we have to use it
to avoid problem of using UEFI LoadImage Protocol, which will not work
with shim and it's Machine Owner Key (MOK) as they are not part of
firmware's KEK and db.

In other words, with the current state of implementation, ARM is still
not able to support Secure Boot and will end up with security violation
as long as LoadImage is performed to boot the kernel as firmware's blob.
The shim-lock support turns out to be useless, unless we could change it
to use some sort of kernel's own interface, like UEFI handover, is a
good candidate for me (sorry I'm aware of any other choice for ARM).

The x86 might be working with shim, since 32-bit entry is used. But IIUC
linux kernel recommends efi handover entry than 32-bit for efi booting
since it is less tied to bootloader and thus makes booting problem more
easy and obvious to fix by the kernel itself. For that reason the
support will be needed in the long run regardless secure boot since it
provides better prospect than 32-bit entry.

I think it is about time to discuss and figure out a common way to bring
UEFI handover support to the x86 and ARM architectures both having UEFI
running. Many downstream distributions have already been carrying
diverged linuxefi patch for a long time and I think our ARM friends may
not want to repeat the same story. :)

Any idea and suggestion for the topic is welcome.

Thanks,
Michael


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2019-01-22  9:11 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-10  8:12 Discuss support for the linux kernel's EFI Handover Protocol on x86 and ARM Michael Chang
2019-01-10  8:59 ` Alexander Graf
2019-01-11 10:58   ` Leif Lindholm
2019-01-11 14:17     ` Ard Biesheuvel
2019-01-14  7:30       ` Michael Chang
2019-01-14  7:41         ` Ard Biesheuvel
2019-01-14  9:53           ` Michael Chang
2019-01-14  9:57             ` Ard Biesheuvel
2019-01-14 11:09               ` Michael Chang
2019-01-14  4:58     ` Michael Chang
2019-01-14  7:07       ` Ard Biesheuvel
2019-01-14  9:14         ` Michael Chang
2019-01-14 10:22           ` Alexander Graf
2019-01-22  5:00             ` Michael Chang
2019-01-14 18:42           ` Peter Jones
2019-01-22  6:24             ` Michael Chang
2019-01-14 15:27         ` Peter Jones
2019-01-14 10:25     ` Alexander Graf
2019-01-11 19:32   ` Matthew Garrett
2019-01-11 19:49     ` Alexander Graf
2019-01-22  6:35       ` Michael Chang
2019-01-22  9:11         ` Alexander Graf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.