[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC] arm64/linux/loader: Use EFI CODE allocations for the linux ker
From: |
Daniel Kiper |
Subject: |
Re: [RFC] arm64/linux/loader: Use EFI CODE allocations for the linux kernel |
Date: |
Thu, 4 Apr 2019 18:57:29 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Thu, Apr 04, 2019 at 07:54:55AM -0700, Jeffrey Hugo wrote:
> Some UEFI implementations for ARM64 devices apply strict permissions on
> the different allocation types. In these implementations, DATA
> allocations have XN (execute never) permissions, preventing code execution
> from those pages.
>
> On these implementations, the Linux kernel is loaded to DATA pages, which
> causes a permission fault when GRUB attempts to kick off the kernel. This
> results in a device crash.
>
> Fix this by allocating CODE pages for the Linux kernel.
>
> Signed-off-by: Jeffrey Hugo <address@hidden>
Make sense for me but I would like to hear Leif's opinion too. I treat
this a fix and if he is OK with it I am happy to take it into release.
Daniel
- [RFC] arm64/linux/loader: Use EFI CODE allocations for the linux kernel, Jeffrey Hugo, 2019/04/04
- Re: [RFC] arm64/linux/loader: Use EFI CODE allocations for the linux kernel,
Daniel Kiper <=
- Re: [RFC] arm64/linux/loader: Use EFI CODE allocations for the linux kernel, Leif Lindholm, 2019/04/04
- Re: [RFC] arm64/linux/loader: Use EFI CODE allocations for the linux kernel, Daniel Kiper, 2019/04/05
- Re: [RFC] arm64/linux/loader: Use EFI CODE allocations for the linux kernel, Alexander Graf, 2019/04/08
- Re: [RFC] arm64/linux/loader: Use EFI CODE allocations for the linux kernel, Leif Lindholm, 2019/04/08
- Re: [RFC] arm64/linux/loader: Use EFI CODE allocations for the linux kernel, Jeffrey Hugo, 2019/04/08
- Re: [RFC] arm64/linux/loader: Use EFI CODE allocations for the linux kernel, Jeffrey Hugo, 2019/04/08
- Re: [RFC] arm64/linux/loader: Use EFI CODE allocations for the linux kernel, Ard Biesheuvel, 2019/04/09