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:Pete Batard <pete@akeo.ie> Reviewed-by:
Ard Biesheuvel <ard.biesheuvel@linaro.org>
Loading
Please register or sign in to comment