aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle/cpuidle.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-22x86/mm: delete unused cpu argument to leave_mm()Yosry Ahmed1-1/+1
2023-06-05cpuidle: Use local_clock_noinstr()Peter Zijlstra1-4/+4
2023-03-22cpuidle: move to use bus_get_dev_root()Greg Kroah-Hartman1-1/+1
2023-01-31cpuidle: Fix poll_idle() noinstr annotationPeter Zijlstra1-1/+1
2023-01-13cpuidle: Add comments about noinstr/__cpuidle usagePeter Zijlstra1-0/+12
2023-01-13cpuidle: Ensure ct_cpuidle_enter() is always called from noinstr/__cpuidlePeter Zijlstra1-9/+28
2023-01-13cpuidle: Fix ct_idle_*() usagePeter Zijlstra1-5/+6
2023-01-13cpuidle: Move IRQ state validationPeter Zijlstra1-5/+5
2022-08-08Merge tag 'pm-5.20-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ra...Linus Torvalds1-1/+5
2022-08-03cpuidle: Add cpu_idle_miss trace eventKajetan Puchalski1-1/+5
2022-07-05context_tracking: Take idle eqs entrypoints over RCUFrederic Weisbecker1-4/+5
2020-12-01cpuidle: Select polling interval based on a c-state with a longer target resi...Mel Gorman1-2/+23
2020-09-28Merge back cpuidle material for 5.10.Rafael J. Wysocki1-10/+0
2020-09-23cpuidle: record state entry rejection statisticsLina Iyer1-0/+1
2020-09-22cpuidle: Drop misleading comments about RCU usageUlf Hansson1-10/+0
2020-09-16cpuidle: Allow cpuidle drivers to take over RCU-idlePeter Zijlstra1-5/+10
2020-08-26cpuidle: Make CPUIDLE_FLAG_TLB_FLUSHED genericPeter Zijlstra1-0/+4
2020-08-26sched,idle,rcu: Push rcu_idle deeper into the idle pathPeter Zijlstra1-4/+8
2020-08-26cpuidle: Fixup IRQ statePeter Zijlstra1-1/+2
2020-06-25cpuidle: Rearrange s2idle-specific idle state entry codeRafael J. Wysocki1-3/+3
2020-06-23PM: s2idle: Clear _TIF_POLLING_NRFLAG before suspend to idleChen Yu1-1/+2
2020-02-13PM: QoS: Drop PM_QOS_CPU_DMA_LATENCY notifier chainRafael J. Wysocki1-39/+1
2020-01-23Merge branch 'intel_idle+acpi'Rafael J. Wysocki1-1/+5
2020-01-23cpuidle: fix cpuidle_find_deepest_state() kerneldoc warningsBenjamin Gaignard1-0/+3
2019-12-27cpuidle: Allow idle states to be disabled by defaultRafael J. Wysocki1-1/+5
2019-12-12cpuidle: Drop unnecessary type cast in cpuidle_poll_time()Rafael J. Wysocki1-1/+1
2019-12-09cpuidle: use first valid target residency as poll timeMarcelo Tosatti1-0/+1
2019-11-29cpuidle: Drop disabled field from struct cpuidle_stateRafael J. Wysocki1-1/+1
2019-11-20cpuidle: Pass exit latency limit to cpuidle_use_deepest_state()Daniel Lezcano1-2/+3
2019-11-20cpuidle: Allow idle injection to apply exit latency limitDaniel Lezcano1-6/+7
2019-11-11cpuidle: Use nanoseconds as the unit of timeRafael J. Wysocki1-19/+17
2019-11-06cpuidle: Consolidate disabled state checksRafael J. Wysocki1-11/+13
2019-07-30cpuidle: add poll_limit_ns to cpuidle_device structureMarcelo Tosatti1-0/+30
2019-04-10cpuidle: Export the next timer expiration for CPUsUlf Hansson1-2/+17
2018-12-12cpuidle: Add 'above' and 'below' idle state metricsRafael J. Wysocki1-1/+30
2018-12-11cpuidle: Add cpuidle.governor= command line parameterRafael J. Wysocki1-0/+1
2018-09-18cpuidle: enter_state: Don't needlessly calculate diff timeFieah Lim1-8/+8
2018-04-06cpuidle: Return nohz hint from cpuidle_select()Rafael J. Wysocki1-2/+8
2018-03-29PM: cpuidle/suspend: Add s2idle usage and time state attributesRafael J. Wysocki1-0/+9
2017-11-08cpuidle: Avoid assignment in if () argumentGaurav Jindal1-3/+5
2017-11-08cpuidle: Clean up cpuidle_enable_device() error handling a bitGaurav Jindal1-1/+4
2017-09-28cpuidle: fix broadcast control when broadcast can not be enteredNicholas Piggin1-0/+1
2017-08-11PM / s2idle: Rename ->enter_freeze to ->enter_s2idleRafael J. Wysocki1-9/+9
2017-05-15cpuidle: Fix idle time trackingPeter Zijlstra1-0/+1
2017-05-01cpuidle: check dev before usage in cpuidle_use_deepest_state()Li, Fei1-1/+2
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2016-12-06cpuidle: Add a kerneldoc comment to cpuidle_use_deepest_state()Rafael J. Wysocki1-1/+7
2016-11-29cpuidle: Allow enforcing deepest idle state selectionJacob Pan1-1/+12
2016-07-04cpuidle: Fix last_residency divisionShreyas B. Prabhu1-8/+4
2016-05-18cpuidle: Fix cpuidle_state_is_coupled() argument in cpuidle_enter()Daniel Lezcano1-1/+1
2016-04-26cpuidle: Replace ktime_get() with local_clock()Daniel Lezcano1-4/+8
2016-04-09cpuidle: Indicate when a device has been unregisteredDave Gerlach1-0/+2
2016-01-22cpuidle: fix fallback mechanism for suspend to idle in absence of enter_freezeSudeep Holla1-1/+1
2016-01-19sched / idle: Drop default_idle_call() fallback from call_cpuidle()Rafael J. Wysocki1-3/+3
2015-09-01Merge tag 'pm+acpi-4.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+2
2015-08-31Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+4
2015-08-28cpuidle/coupled: Remove redundant 'dev' argument of cpuidle_state_is_coupled()Xunlei Pang1-2/+2
2015-07-21sched/idle: Move latency tracing stop/start calls deeper inside the idle loopLucas Stach1-0/+4
2015-07-09suspend-to-idle: Prevent RCU from complaining about tick_freeze()Rafael J. Wysocki1-2/+7
2015-06-19Merge branches 'pm-sleep' and 'pm-runtime'Rafael J. Wysocki1-0/+2
2015-05-30cpuidle: Do not use CPUIDLE_DRIVER_STATE_START in cpuidle.cRafael J. Wysocki1-3/+3
2015-05-19PM / sleep: Make suspend-to-idle-specific code depend on CONFIG_SUSPENDRafael J. Wysocki1-0/+2
2015-05-14cpuidle: Select a different state on tick_broadcast_enter() failuresRafael J. Wysocki1-5/+15
2015-05-14sched / idle: Call default_idle_call() from cpuidle_enter_state()Rafael J. Wysocki1-1/+3
2015-05-14sched / idle: Call idle_set_state() from cpuidle_enter_state()Rafael J. Wysocki1-0/+6
2015-05-09cpuidle: Fix the kerneldoc comment for cpuidle_enter_state()Rafael J. Wysocki1-1/+1
2015-05-04cpuidle: Check the sign of index in cpuidle_reflect()Rafael J. Wysocki1-1/+1
2015-04-29cpuidle: Run tick_broadcast_exit() with disabled interruptsRafael J. Wysocki1-0/+16
2015-04-03cpuidle: remove state_count field from struct cpuidle_deviceBartlomiej Zolnierkiewicz1-3/+0
2015-03-05cpuidle / sleep: Use broadcast timer for states that stop local timerRafael J. Wysocki1-40/+22
2015-02-28cpuidle / sleep: Do sanity checks in cpuidle_enter_freeze() tooRafael J. Wysocki1-7/+16
2015-02-28idle / sleep: Avoid excessive disabling and enabling interruptsRafael J. Wysocki1-3/+3
2015-02-15PM / sleep: Make it possible to quiesce timers during suspend-to-idleRafael J. Wysocki1-5/+44
2015-02-13PM / sleep: Re-implement suspend-to-idle handlingRafael J. Wysocki1-23/+26
2014-09-24sched: Let the scheduler see CPU idle statesDaniel Lezcano1-0/+6
2014-09-19cpuidle: Use wake_up_all_idle_cpus() to wake up all idle cpusChuansheng Liu1-7/+2
2014-07-09cpuidle: move idle traces to cpuidle_enter_state()Sandeep Tripathy1-0/+2
2014-05-07PM / suspend: Always use deepest C-state in the "freeze" sleep stateRafael J. Wysocki1-1/+44
2014-05-01cpuidle: Combine cpuidle_enabled() with cpuidle_select()Rafael J. Wysocki1-20/+6
2014-04-02Merge branch 'sched-idle-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-51/+56
2014-04-01Merge tag 'pm+acpi-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+2
2014-03-12cpuidle: delay enabling interrupts until all coupled CPUs leave idlePaul Burton1-1/+2
2014-03-11cpuidle/idle: Move the cpuidle_idle_call function to idle.cDaniel Lezcano1-49/+0
2014-03-11idle/cpuidle: Split cpuidle_idle_call main function into smaller functionsDaniel Lezcano1-21/+75
2014-02-07cpuidle: Handle clockevents_notify(BROADCAST_ENTER) failurePreeti U Murthy1-6/+8
2013-12-03cpuidle: Check for dev before deregistering it.Konrad Rzeszutek Wilk1-1/+1
2013-10-30cpuidle: don't call poll_idle_init() for every cpuViresh Kumar1-41/+0
2013-10-30cpuidle: replace multiline statements with single line in cpuidle_idle_call()Viresh Kumar1-4/+2
2013-10-30cpuidle: reduce code duplication inside cpuidle_idle_call()Viresh Kumar1-2/+5
2013-10-30cpuidle: merge two if() statements for checking error casesViresh Kumar1-4/+1
2013-10-30cpuidle: rearrange __cpuidle_register_device() to keep minimal exit pointsViresh Kumar1-5/+4
2013-10-30cpuidle: make __cpuidle_device_init() return voidViresh Kumar1-6/+2
2013-10-30cpuidle: Fix comments in cpuidle coreViresh Kumar1-1/+1
2013-07-15cpuidle: Check if device is already registeredDaniel Lezcano1-1/+4
2013-07-15cpuidle: Introduce __cpuidle_device_init()Daniel Lezcano1-7/+13
2013-07-15cpuidle: Introduce __cpuidle_unregister_device()Daniel Lezcano1-30/+32
2013-07-15cpuidle: Check cpuidle_enable_device() return valueDaniel Lezcano1-8/+9
2013-06-11cpuidle: simplify multiple driver supportDaniel Lezcano1-2/+2
2013-04-24cpuidle: fix comment formatDaniel Lezcano1-1/+1
2013-04-23cpuidle: make a single register function for allDaniel Lezcano1-0/+72
2013-04-23cpuidle: remove en_core_tk_irqen flagDaniel Lezcano1-54/+18
2013-04-01cpuidle : handle clockevent notify from the cpuidle frameworkDaniel Lezcano1-0/+9
2013-01-26PM / tracing: remove deprecated power trace APIPaul Gortmaker1-2/+0
2013-01-15cpuidle: remove the power_specified field in the driverDaniel Lezcano1-13/+4
2013-01-03cpuidle: Fix finding state with min power_usageSivaram Nair1-1/+1
2012-11-27cpuidle: Measure idle state durations with monotonic clockJulius Werner1-2/+1
2012-11-15cpuidle: support multiple driversDaniel Lezcano1-13/+23
2012-11-15cpuidle: Set residency to 0 if target Cstate not enterYouquan Song1-0/+4
2012-11-15cpuidle / sysfs: move kobj initialization in the syfs fileDaniel Lezcano1-4/+0
2012-11-15cpuidle / sysfs: change function parameterDaniel Lezcano1-5/+3
2012-10-08ACPI idle, CPU hotplug: Fix NULL pointer dereference during hotplugSrivatsa S. Bhat1-1/+1
2012-07-26Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/...Linus Torvalds1-28/+57
2012-07-26Merge branches 'acpi_pad', 'acpica', 'apei-bugzilla-43282', 'battery', 'cpuid...Len Brown1-28/+57
2012-07-19Merge branch 'pm-domains'Rafael J. Wysocki1-0/+1
2012-07-10PM / cpuidle: System resume hang fix with cpuidlePreeti U Murthy1-0/+16
2012-07-03PM / Domains: Add preliminary support for cpuidle, v2Rafael J. Wysocki1-0/+1
2012-07-03cpuidle: move field disable from per-driver to per-cpuShuoX Liu1-1/+0
2012-06-02cpuidle: add support for states that affect multiple cpusColin Cross1-1/+14
2012-06-02cpuidle: fix error handling in __cpuidle_register_deviceColin Cross1-4/+9
2012-06-02cpuidle: refactor out cpuidle_enter_stateColin Cross1-13/+29
2012-06-01cpuidle: add checks to avoid NULL pointer dereferenceSrivatsa S. Bhat1-2/+6
2012-06-01cpuidle: remove unused hrtimer_peek_ahead_timers() callSergey Senozhatsky1-9/+0
2012-05-08cpuidle: Use kick_all_cpus_sync()Thomas Gleixner1-12/+1
2012-04-06Merge branches 'idle-fix' and 'misc' into releaseLen Brown1-4/+4
2012-04-06cpuidle: Fix panic in CPU off-lining with no idle driverToshi Kani1-1/+4
2012-03-30Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/...Linus Torvalds1-8/+89
2012-03-30idle, x86: Allow off-lined CPU to enter deeper C statesBoris Ostrovsky1-0/+28
2012-03-30cpuidle: use the driver's state_count as defaultDaniel Lezcano1-1/+1
2012-03-30cpuidle: add a sysfs entry to disable specific C state for debug purpose.ShuoX Liu1-0/+1
2012-03-21cpuidle: Add common time keeping and irq enablingRobert Lee1-7/+59
2012-02-13cpuidle/tracing: Denote the tracepoints as being in rcu_idle_exit() sectionSteven Rostedt1-4/+4
2011-12-21cpu: convert 'cpu' and 'machinecheck' sysdev_class to a regular subsystemKay Sievers1-6/+6
2011-11-07Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/...Linus Torvalds1-58/+28
2011-11-06cpuidle: Single/Global registration of idle statesDeepthi Dharwar1-33/+12
2011-11-06cpuidle: Split cpuidle_state structure and move per-cpu statistics fieldsDeepthi Dharwar1-5/+6
2011-11-06cpuidle: Remove CPUIDLE_FLAG_IGNORE and dev->prepare()Deepthi Dharwar1-10/+0
2011-11-06cpuidle: Move dev->last_residency update to driver enter routine; remove dev-...Deepthi Dharwar1-16/+16
2011-10-31cpuidle: Add module.h to drivers/cpuidle files as required.Paul Gortmaker1-0/+1
2011-08-25PM QoS: Move and rename the implementation filesJean Pihet1-1/+1
2011-08-03cpuidle: stop depending on pm_idleLen Brown1-20/+18
2011-08-03cpuidle: replace xen access to x86 pm_idle and default_idleLen Brown1-0/+4
2011-08-03cpuidle: create bootparam "cpuidle.off=1"Len Brown1-0/+10
2011-01-12Merge branch 'cpuidle-perf-events' into idle-testLen Brown1-2/+8
2011-01-12Merge branch 'linus' into idle-testLen Brown1-1/+2
2011-01-12cpuidle/x86/perf: fix power:cpu_idle double end events and throw cpu_idle eve...Thomas Renninger1-2/+8
2011-01-12cpuidle: delete NOP CPUIDLE_FLAG_POLLLen Brown1-1/+1
2011-01-12cpuidle: Rename X86 specific idle poll state[0] from C0 to POLLThomas Renninger1-1/+1
2011-01-12cpuidle: Make cpuidle_enable_device() call poll_idle_init()Rafael J. Wysocki1-41/+41
2011-01-07Merge branch 'for-2.6.38' of git://git.kernel.org/pub/scm/linux/kernel/git/tj...Linus Torvalds1-1/+1
2011-01-04perf: Clean up power events by introducing new, more generic onesThomas Renninger1-0/+1
2010-12-17drivers: Replace __get_cpu_var with __this_cpu_read if not used for an address.Christoph Lameter1-1/+1
2010-08-09cpuidle: extend cpuidle and menu governor to handle dynamic statesAi Li1-0/+31
2010-08-03[CPUFREQ] x86 cpufreq: Make trace_power_frequency cpufreq driver independentThomas Renninger1-1/+1
2010-05-27cpuidle: make cpuidle_curr_driver staticLen Brown1-5/+7
2009-10-29cpuidle: always return with interrupts enabledKevin Hilman1-1/+4
2009-09-19tracing, x86, cpuidle: Move the end point of a C state in the power tracerArjan van de Ven1-0/+2
2008-11-09regression: disable timer peek-ahead for 2.6.28Arjan van de Ven1-1/+3
2008-10-23Merge branch 'v28-range-hrtimers-for-linus-v2' of git://git.kernel.org/pub/sc...Linus Torvalds1-0/+7
2008-10-16cpuidle: upon BIOS bug, default to default_idle rather than pollingVenkatesh Pallipadi1-0/+4
2008-10-16cpuidle: use last_state which can reflect the actual state enteredVenkatesh Pallipadi1-1/+4
2008-09-11hrtimer: peek at the timer queue just before going idleArjan van de Ven1-0/+7
2008-07-28ACPI/CPUIDLE: prevent setting pm_idle to NULLThomas Gleixner1-1/+1
2008-06-26smp_call_function: get rid of the unused nonatomic/retry argumentJens Axboe1-1/+1
2008-06-11cpuidle acpi driver: fix oops on AC<->DCVenkatesh Pallipadi1-5/+35
2008-03-26cpuidle: fix 100% C0 statistics regressionVenki Pallipadi1-1/+1
2008-03-26cpuidle: fix cpuidle time and usage overflowYi Yang1-1/+1
2008-02-14ACPI, cpuidle: Clarify C-state description in sysfsVenkatesh Pallipadi1-1/+2
2008-02-09cpuidle: build fix for non-x86Venki Pallipadi1-1/+12
2008-02-07Revert "cpuidle: build fix for non-x86"Len Brown1-1/+1
2008-02-07Merge branches 'release', 'cpuidle-2.6.25' and 'idle' into releaseLen Brown1-1/+42
2008-02-07cpuidle: Add a poll_idle methodvenkatesh.pallipadi@intel.com1-0/+41
2008-02-05pm qos infrastructure and interfaceMark Gross1-2/+5
2008-01-31cpuidle: build fix for non-x86Kevin Hilman1-1/+1
2007-10-29cpuidle: remove unused exportsAdrian Bunk1-1/+0
2007-10-10cpuidle: consolidate 2.6.22 cpuidle branch into one patchLen Brown1-0/+295