Hi Stefano,
I just realized the title says "gic-v2" when I also modified "gic-v3". I
will update the title on the next version.
On 24/10/2020 01:45, Stefano Stabellini wrote:
On Fri, 23 Oct 2020, Stefano Stabellini wrote:
On Fri, 23 Oct 2020, Julien Grall wrote:
From: Julien Grall <[email protected]>
The length of the GICC structure in the MADT ACPI table differs between
version 5.1 and 6.0, although there are no other relevant differences.
Use the BAD_MADT_GICC_ENTRY macro, which was specifically designed to
overcome this issue.
Signed-off-by: Julien Grall <[email protected]>
Signed-off-by: Andre Przywara <[email protected]>
Signed-off-by: Julien Grall <[email protected]>
Reviewed-by: Stefano Stabellini <[email protected]>
Actually it looks we need to do substitutions in a couple of other places:
- xen/arch/arm/gic-v3.c:gicv3_make_hwdom_madt
- xen/arch/arm/gic-v3.c:gic_acpi_get_madt_cpu_num
- xen/arch/arm/gic.c:gic_get_hwdom_madt_size
I will update the 3 and resend the series.
Cheers,
--
Julien Grall