ACK: [PATCH 1/1] Add support for 64 bit LoongArch compilation
ivanhu
ivan.hu at canonical.com
Mon Feb 6 07:41:59 UTC 2023
On 2/2/23 02:02, Colin Ian King wrote:
> From: Huacai Chen <chenhuacai at loongson.cn>
>
> Add 64 bit LoongArch architecture by defining ACPI_MACHINE_WIDTH to 64.
> Useful for acpica tools and incorporating ACPICA into the Firmware Test
> Suite.
>
> Signed-off-by: Huacai Chen <chenhuacai at loongson.cn>
> Signed-off-by: Colin Ian King <colin.king at gmail.com>
> ---
> src/acpica/source/include/platform/aclinux.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/acpica/source/include/platform/aclinux.h b/src/acpica/source/include/platform/aclinux.h
> index 1c55c659..e9c1954d 100644
> --- a/src/acpica/source/include/platform/aclinux.h
> +++ b/src/acpica/source/include/platform/aclinux.h
> @@ -329,7 +329,7 @@
>
> #if defined(__ia64__) || (defined(__x86_64__) && !defined(__ILP32__)) ||\
> defined(__aarch64__) || defined(__PPC64__) ||\
> - defined(__s390x__) ||\
> + defined(__s390x__) || defined(__loongarch__) ||\
> (defined(__riscv) && (defined(__LP64__) || defined(_LP64)))
> #define ACPI_MACHINE_WIDTH 64
> #define COMPILER_DEPENDENT_INT64 long
Currently, no platform for testing, let's see if there is any issue.
Acked-by: Ivan Hu<ivan.hu at canonical.com>
More information about the fwts-devel
mailing list