Re: [PATCH] ACPI: Enable FPDT on LoongArch
From: Rafael J. Wysocki
Date: Mon Apr 06 2026 - 10:52:44 EST
On Wed, Apr 1, 2026 at 3:55 PM Xi Ruoyao <xry111@xxxxxxxxxxx> wrote:
>
> FPDT provides system- and application-readable performance statistics,
> useful for profiling and analyzing boot-time performance. FPDT table
> support is now available as a pending patch at the EDK II upstream [1]
> and has been tested on real hardware such as Loongson XA61200_V1.1 and
> XB612B0_V1.2 with patched firmware.
>
> We have also cross checked systemd-analyze(1) against a stop watch and
> the `dp' command in EFI Shell to see that the timing information are
> correct.
>
> Now that the functionality of FPDT is verified on LoongArch hardware,
> list LOONGARCH as a possible dependency, allowing it to be enabled.
>
> Link: https://github.com/tianocore/edk2/pull/12378 [1]
> Signed-off-by: Xi Ruoyao <xry111@xxxxxxxxxxx>
> ---
> drivers/acpi/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
> index 6f4b545f7377..f165d14cf61a 100644
> --- a/drivers/acpi/Kconfig
> +++ b/drivers/acpi/Kconfig
> @@ -96,7 +96,7 @@ config ACPI_SPCR_TABLE
>
> config ACPI_FPDT
> bool "ACPI Firmware Performance Data Table (FPDT) support"
> - depends on X86_64 || ARM64
> + depends on X86_64 || ARM64 || LOONGARCH
> help
> Enable support for the Firmware Performance Data Table (FPDT).
> This table provides information on the timing of the system
> --
Applied as 7.1 material, thanks!