xen/ACPI: don't upload Px/Cx data for disabled processors
A message that is not in the archive (sent off-list or not yet received): [email protected]
Juergen Gross
Reviewed-byQuoted 11 lines · Jan Beulich
This is unnecessary and triggers a warning in the hypervisor.
Often systems have more processor entries in their ACPI tables than are actually installed/active. The
ACPI_STA_DEVICE_PRESENTbit cannot be reliably used, but theACPI_MADT_ENABLEDbit can. In order to not introduce new functions in the main ACPI processor driver code, simply useacpi_get_phys_id(), which does more than we need, but which checks the MADT enabled bit in the process. Any CPU for which we can't determine the APIC ID is unlikely to work properly anyway, so the extra checks done byacpi_get_phys_id()should do no harm.
Quoted 1 line
Signed-off-by Jan Beulich <[email protected]>
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel