diff mbox series

[1/1] efi_loader: allow EFI_LOADER_BOUNCE_BUFFER on all architectures

Message ID 20240821213349.256463-1-heinrich.schuchardt@canonical.com
State New, archived
Commit dcd1b63b7072749f98ea0a87565d0ae5c8ddfb65
Delegated to: Heinrich Schuchardt
Headers show
Series [1/1] efi_loader: allow EFI_LOADER_BOUNCE_BUFFER on all architectures | expand

Commit Message

Heinrich Schuchardt Aug. 21, 2024, 9:33 p.m. UTC
There not only ARM64 boards but also RISC-V boards that require a bounce
buffer to read block devices.

Drop the architecture restriction.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
---
 lib/efi_loader/Kconfig | 1 -
 1 file changed, 1 deletion(-)

Comments

Ilias Apalodimas Aug. 26, 2024, 10:16 a.m. UTC | #1
On Thu, 22 Aug 2024 at 00:34, Heinrich Schuchardt
<heinrich.schuchardt@canonical.com> wrote:
>
> There not only ARM64 boards but also RISC-V boards that require a bounce
> buffer to read block devices.
>
> Drop the architecture restriction.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
> ---
>  lib/efi_loader/Kconfig | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
> index 1179c31bb13..6ffefa9103f 100644
> --- a/lib/efi_loader/Kconfig
> +++ b/lib/efi_loader/Kconfig
> @@ -364,7 +364,6 @@ endif
>
>  config EFI_LOADER_BOUNCE_BUFFER
>         bool "EFI Applications use bounce buffers for DMA operations"
> -       depends on ARM64
>         help
>           Some hardware does not support DMA to full 64bit addresses. For this
>           hardware we can create a bounce buffer so that payloads don't have to
> --
> 2.45.2
>

Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
diff mbox series

Patch

diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
index 1179c31bb13..6ffefa9103f 100644
--- a/lib/efi_loader/Kconfig
+++ b/lib/efi_loader/Kconfig
@@ -364,7 +364,6 @@  endif
 
 config EFI_LOADER_BOUNCE_BUFFER
 	bool "EFI Applications use bounce buffers for DMA operations"
-	depends on ARM64
 	help
 	  Some hardware does not support DMA to full 64bit addresses. For this
 	  hardware we can create a bounce buffer so that payloads don't have to