]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ACPI: tables: Enable FPDT on LoongArch
authorXi Ruoyao <xry111@xry111.site>
Wed, 1 Apr 2026 13:53:12 +0000 (21:53 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 6 Apr 2026 14:43:05 +0000 (16:43 +0200)
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
Signed-off-by: Xi Ruoyao <xry111@xry111.site>
[ rjw: Subject tweak ]
Link: https://patch.msgid.link/20260401135311.1737958-2-xry111@xry111.site
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/Kconfig

index 6f4b545f7377ed5d62d15487b64fbe7ae4d30a72..f165d14cf61a3a6f9fe1b6859cc60dde0bcc5fad 100644 (file)
@@ -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