• Rafael J. Wysocki's avatar
    ACPI / PM: Move processor suspend/resume to syscore_ops · 0a3b15ac
    Rafael J. Wysocki authored
    The system suspend routine of the ACPI processor driver saves
    the BUS_MASTER_RLD register and its resume routine restores it.
    However, there can be only one such register in the system and it
    really should be saved after non-boot CPUs have been offlined and
    restored before they are put back online during resume.
    For this reason, move the saving and restoration of BUS_MASTER_RLD
    to syscore suspend and syscore resume, respectively, and drop the no
    longer necessary suspend/resume callbacks from the ACPI processor
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
processor_driver.c 25.2 KB