Here is a least intrusive patch by my opinion... Just copy pm_disk_mode from pm_ops supplied by platform. ACPI sets it to PM_DISK_PLATFORM if it has S4, and it should be zero otherwise, patch does not copy it then. Regards, Alex. Yu, Luming wrote: >> There is a problem with swsuspend and GPE events. >> Now they are restored from acpi_pm_finish(), which is called only if we >> suspend with "platform" option, what means that if we suspended to disk >> with the default "shutdown" option after resume all the GPEs >> will be disabled. >> This presents us with the overheating problem after resume at >> very least. >> I see two solutions: one is to make "platform" to be default >> option if ACPI is enabled, >> and second -- enable GPE events from some other function, >> which will be called in any case. >> >> What do you think? >> > > I prefer platform S4 as default... > > --Luming > - > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >