mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
libacpi: Remove CPU hotplug and GPE handling from PVH DSDTs
PVH guests have no DM, so this causes the guest to fetch the online CPU
bitmap from an unbacked 0xaf00 PIO port when executing the GPE handler.
Seeing how ACPI CPU hotplug is the only event delivered via GPE, remove
the GPE handler in addition to anything ACPI CPU hotplug related.
This shrinks PVH's DSDT substantially and prevents spuriously executing
a large amount of AML with no purpose at all.
Fixes: 062975dc9441("acpi: PVH guests need _E02 method")
Signed-off-by: Alejandro Vallejo <alejandro.garciavallejo@amd.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
master commit: b59e564aa0
master date: 2025-09-25 09:18:55 +0200
This commit is contained in:
1 parent
01b8bc41e8
commit
030b9ade00
1 file changed
+5
-4
@@ -237,6 +237,11 @@ int main(int argc, char **argv)
|
||||
pop_block();
|
||||
/**** Processor end ****/
|
||||
#else
|
||||
if (dm_version == QEMU_NONE) {
|
||||
pop_block();
|
||||
pop_block();
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Operation Region 'PRST': bitmask of online CPUs. */
|
||||
stmt("OperationRegion", "PRST, SystemIO, %#x, %d",
|
||||
@@ -285,10 +290,6 @@ int main(int argc, char **argv)
|
||||
pop_block();
|
||||
pop_block();
|
||||
|
||||
if (dm_version == QEMU_NONE) {
|
||||
pop_block();
|
||||
return 0;
|
||||
}
|
||||
/**** Processor end ****/
|
||||
|
||||
|
||||
|
||||