|
| From: | Liav Albani |
| Subject: | Re: [PATCH v2 2/2] hw/acpi: add indication for i8042 in IA-PC boot flags of the FADT table |
| Date: | Mon, 21 Feb 2022 22:05:35 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 |
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index ebd47aa26f..5dc625b8d8 100644
--- a/hw/i386/acpi-build.c
+++ b/hw/i386/acpi-build.c
@@ -192,6 +192,11 @@ static void init_common_fadt_data(MachineState *ms, Object
*o,
.address = object_property_get_uint(o, ACPI_PM_PROP_GPE0_BLK,
NULL)
},
};
+ if (isa_check_device_existence("i8042")) {
+ /* Indicates if i8042 is present or not */
+ fadt.iapc_boot_arch = (1 << 1);
+ }
+
Looking into this, it seems I messed up with the spaces here. So, I
could fix this and send a v3, but want to see if there are other
comments as well so we can get them fixed and this patch merged (or at
least in a pull request) before the soft feature freeze in 8.3.2022 :)
| [Prev in Thread] | Current Thread | [Next in Thread] |