All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] Add UEFI Secure Boot detection and report the status to Linux
@ 2020-12-03 15:01 Javier Martinez Canillas
  2020-12-03 15:01 ` [PATCH 1/9] i386: Don't include <grub/cpu/linux.h> in coreboot and ieee1275 startup.S Javier Martinez Canillas
                   ` (9 more replies)
  0 siblings, 10 replies; 16+ messages in thread
From: Javier Martinez Canillas @ 2020-12-03 15:01 UTC (permalink / raw)
  To: grub-devel
  Cc: Ignat Korchagin, Michael Chang, Peter Jones, Marco A Benatto,
	Leif Lindholm, Daniel Kiper, Javier Martinez Canillas


This patch series adds support for the GRUB to detect the UEFI Secure Boot
status using the SecureBoot and SetupMode EFI variables. It also reports
this to Linux by setting the .secure_boot field of struct boot_params.

Besides that, it contains some cleanups and fixes mostly around EFI support.

Best regards,
Javier


Daniel Kiper (5):
  efi: Make shim_lock GUID and protocol type public
  efi: Return grub_efi_status_t from grub_efi_get_variable()
  efi: Add a function to read EFI variables with attributes
  efi: Add secure boot detection
  loader/linux: Report the UEFI Secure Boot status to the Linux kernel

Javier Martinez Canillas (4):
  i386: Don't include <grub/cpu/linux.h> in coreboot and ieee1275
    startup.S
  include/grub/i386/linux.h: Include missing <grub/types.h> header
  arm/term: Fix linking error due multiple ps2_state definitions
  efi: Only register shim_lock verifier if shim_lock protocol is found
    and SB enabled

 grub-core/Makefile.am                  |   1 +
 grub-core/Makefile.core.def            |   1 +
 grub-core/commands/efi/efifwsetup.c    |   8 +-
 grub-core/commands/efi/shim_lock.c     |  28 ++-----
 grub-core/kern/efi/efi.c               |  30 +++++--
 grub-core/kern/efi/sb.c                | 109 +++++++++++++++++++++++++
 grub-core/kern/i386/coreboot/startup.S |   1 -
 grub-core/kern/i386/ieee1275/startup.S |   1 -
 grub-core/loader/i386/linux.c          |   6 +-
 grub-core/term/arm/cros.c              |   2 +-
 grub-core/term/arm/pl050.c             |   2 +-
 grub-core/video/efi_gop.c              |   2 +-
 include/grub/efi/api.h                 |  19 ++++-
 include/grub/efi/efi.h                 |  12 ++-
 include/grub/efi/sb.h                  |  40 +++++++++
 include/grub/i386/linux.h              |  10 ++-
 16 files changed, 225 insertions(+), 47 deletions(-)
 create mode 100644 grub-core/kern/efi/sb.c
 create mode 100644 include/grub/efi/sb.h

-- 
2.28.0



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

end of thread, other threads:[~2020-12-16  9:29 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-03 15:01 [PATCH 0/9] Add UEFI Secure Boot detection and report the status to Linux Javier Martinez Canillas
2020-12-03 15:01 ` [PATCH 1/9] i386: Don't include <grub/cpu/linux.h> in coreboot and ieee1275 startup.S Javier Martinez Canillas
2020-12-03 15:01 ` [PATCH 2/9] include/grub/i386/linux.h: Include missing <grub/types.h> header Javier Martinez Canillas
2020-12-03 15:01 ` [PATCH 3/9] arm/term: Fix linking error due multiple ps2_state definitions Javier Martinez Canillas
2020-12-03 15:01 ` [PATCH 4/9] efi: Make shim_lock GUID and protocol type public Javier Martinez Canillas
2020-12-03 15:01 ` [PATCH 5/9] efi: Return grub_efi_status_t from grub_efi_get_variable() Javier Martinez Canillas
2020-12-03 15:01 ` [PATCH 6/9] efi: Add a function to read EFI variables with attributes Javier Martinez Canillas
2020-12-03 15:01 ` [PATCH 7/9] efi: Add secure boot detection Javier Martinez Canillas
2020-12-03 15:01 ` [PATCH 8/9] efi: Only register shim_lock verifier if shim_lock protocol is found and SB enabled Javier Martinez Canillas
2020-12-08  2:20   ` Michael Chang
2020-12-10 16:50     ` Daniel Kiper
2020-12-14 13:50       ` Michael Chang
2020-12-15 12:36         ` Daniel Kiper
2020-12-16  9:29           ` Javier Martinez Canillas
2020-12-03 15:01 ` [PATCH 9/9] loader/linux: Report the UEFI Secure Boot status to the Linux kernel Javier Martinez Canillas
2020-12-04 12:27 ` [PATCH 0/9] Add UEFI Secure Boot detection and report the status to Linux Daniel Kiper

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.