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 <julien.gr...@arm.com>

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 <julien.gr...@arm.com>
Signed-off-by: Andre Przywara <andre.przyw...@arm.com>
Signed-off-by: Julien Grall <jgr...@amazon.com>

Reviewed-by: Stefano Stabellini <sstabell...@kernel.org>

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

Reply via email to