Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1019131

Bug#963033: linux-image-arm64: kexec loses EFI system tables with Debian kernels

From Romain Perier <romain.perier@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#963033: linux-image-arm64: kexec loses EFI system tables with Debian kernels
Date 2020-07-24 15:20 +0200
Message-ID <Aw5Me-7M7-3@gated-at.bofh.it> (permalink)
References (2 earlier) <AvsBb-s0-5@gated-at.bofh.it> <AiUOC-1Ho-1@gated-at.bofh.it> <AvsKR-vk-7@gated-at.bofh.it> <AiUOC-1Ho-1@gated-at.bofh.it> <AvsKR-vk-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, Jul 22, 2020 at 03:28:39PM -0400, Gabriel Krisman Bertazi wrote:

Hi,

Well, after an analyze on my side, the EFI mode is detected based on the EFI stub, right ?
Then the kernel populates the FDT with EFI properties into its own address space (based on
what was previously found from the stub). Kexec simply does not preserve the EFI mode at
all for arm64, it is only present for x86.

With the original debian patch, we suppose that the "secure-boot" property will always be
set in the FDT, simply because this information should be found in the EFI stub (unset,
disabled, enabled, etc...), so the corresponding FDT property will always have a value and
will always be present. So assume that it is always the case is correct, imho.

Now, if the EFI stubs informations are not passed to the second stage
kernel, either nor "system table" or "secure-boot" or the rest will be
found, explaining the issue of the first comment (read the first comment
it is "System table" that is not found).

We should have a "setup_efi_info" like it is the case in the kexec-tools
code base for x86, except we should have something similar for arm64.

Regards,
Romain

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#963033: linux-image-arm64: kexec loses EFI system tables with Debian kernels Da Xue <da+debianbug@lessconfused.com> - 2020-06-18 07:00 +0200
  Bug#963033: linux-image-arm64: kexec loses EFI system tables with Debian kernels Gabriel Krisman Bertazi <krisman@collabora.com> - 2020-06-26 22:40 +0200
    Bug#963033: linux-image-arm64: kexec loses EFI system tables with Debian kernels Uwe Kleine-König <uwe@kleine-koenig.org> - 2020-07-22 21:30 +0200
      Bug#963033: linux-image-arm64: kexec loses EFI system tables with Debian kernels Gabriel Krisman Bertazi <krisman@collabora.com> - 2020-07-22 21:40 +0200
        Bug#963033: linux-image-arm64: kexec loses EFI system tables with Debian kernels Romain Perier <romain.perier@gmail.com> - 2020-07-24 15:20 +0200

csiph-web