Skip to content
  • Salil Mehta's avatar
    hw/acpi: Update ACPI GED framework to support vCPU Hotplug · 06f1f495
    Salil Mehta authored and MST's avatar MST committed
    
    
    ACPI GED (as described in the ACPI 6.4 spec) uses an interrupt listed in the
    _CRS object of GED to intimate OSPM about an event. Later then demultiplexes the
    notified event by evaluating ACPI _EVT method to know the type of event. Use
    ACPI GED to also notify the guest kernel about any CPU hot(un)plug events.
    
    Note, GED interface is used by many hotplug events like memory hotplug, NVDIMM
    hotplug and non-hotplug events like system power down event. Each of these can
    be selected using a bit in the 32 bit GED IO interface. A bit has been reserved
    for the CPU hotplug event.
    
    ACPI CPU hotplug related initialization should only happen if ACPI_CPU_HOTPLUG
    support has been enabled for particular architecture. Add cpu_hotplug_hw_init()
    stub to avoid compilation break.
    
    Co-developed-by: default avatarKeqian Zhu <zhukeqian1@huawei.com>
    Signed-off-by: default avatarKeqian Zhu <zhukeqian1@huawei.com>
    Signed-off-by: default avatarSalil Mehta <salil.mehta@huawei.com>
    Reviewed-by: Jonathan Cameron <Jonath...
    06f1f495