2022-07-27 14:53:39

by João Paulo Rechi Vita

[permalink] [raw]
Subject: [PATCH] docs: efi-stub: Fix paths for x86 / arm stubs

This fixes the paths of x86 / arm efi-stub source files.

Signed-off-by: João Paulo Rechi Vita <[email protected]>
---
Documentation/admin-guide/efi-stub.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/admin-guide/efi-stub.rst b/Documentation/admin-guide/efi-stub.rst
index 833edb0d0bc4..b24e7c40d832 100644
--- a/Documentation/admin-guide/efi-stub.rst
+++ b/Documentation/admin-guide/efi-stub.rst
@@ -7,10 +7,10 @@ as a PE/COFF image, thereby convincing EFI firmware loaders to load
it as an EFI executable. The code that modifies the bzImage header,
along with the EFI-specific entry point that the firmware loader
jumps to are collectively known as the "EFI boot stub", and live in
-arch/x86/boot/header.S and arch/x86/boot/compressed/eboot.c,
+arch/x86/boot/header.S and drivers/firmware/efi/libstub/x86-stub.c,
respectively. For ARM the EFI stub is implemented in
arch/arm/boot/compressed/efi-header.S and
-arch/arm/boot/compressed/efi-stub.c. EFI stub code that is shared
+drivers/firmware/efi/libstub/arm32-stub.c. EFI stub code that is shared
between architectures is in drivers/firmware/efi/libstub.

For arm64, there is no compressed kernel support, so the Image itself
--
2.20.1


2022-07-27 16:04:27

by Ard Biesheuvel

[permalink] [raw]
Subject: Re: [PATCH] docs: efi-stub: Fix paths for x86 / arm stubs

On Wed, 27 Jul 2022 at 07:06, João Paulo Rechi Vita <[email protected]> wrote:
>
> This fixes the paths of x86 / arm efi-stub source files.
>
> Signed-off-by: João Paulo Rechi Vita <[email protected]>

Reviewed-by: Ard Biesheuvel <[email protected]>

> ---
> Documentation/admin-guide/efi-stub.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/admin-guide/efi-stub.rst b/Documentation/admin-guide/efi-stub.rst
> index 833edb0d0bc4..b24e7c40d832 100644
> --- a/Documentation/admin-guide/efi-stub.rst
> +++ b/Documentation/admin-guide/efi-stub.rst
> @@ -7,10 +7,10 @@ as a PE/COFF image, thereby convincing EFI firmware loaders to load
> it as an EFI executable. The code that modifies the bzImage header,
> along with the EFI-specific entry point that the firmware loader
> jumps to are collectively known as the "EFI boot stub", and live in
> -arch/x86/boot/header.S and arch/x86/boot/compressed/eboot.c,
> +arch/x86/boot/header.S and drivers/firmware/efi/libstub/x86-stub.c,
> respectively. For ARM the EFI stub is implemented in
> arch/arm/boot/compressed/efi-header.S and
> -arch/arm/boot/compressed/efi-stub.c. EFI stub code that is shared
> +drivers/firmware/efi/libstub/arm32-stub.c. EFI stub code that is shared
> between architectures is in drivers/firmware/efi/libstub.
>
> For arm64, there is no compressed kernel support, so the Image itself
> --
> 2.20.1
>

2022-07-28 16:26:03

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] docs: efi-stub: Fix paths for x86 / arm stubs

Ard Biesheuvel <[email protected]> writes:

> On Wed, 27 Jul 2022 at 07:06, João Paulo Rechi Vita <[email protected]> wrote:
>>
>> This fixes the paths of x86 / arm efi-stub source files.
>>
>> Signed-off-by: João Paulo Rechi Vita <[email protected]>
>
> Reviewed-by: Ard Biesheuvel <[email protected]>

Applied, thanks.

jon