]> git.ipfire.org Git - thirdparty/systemd.git/commit
acpi-fpdt: Use kernel fpdt parsing 25310/head
authorJeremy Linton <jlinton@redhat.com>
Tue, 8 Nov 2022 05:31:30 +0000 (23:31 -0600)
committerJeremy Linton <jlinton@redhat.com>
Tue, 15 Nov 2022 02:07:57 +0000 (20:07 -0600)
commitbc09c2d865315e8f0ffdb20b31cd420faec16b5d
treeec651e066a20f918ba01876e0afcb845e272e481
parent09cd639a59fec13d80ac8fce2d671d088d8cca9f
acpi-fpdt: Use kernel fpdt parsing

On some kernels/distros (RHEL/aarch64) /dev/mem is
turned off. This means that the ACPI FPDT data is
missing from systemd-analyze output when /dev/mem
fails to provide the boot times.

Instead recent kernels can export that data from
/sys/firmware/acpi/fpdt/boot/ entries. Use that
information if available first.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
TODO
src/shared/acpi-fpdt.c