On 25/06/18 12:17, Jan Beulich wrote: > 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_PRESENT bit cannot be > reliably used, but the ACPI_MADT_ENABLED bit can. In order to not > introduce new functions in the main ACPI processor driver code, simply > use acpi_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 by acpi_get_phys_id() should do no harm. > > Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Reviewed-by: Juergen Gross <jgross@xxxxxxxx> Juergen -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html