Skip to content
Commit 307b636d authored by Andrei Warkentin's avatar Andrei Warkentin Committed by Ard Biesheuvel
Browse files

Platform/RPi4: Update ACPI tables for the new platform



Update CSRT, DSDT, GTDT, MADT, SDHC and serial tables for the new
base addresses and switch ACPI to GIC.

We use ACPI 5.1 for MADT because older versions of the Linux kernel
can be finicky when it comes to checking the size of the GICC entries
the table: depending on the FADT version (either 5, or 6 or later),
the size must be exactly 76 or 80 bytes, respectively. However, using
the ACPI 6.0 or 6.1 GICC macros results in 80 byte entries, which
triggers a mismatch error since the FADT we are exposing is 5.1.

Since GICv2 doesn't care about any of the fields that were added
after ACPI 5.1, we can simply use that version to keep Linux happy.

Signed-off-by: default avatarPete Batard <pete@akeo.ie>
Reviewed-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
parent d9b851e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment