ACK: [fwts PATCH 1/1] lib: enable /dev/mem access on aarch64

Colin Ian King colin.king at canonical.com
Thu Oct 15 16:41:43 UTC 2020


On 15/10/2020 17:37, Heinrich Schuchardt wrote:
> The SMBIOS3 table supplied by U-Boot cannot be read without mmap.
> 
> Cc: Leif Lindholm <leif.lindholm at linaro.org>
> Fixes: f36ff824d145 ("lib: disable /dev/mem access on aarch64")
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  src/lib/include/fwts.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/lib/include/fwts.h b/src/lib/include/fwts.h
> index 6f13d262..a4163055 100644
> --- a/src/lib/include/fwts.h
> +++ b/src/lib/include/fwts.h
> @@ -105,6 +105,7 @@
>  #define FWTS_ARCH_AARCH64	1
>  #define FWTS_HAS_ACPI	1
>  #define FWTS_HAS_UEFI	1
> +#define FWTS_USE_DEVMEM 1
>  #endif
> 
>  #if defined(__s390x__)
> --
> 2.28.0
> 

Unless Lief disagrees, I can't see why not, especially if it allows
testing of the SMBIOS table.

Acked-by: Colin Ian King <colin.king at canonical.com>



More information about the fwts-devel mailing list