aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/main.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-05PM: sleep: stats: Use locking in dpm_save_failed_dev()Rafael J. Wysocki1-0/+5
2024-02-05PM: sleep: stats: Define suspend_stats next to the code using itRafael J. Wysocki1-13/+63
2024-02-05PM: sleep: stats: Use unsigned int for success and failure countersRafael J. Wysocki1-3/+3
2024-02-05PM: sleep: stats: Use an array of step failure countersRafael J. Wysocki1-24/+27
2024-02-05PM: sleep: stats: Use array of suspend step namesRafael J. Wysocki1-32/+18
2023-12-20PM: sleep: Remove obsolete comment from unlock_system_sleep()Kevin Hao1-16/+0
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+27
2023-06-12include/linux/suspend.h: Only show pm_pr_dbg messages at suspend/resumeMario Limonciello1-0/+6
2023-06-09mm: page_alloc: move pm_* function into powerKefeng Wang1-0/+27
2023-04-20PM: Add sysfs files to represent time spent in hardware sleep stateMario Limonciello1-12/+47
2022-09-07freezer,sched: Rewrite core freezer logicPeter Zijlstra1-3/+3
2022-09-07freezer: Have {,un}lock_system_sleep() save/restore flagsPeter Zijlstra1-6/+10
2022-05-27Merge tag 'cxl-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl...Linus Torvalds1-1/+4
2022-04-22PM: CXL: Disable suspendDan Williams1-1/+4
2022-04-13PM: sleep: enable dynamic debug support within pm_pr_dbg()David Cohen1-29/+0
2022-02-07PM: s2idle: ACPI: Fix wakeup interrupts handlingRafael J. Wysocki1-1/+4
2021-08-16PM: sleep: unmark 'state' functions as kernel-docRandy Dunlap1-1/+1
2021-02-12PM: sleep: Constify static struct attribute_groupRikard Falkeborn1-1/+1
2020-09-01notifier: Fix broken error handling patternPeter Zijlstra1-4/+4
2020-04-02PM: sleep: Add pm_debug_messages kernel command line optionChen Yu1-0/+7
2020-01-16PM: suspend: Add sysfs attribute to control the "sync on suspend" behaviorJonas Meurer1-0/+33
2019-10-10PM: sleep: include <linux/pm_runtime.h> for pm_wqBen Dooks1-0/+1
2019-08-16PM: sleep: Replace strncmp() with str_has_prefix()Chuhong Yuan1-1/+1
2019-08-05PM/sleep: Expose suspend stats in sysfsKalesh Singh1-2/+95
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 428Thomas Gleixner1-3/+1
2019-04-02PM / sleep: Measure the time of filesystems syncingHarry Pan1-2/+7
2019-04-02PM / sleep: Refactor filesystems sync to reduce duplicationHarry Pan1-0/+9
2018-12-12PM / sleep: convert to DEFINE_SHOW_ATTRIBUTEYangtao Li1-13/+2
2018-08-06PM / reboot: Eliminate race between reboot and suspendPingfan Liu1-6/+6
2018-06-15fix a series of Documentation/ broken file name referencesMauro Carvalho Chehab1-2/+3
2018-01-10PM / sleep: Make lock/unlock_system_sleep() available to kernel modulesBart Van Assche1-0/+29
2017-08-18ACPI / PM: Check low power idle constraints for debug onlySrinivas Pandruvada1-1/+1
2017-07-24PM / sleep: Put pm_test under CONFIG_PM_SLEEP_DEBUGRafael J. Wysocki1-5/+3
2017-07-23PM / timekeeping: Print debug messages when requestedRafael J. Wysocki1-3/+7
2017-07-22PM / sleep: Do not print debug messages by defaultRafael J. Wysocki1-0/+52
2017-07-04PM / sleep: constify attribute_group structuresArvind Yadav1-1/+1
2016-11-21PM / sleep: System sleep state selection interface reworkRafael J. Wysocki1-3/+85
2016-09-13PM / sleep: enable suspend-to-idle even without registered suspend_opsSudeep Holla1-0/+1
2016-06-28PM / sleep: make PM notifiers called symmetricallyLianwei Wang1-2/+9
2016-01-04PM / sleep: Add support for read-only sysfs attributesRafael J. Wysocki1-15/+2
2015-09-16PM / sleep: Report interrupt that caused system wakeupAlexandra Yates1-0/+17
2015-05-13PM / sleep: Fix symbol name in a comment in kernel/power/main.cRafael J. Wysocki1-1/+1
2015-03-18PM / sleep: add pm-trace support for suspending phaseZhonghui Fu1-1/+1
2014-07-27Merge branches 'pm-apm' and 'pm-sleep'Rafael J. Wysocki1-10/+11
2014-07-23PM: Create PM workqueue if runtime PM is not configured tooRafael J. Wysocki1-4/+0
2014-07-21PM / sleep: Simplify sleep states sysfs interface codeRafael J. Wysocki1-10/+11
2014-06-16PM / hibernate: introduce "nohibernate" boot parameterKees Cook1-4/+2
2014-05-26PM / sleep: Introduce command line argument for sleep state enumerationRafael J. Wysocki1-6/+6
2014-05-26PM / sleep: Use valid_state() for platform-dependent sleep states onlyRafael J. Wysocki1-4/+5
2014-05-26PM / sleep: Add state field to pm_states[] entriesRafael J. Wysocki1-8/+8
2014-03-12PM: Add missing "freeze" stateGeert Uytterhoeven1-2/+2
2013-06-27PM / Sleep: Warn about system time after resume with pm_traceShuah Khan1-0/+4
2013-06-21PM / Sleep: Print last wakeup source on failed wakeup_count writeJulius Werner1-0/+2
2013-02-09suspend: enable freeze timeout configuration through sysLi Fei1-0/+27
2013-02-09PM: Introduce suspend state PM_SUSPEND_FREEZEZhang Rui1-1/+1
2012-11-15PM / sysfs: replace strict_str* with kstrto*Daniel Walter1-1/+1
2012-07-01PM / Sleep: Separate printing suspend times from initcall_debugRafael J. Wysocki1-32/+44
2012-07-01PM / Sleep: add knob for printing device resume timesSameer Nanda1-0/+33
2012-05-05PM / Sleep: Fix a mistake in a conditional in autosleep_store()Arve Hjønnevåg1-1/+1
2012-05-01PM / Sleep: Add user space interface for manipulating wakeup sources, v3Rafael J. Wysocki1-0/+41
2012-05-01PM / Sleep: Implement opportunistic sleep, v2Rafael J. Wysocki1-19/+100
2012-02-17PM / Sleep: Make enter_state() in kernel/power/suspend.c staticRafael J. Wysocki1-5/+3
2012-02-09PM / Suspend: Avoid code duplication in suspend statistics updateMarcos Paulo de Souza1-5/+1
2012-01-29PM / Sleep: Introduce "late suspend" and "early resume" of devicesRafael J. Wysocki1-2/+6
2011-12-08PM / Sleep: Replace mutex_[un]lock(&pm_mutex) with [un]lock_system_sleep()Srivatsa S. Bhat1-2/+2
2011-11-23PM: Fix indentation and remove extraneous whitespaces in kernel/power/main.cSrivatsa S. Bhat1-3/+3
2011-11-19PM / Suspend: Fix bug in suspend statistics updateSrivatsa S. Bhat1-1/+2
2011-10-31kernel: Fix files explicitly needing EXPORT_SYMBOL infrastructurePaul Gortmaker1-0/+1
2011-10-16PM: Fix build issue in main.c for CONFIG_PM_SLEEP unsetRafael J. Wysocki1-2/+2
2011-10-16PM / Suspend: Add statistics debugfs file for suspend to RAMShuoX Liu1-0/+102
2011-07-15PM: Improve error code of pm_notifier_call_chain()Akinobu Mita1-2/+3
2011-05-17PM / Hibernate: Add sysfs knob to control size of memory for driversRafael J. Wysocki1-0/+1
2011-03-31Fix common misspellingsLucas De Marchi1-1/+1
2011-03-15PM: Drop pm_flags that is not necessaryRafael J. Wysocki1-13/+0
2011-03-15PM / ACPI: Remove references to pm_flags from bus.cRafael J. Wysocki1-1/+11
2011-02-16workqueue, freezer: unify spelling of 'freeze' + 'able' to 'freezable'Tejun Heo1-1/+1
2010-10-17PM: Add sysfs attr for rechecking dev hash from PM traceJames Hogan1-0/+18
2010-10-17PM / Wakeup: Introduce wakeup source objects and event statistics (v3)Rafael J. Wysocki1-4/+4
2010-10-17PM / Hibernate: Make default image size depend on total RAM sizeRafael J. Wysocki1-0/+1
2010-10-17PM / Runtime: Use alloc_workqueue() for creating the PM workqueueRafael J. Wysocki1-1/+1
2010-07-19PM: Make it possible to avoid races between wakeup and system sleepRafael J. Wysocki1-0/+55
2010-02-26PM: Add a switch for disabling/enabling asynchronous suspend/resumeRafael J. Wysocki1-1/+30
2009-12-06PM / Runtime: Export the PM runtime workqueueAlan Stern1-0/+1
2009-08-23PM: Introduce core framework for run-time PM of I/O devices (rev. 17)Rafael J. Wysocki1-0/+17
2009-06-12PM: Separate suspend to RAM functionality from coreRafael J. Wysocki1-503/+0
2009-06-12PM/Suspend: Do not shrink memory before suspendRafael J. Wysocki1-19/+1
2009-06-12PM core: rename suspend and resume functionsAlan Stern1-4/+4
2009-06-12PM: Rename device_power_down/up()Magnus Damm1-2/+2
2009-05-24PM: Do not hold dpm_list_mtx while disabling/enabling nonboot CPUsRafael J. Wysocki1-6/+1
2009-04-19PM/Suspend: Introduce two new platform callbacks to avoid breakageRafael J. Wysocki1-7/+17
2009-03-30PM: Change suspend code orderingRafael J. Wysocki1-16/+22
2009-03-30PM: Rework handling of interrupts during suspend-resumeRafael J. Wysocki1-6/+11
2009-02-22PM: Split up sysdev_[suspend|resume] from device_power_[down|up]Rafael J. Wysocki1-2/+6
2009-01-16PM: Fix compilation warning in kernel/power/main.cRafael J. Wysocki1-13/+13
2009-01-06pm: struct device - replace bus_id with dev_name(), dev_set_name()Kay Sievers1-3/+3
2008-11-23tracing: allow tracing of suspend/resume & hibernation code againIngo Molnar1-4/+1
2008-11-18suspend: use WARN not WARN_ON to print the messageArjan van de Ven1-1/+1
2008-10-16pm: rework disabling of user mode helpers during suspend/hibernationRafael J. Wysocki1-0/+7
2008-08-27ftrace: disable tracing for suspend to ramSteven Rostedt1-1/+4
2008-07-26pm selftest: rtc paranoiaDavid Brownell1-0/+7
2008-07-24pm: boot time suspend selftestDavid Brownell1-1/+193
2008-06-12Suspend-related patches for 2.6.27Rafael J. Wysocki1-3/+7
2008-06-10Introduce new top level suspend and hibernation callbacksRafael J. Wysocki1-2/+4
2008-02-01Suspend: Invoke suspend notifications after console switchJohannes Berg1-4/+4
2008-02-01Suspend: Add config option to disable the freezer if architecture wants thatJohannes Berg1-3/+3
2008-02-01Suspend: Introduce begin() and end() callbacksRafael J. Wysocki1-3/+6
2008-02-01suspend: fix ia64 allmodconfig buildRafael J. Wysocki1-5/+2
2008-02-01Suspend: Use common prefix in messagesRafael J. Wysocki1-3/+3
2008-02-01Suspend: Fix comment in main.cRafael J. Wysocki1-2/+2
2008-02-01Suspend: Fix compilation warning for CONFIG_SUSPEND unsetRafael J. Wysocki1-0/+2
2008-02-01PM: Convert PM notifiers to out-of-line codeAlan Stern1-2/+26
2008-02-01suspend: build fix responding to 2.6.25 kset changeRafael J. Wysocki1-2/+5
2008-02-01Suspend: Testing facility (rev. 2)Rafael J. Wysocki1-9/+99
2008-01-24driver core: make /sys/power a kobjectGreg Kroah-Hartman1-4/+4
2008-01-24Driver Core: switch all dynamic ksets to kobj_sysfs_opsKay Sievers1-4/+8
2008-01-24kset: convert /sys/power to use kset_createGreg Kroah-Hartman1-6/+5
2008-01-24kobject: remove struct kobj_type from struct ksetGreg Kroah-Hartman1-1/+1
2008-01-11PM: ACPI and APM must not be enabled at the same timeLen Brown1-0/+3
2007-10-18freezer: do not sync filesystems from freeze_processesRafael J. Wysocki1-0/+6
2007-10-18PM: Make suspend_ops staticRafael J. Wysocki1-1/+1
2007-10-18PM: Rework struct platform_suspend_opsRafael J. Wysocki1-9/+3
2007-10-18PM: Rename struct pm_ops and related thingsRafael J. Wysocki1-17/+17
2007-10-18make kernel/power/main.c:suspend_enter() staticAdrian Bunk1-1/+1
2007-07-29Introduce CONFIG_SUSPEND for suspend-to-Ram and standbyRafael J. Wysocki1-8/+18
2007-07-29Replace CONFIG_SOFTWARE_SUSPEND with CONFIG_HIBERNATIONRafael J. Wysocki1-1/+1
2007-07-19PM: Integrate beeping flag with existing acpi_sleep flagsPavel Machek1-23/+0
2007-07-19PM: Optional beeping during resume from suspend to RAMNigel Cunningham1-0/+23
2007-07-19PM: Reduce code duplication between main.c and user.cRafael J. Wysocki1-44/+55
2007-07-19PM: introduce hibernation and suspend notifiersRafael J. Wysocki1-0/+9
2007-07-01PM: introduce set_target method in pm_opsRafael J. Wysocki1-1/+5
2007-05-17swsusp: fix sysfs interfaceRafael J. Wysocki1-2/+2
2007-05-16Fix ACPI suspend / device suspend ordering problemLinus Torvalds1-7/+8
2007-05-09PM: Separate hibernation code from suspend codeRafael J. Wysocki1-26/+16
2007-05-07remove software_suspend()Johannes Berg1-14/+7
2007-05-07swsusp: do not use page flagsRafael J. Wysocki1-0/+2
2007-05-02remove "struct subsystem" as it is no longer neededGreg Kroah-Hartman1-5/+5
2007-04-30power management: force pm_ops.valid callback to be assignedJohannes Berg1-2/+2
2007-04-30power management: implement pm_ops.valid for everybodyJohannes Berg1-0/+13
2007-04-30rework pm_ops pm_disk_mode, kill misuseJohannes Berg1-1/+5
2007-04-27s2ram: add arch irq disable/enable hooksJohannes Berg1-3/+15
2007-02-23power management: no valid states w/o pm_opsJohannes Berg1-1/+4
2007-02-11[PATCH] PM: Change code ordering in main.cRafael J. Wysocki1-15/+19
2007-02-11[PATCH] Drop free_pages()Christoph Lameter1-1/+3
2006-12-16Pull bugfix into test branchLen Brown1-1/+1
2006-12-07[PATCH] Export pm_suspend for the shared APM emulationRalf Baechle1-1/+2
2006-12-07[PATCH] convert pm_sem to a mutexStephen Hemminger1-5/+5
2006-12-07[PATCH] Add include/linux/freezer.h and move definitions from sched.hNigel Cunningham1-0/+1
2006-11-01ACPI: S4: Use "platform" rather than "shutdown" mode by defaultRafael J. Wysocki1-1/+1
2006-09-26[PATCH] PM: Add pm_trace switchRafael J. Wysocki1-0/+30
2006-09-26[PATCH] Disable CPU hotplug during suspendRafael J. Wysocki1-6/+4
2006-06-25[PATCH] constify parts of kernel/power/Andreas Mohr1-2/+2
2006-06-22[PATCH] suspend_console() warning fixAndrew Morton1-1/+1
2006-06-19Add support for suspending and resuming the whole console subsystemLinus Torvalds1-0/+2
2006-04-28[PATCH] off-by-1 in kernel/power/main.cdean gaudet1-1/+1
2006-03-23[PATCH] swsusp: add s2ram ioctl to userland interfaceLuca Tettamanti1-1/+1
2005-11-30[ACPI] SMP S3 resume: evaluate _WAK after INITDavid Shaohua Li1-2/+2
2005-11-29[PATCH] fix swsusp on machines not supporting S4Pavel Machek1-5/+16
2005-11-09[PATCH] sleep: Fix oops in enter_statePavel Machek1-1/+1
2005-10-30[PATCH] introduce .valid callback for pm_opsShaohua Li1-1/+4
2005-09-05[PATCH] pm: clean up /sys/power/diskPavel Machek1-2/+3
2005-07-12[ACPI] merge acpi-2.6.12 branch into latest Linux 2.6.13-rc...Len Brown1-1/+15
2005-07-11[ACPI] Suspend to RAM fixDavid Shaohua Li1-0/+14
2005-07-11[ACPI] ACPI poweroff fixAlexey Starikovskiy1-1/+1
2005-06-25[PATCH] suspend/resume SMP supportLi Shaohua1-6/+10
2005-05-17[PATCH] Driver Core: pm diagnostics update, check for errorsDavid Brownell1-3/+3
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+269