xen/arm: acpi: Allow Xen to boot with ACPI 5.1

At the moment Xen requires the FADT ACPI table to be at least version
6.0, apparently because of some reliance on other ACPI v6.0 features.

But actually this is overzealous, and Xen works now fine with ACPI v5.1.

Let's relax the version check for the FADT table to allow QEMU to
run the hypervisor with ACPI.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Julien Grall <jgrall@amazon.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
This commit is contained in:
Julien Grall authored and Stefano Stabellini committed 2020-11-19 16:25:28 -08:00
1 parent 9a3c25b656
commit 0ff2c7e5b4
1 file changed
+2 -2
+2 -2
View File
@@ -181,8 +181,8 @@ static int __init acpi_parse_fadt(struct acpi_table_header *table)
* we only deal with ACPI 6.0 or newer revision to get GIC and SMP
* boot protocol configuration data, or we will disable ACPI.
*/
if ( table->revision > 6
|| (table->revision == 6 && fadt->minor_revision >= 0) )
if ( table->revision > 5
|| (table->revision == 5 && fadt->minor_revision >= 1) )
return 0;
printk("Unsupported FADT revision %d.%d, should be 6.0+, will disable ACPI\n",
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.