aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq.c
AgeCommit message (Expand)AuthorFilesLines
2025-10-20cpufreq: Replace deprecated strcpy() in cpufreq_unregister_governor()Thorsten Blum1-1/+1
2025-10-20cpufreq: preserve freq_table_sorted across suspend/hibernateZihuan Zhang1-3/+6
2025-09-24Merge back earlier cpufreq material for 6.18Rafael J. Wysocki1-29/+15
2025-09-20cpufreq: Initialize cpufreq-based invariance before subsysChristian Loehle1-9/+11
2025-09-19cpufreq: Add defensive check during driver registrationZihuan Zhang1-0/+1
2025-09-05cpufreq: core: Rearrange variable declarations involving __free()Rafael J. Wysocki1-20/+7
2025-09-05cpufreq: Use int type to store negative error codesQianfeng Rong1-1/+1
2025-09-05cpufreq: Drop redundant freq_table parameterZihuan Zhang1-1/+1
2025-08-22cpufreq: simplify setpolicy/target check in driver verificationZihuan Zhang1-4/+1
2025-08-22cpufreq: use strlen() for governor name comparisonZihuan Zhang1-2/+2
2025-08-19cpufreq: Avoid calling get_governor() for first policyZihuan Zhang1-1/+2
2025-07-21Merge tag 'cpufreq-arm-updates-6.17' of git://git.kernel.org/pub/scm/linux/ke...Rafael J. Wysocki1-0/+2
2025-07-14cpufreq: Exit governor when failed to start old governorLifeng Zheng1-3/+5
2025-07-14cpufreq: Move the check of cpufreq_driver->get into cpufreq_verify_current_fr...Lifeng Zheng1-6/+5
2025-07-14cpufreq: Init policy->rwsem before it may be possibly usedLifeng Zheng1-1/+2
2025-07-14cpufreq: Initialize cpufreq-based frequency-invariance laterLifeng Zheng1-9/+9
2025-07-14cpufreq: Remove duplicate check in __cpufreq_offline()Lifeng Zheng1-5/+4
2025-07-14cpufreq: Contain scaling_cur_freq.attr in cpufreq_attrsLifeng Zheng1-4/+1
2025-07-09cpufreq: Export disable_cpufreq()Aaron Kling1-0/+2
2025-05-21cpufreq: Update sscanf() to kstrtouint()Bowen Yu1-3/+3
2025-05-21cpufreq: Replace magic numberBowen Yu1-1/+1
2025-05-14cpufreq: drop redundant cpus_read_lock() from store_local_boost()Seyediman Seyedarab1-3/+0
2025-05-13cpufreq: Drop policy locking from cpufreq_policy_is_good_for_eas()Rafael J. Wysocki1-2/+0
2025-05-07cpufreq/sched: Move cpufreq-specific EAS checks to cpufreqRafael J. Wysocki1-0/+32
2025-05-04Merge back cpufreq material for 6.16Rafael J. Wysocki1-243/+181
2025-04-28cpufreq: Fix setting policy limits when frequency tables are usedRafael J. Wysocki1-8/+14
2025-04-25cpufreq: Force sync policy boost with global boost on sysfs updateViresh Kumar1-2/+4
2025-04-25cpufreq: Preserve policy's boost state after resumeViresh Kumar1-2/+7
2025-04-25cpufreq: Introduce policy_set_boost()Viresh Kumar1-23/+26
2025-04-25cpufreq: Don't unnecessarily call set_boost()Viresh Kumar1-1/+1
2025-04-19Merge back earlier cpufreq material for 6.16Rafael J. Wysocki1-219/+147
2025-04-17cpufreq: Avoid using inconsistent policy->min and policy->maxRafael J. Wysocki1-7/+25
2025-04-10cpufreq: Drop unused cpufreq_get_policy()Rafael J. Wysocki1-25/+0
2025-04-09cpufreq: Pass policy pointer to ->update_limits()Rafael J. Wysocki1-1/+1
2025-04-09cpufreq: Introduce cpufreq_policy_refresh()Rafael J. Wysocki1-13/+18
2025-04-09cpufreq: Use __free() for policy reference counting cleanupRafael J. Wysocki1-32/+25
2025-04-09cpufreq: Drop cpufreq_cpu_acquire() and cpufreq_cpu_release()Rafael J. Wysocki1-45/+0
2025-04-09cpufreq: Use locking guard and __free() in cpufreq_update_policy()Rafael J. Wysocki1-5/+5
2025-04-09cpufreq: Add and use cpufreq policy locking guardsRafael J. Wysocki1-67/+54
2025-04-09cpufreq: Split cpufreq_online()Rafael J. Wysocki1-41/+54
2025-04-09cpufreq: Consolidate some code in cpufreq_online()Rafael J. Wysocki1-5/+5
2025-04-01cpufreq: Reference count policy in cpufreq_update_limits()Rafael J. Wysocki1-0/+6
2025-03-25Merge tag 'pm-6.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafa...Linus Torvalds1-19/+27
2025-02-17cpufreq: Introduce an optional cpuinfo_avg_freq sysfs entryBeata Michalska1-1/+29
2025-02-17cpufreq: Allow arch_freq_get_on_cpu to return an errorBeata Michalska1-4/+4
2025-02-07cpufreq: Remove cpufreq_enable_boost_support()Viresh Kumar1-15/+0
2025-02-07cpufreq: Restrict enabling boost on policies with no boost frequenciesViresh Kumar1-1/+7
2025-02-07cpufreq: Export cpufreq_boost_set_sw()Viresh Kumar1-1/+2
2025-02-07cpufreq: staticize cpufreq_boost_trigger_state()Viresh Kumar1-1/+2
2025-02-07cpufreq: Stop checking for duplicate available/boost freq attributesViresh Kumar1-7/+0
2025-02-07cpufreq: Always create freq-table related sysfs fileViresh Kumar1-0/+22
2025-02-07cpufreq: Use str_enable_disable() helperLifeng Zheng1-1/+1
2025-02-05cpufreq: prevent NULL dereference in cpufreq_online()Aboorva Devarajan1-1/+2
2025-01-23cpufreq: Introduce a more generic way to set default per-policy boost flagLifeng Zheng1-4/+12
2025-01-23cpufreq: Fix re-boost issue after hotplugging a CPULifeng Zheng1-0/+4
2025-01-20Merge branch 'pm-cpufreq'Rafael J. Wysocki1-3/+4
2025-01-17cpufreq: Use str_enable_disable()-like helpersKrzysztof Kozlowski1-3/+4
2024-12-18PM: EM: Move sched domains rebuild function from schedutil to EMRafael J. Wysocki1-1/+1
2024-10-28cpufreq: use proper units for frequencyMarcin Juszkiewicz1-1/+1
2024-08-02cpufreq: Remove LATENCY_MULTIPLIERQais Yousef1-23/+4
2024-07-10Merge back cpufreq material for 6.11.Rafael J. Wysocki1-26/+24
2024-07-01cpufreq: Allow drivers to advertise boost enabledMario Limonciello1-1/+2
2024-06-28cpufreq: make cpufreq_boost_enabled() return boolDhruva Gole1-1/+1
2024-06-25Merge tag 'amd-pstate-v6.11-2024-06-24' of ssh://gitolite.kernel.org/pub/scm/...Rafael J. Wysocki1-6/+5
2024-06-24cpufreq: simplify boolean parsing with kstrtobool in store functionPerry Yuan1-6/+5
2024-06-20cpufreq: update to sysfs_emit() for safer buffer handlingPerry Yuan1-19/+18
2024-05-14Merge tag 'pm-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafa...Linus Torvalds1-4/+7
2024-04-24cpufreq: Add a cpufreq pressure feedback for the schedulerVincent Guittot1-0/+36
2024-04-12cpufreq: exit() callback is optionalViresh Kumar1-4/+7
2024-03-13cpufreq: Fix per-policy boost behavior on SoCs using cpufreq_boost_set_sw()Sibi Sankar1-6/+12
2024-03-01cpufreq: Don't unregister cpufreq cooling on CPU hotplugViresh Kumar1-6/+11
2024-02-29cpufreq: Honour transition_latency over transition_delay_usQais Yousef1-2/+11
2024-02-12cpufreq: Change default transition delay to 2msQais Yousef1-2/+2
2023-12-23cpufreq: Use the fixed and coherent frequency for scaling capacityVincent Guittot1-2/+2
2023-10-31Merge tag 'pm-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafae...Linus Torvalds1-2/+1
2023-10-06cpufreq: Rebuild sched-domains when removing cpufreq driverPierre Gondois1-2/+1
2023-09-29cpufreq: Replace deprecated strncpy() with strscpy()Justin Stitt1-2/+2
2023-08-29cpufreq: Support per-policy performance boostJie Zhan1-0/+43
2023-08-29cpufreq: Fix the race condition while updating the transition_task of policyLiao Chang1-0/+2
2023-08-29cpufreq: Avoid printing kernel addresses in cpufreq_resume()Liao Chang1-4/+4
2023-08-17cpufreq: Prefer to print cpuid in MIN/MAX QoS register error messageLiao Chang1-4/+4
2023-06-15cpufreq: Fail driver register if it has adjust_perf without fast_switchWyes Karny1-1/+2
2023-04-27Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+6
2023-04-18cpufreq: use correct unit when verify cur freqSanjay Chandrashekara1-1/+1
2023-04-07cpufreq: drivers with target_index() must set freq_tableViresh Kumar1-0/+5
2023-03-22cpufreq: warn about invalid vals to scaling_max/min_freq interfacesqinyu1-3/+3
2023-03-17cpufreq: move to use bus_get_dev_root()Greg Kroah-Hartman1-1/+6
2023-02-09cpufreq: Make kobj_type structure constantThomas Weißschuh1-1/+1
2023-02-09cpufreq: Make cpufreq_unregister_driver() return voidUwe Kleine-König1-5/+3
2022-11-30cpufreq: Init completion before kobject_init_and_add()Yongqiang Liu1-1/+1
2022-08-23cpufreq: check only freq_table in __resolve_freq()Lukasz Luba1-1/+1
2022-08-03Merge tag 'cpufreq-arm-updates-5.20-rc1' of git://git.kernel.org/pub/scm/linu...Rafael J. Wysocki1-3/+3
2022-07-18cpufreq: Change order of online() CB and policy->cpus modificationPierre Gondois1-3/+3
2022-07-15cpufreq: Warn users while freeing active policyViresh Kumar1-2/+8
2022-06-14cpufreq: Drop unnecessary cpus locking from store()Viresh Kumar1-15/+4
2022-06-14cpufreq: Optimize cpufreq_show_cpus()Viresh Kumar1-3/+5
2022-05-17cpufreq: make interface functions and lock holding state clearSchspa Shi1-3/+3
2022-05-17cpufreq: Abort show()/store() for half-initialized policiesSchspa Shi1-4/+7
2022-05-12cpufreq: Rearrange locking in cpufreq_remove_dev()Rafael J. Wysocki1-7/+14
2022-05-12cpufreq: Split cpufreq_offline()Rafael J. Wysocki1-14/+19
2022-05-12cpufreq: Reorganize checks in cpufreq_offline()Rafael J. Wysocki1-12/+12
2022-05-11cpufreq: Clear real_cpus mask from remove_cpu_dev_symlink()Viresh Kumar1-4/+4
2022-05-09Revert "cpufreq: Fix possible race in cpufreq online error path"Viresh Kumar1-3/+2
2022-05-06cpufreq: Avoid unnecessary frequency updates due to mismatchViresh Kumar1-0/+11
2022-04-22cpufreq: Fix possible race in cpufreq online error pathSchspa Shi1-2/+3
2022-02-09cpufreq: Reintroduce ready() callbackBjorn Andersson1-0/+4
2021-12-28cpufreq: use default_groups in kobj_typeGreg Kroah-Hartman1-2/+3
2021-12-17cpufreq: Fix initialization of min and max frequency QoS requestsRafael J. Wysocki1-2/+2
2021-12-01cpufreq: Fix a comment in cpufreq_policy_freeTang Yizhou1-2/+3
2021-12-01cpufreq: Fix get_cpu_device() failure in add_cpu_dev_symlink()Xiongfeng Wang1-5/+4
2021-10-05cpufreq: Use CPUFREQ_RELATION_E in DVFS governorsVincent Donnefort1-1/+1
2021-10-05cpufreq: Introducing CPUFREQ_RELATION_EVincent Donnefort1-1/+9
2021-10-05cpufreq: Make policy min/max hard requirementsVincent Donnefort1-0/+7
2021-09-02cpufreq: Remove ready() callbackViresh Kumar1-4/+0
2021-08-31Merge branch 'cpufreq/arm/linux-next' of git://git.kernel.org/pub/scm/linux/k...Rafael J. Wysocki1-0/+13
2021-08-12cpufreq: Add callback to register with energy modelViresh Kumar1-0/+13
2021-08-04cpufreq: Replace deprecated CPU-hotplug functionsSebastian Andrzej Siewior1-3/+3
2021-06-30cpufreq: Remove ->resolve_freq()Viresh Kumar1-13/+8
2021-06-30cpufreq: Reuse cpufreq_driver_resolve_freq() in __cpufreq_driver_target()Viresh Kumar1-20/+22
2021-06-30cpufreq: Remove the ->stop_cpu() driver callbackViresh Kumar1-3/+0
2021-06-23cpufreq: Make cpufreq_online() call driver->offline() on errorsRafael J. Wysocki1-1/+10
2021-04-08cpufreq: Remove unused for_each_policy macroShaokun Zhang1-3/+0
2021-02-19cpufreq: Fix typo in kerneldoc commentYue Hu1-1/+1
2021-02-04cpufreq: Remove CPUFREQ_STICKY flagViresh Kumar1-2/+1
2020-12-15cpufreq: Add special-purpose fast-switching callback for driversRafael J. Wysocki1-0/+40
2020-12-11cpufreq: Fix cpufreq_online() return value on errorsWang ShaoBo1-1/+4
2020-12-11cpufreq: Fix up several kerneldoc commentsRafael J. Wysocki1-35/+35
2020-11-16Merge back cpufreq updates for v5.11.Rafael J. Wysocki1-5/+5
2020-11-10cpufreq: Add strict_target to struct cpufreq_policyRafael J. Wysocki1-0/+2
2020-11-10cpufreq: Introduce governor flagsRafael J. Wysocki1-1/+1
2020-11-02cpufreq: Drop restore_freq from struct cpufreq_policyRafael J. Wysocki1-5/+5
2020-10-29cpufreq: Introduce cpufreq_driver_test_flags()Rafael J. Wysocki1-0/+12
2020-10-27cpufreq: Introduce CPUFREQ_NEED_UPDATE_LIMITS driver flagRafael J. Wysocki1-1/+2
2020-10-16cpufreq: Improve code around unlisted freq checkViresh Kumar1-8/+7
2020-10-08cpufreq,arm,arm64: restructure definitions of arch_set_freq_scale()Ionela Voinescu1-7/+0
2020-10-05cpufreq: Move traces and update to policy->cur to cpufreq coreViresh Kumar1-0/+7
2020-10-05cpufreq: stats: Enable stats for fast-switch as wellViresh Kumar1-0/+4
2020-09-18arch_topology, cpufreq: constify arch_* cpumasksValentin Schneider1-2/+3
2020-09-18cpufreq: report whether cpufreq supports Frequency Invariance (FI)Ionela Voinescu1-0/+16
2020-09-18cpufreq: move invariance setter calls in cpufreq coreIonela Voinescu1-1/+11
2020-08-27cpufreq: No need to verify cpufreq_driver in show_scaling_cur_freq()Viresh Kumar1-2/+1
2020-08-11cpufreq: intel_pstate: Implement passive mode with HWP enabledRafael J. Wysocki1-4/+2
2020-08-04Merge branch 'cpufreq/arm/linux-next' of git://git.kernel.org/pub/scm/linux/k...Rafael J. Wysocki1-1/+1
2020-07-30cpufreq: cached_resolved_idx can not be negativeViresh Kumar1-1/+1
2020-07-15cpufreq: cpufreq: Demote lots of function headers unworthy of kerneldoc statusLee Jones1-15/+17
2020-07-02cpufreq: Remove the weakly defined cpufreq_default_governor()Viresh Kumar1-7/+0
2020-07-02cpufreq: Specify default governor on command lineQuentin Perret1-9/+22
2020-07-02cpufreq: Fix locking issues with governorsViresh Kumar1-23/+35
2020-06-05cpufreq: change '.set_boost' to act on one policyXiongfeng Wang1-26/+31
2020-05-18cpufreq: Fix up cpufreq_boost_set_sw()Rafael J. Wysocki1-5/+6
2020-03-31Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-0/+20
2020-03-06cpufreq: add function to get the hardware max frequencyIonela Voinescu1-0/+20
2020-02-27cpufreq: Fix policy initialization for internal governor driversRafael J. Wysocki1-2/+10
2020-02-03cpufreq: Make cpufreq_global_kobject staticYangtao Li1-3/+2
2020-01-27cpufreq: Avoid creating excessively large stack framesRafael J. Wysocki1-77/+70
2019-11-26Merge tag 'pm-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafae...Linus Torvalds1-1/+17
2019-11-21cpufreq: Use vtime aware kcpustat accessors for user timeFrederic Weisbecker1-7/+10
2019-11-14cpufreq: Register drivers only after CPU devices have been registeredViresh Kumar1-0/+7
2019-11-11Merge tag 'v5.4-rc7' into sched/core, to pick up fixesIngo Molnar1-43/+29
2019-11-08cpufreq: Add NULL checks to show() and store() methods of cpufreqKai Shen1-0/+6
2019-11-04cpufreq: Clarify the comment in cpufreq_set_policy()Viresh Kumar1-1/+4
2019-10-29cpufreq: Use vtime aware kcpustat accessor to fetch CPUTIME_SYSTEMFrederic Weisbecker1-1/+1
2019-10-22cpufreq: Cancel policy update work scheduled before freeingSudeep Holla1-0/+3
2019-10-21cpufreq: Use per-policy frequency QoSRafael J. Wysocki1-33/+26
2019-10-10cpufreq: Avoid cpufreq_suspend() deadlock on system shutdownRafael J. Wysocki1-10/+0
2019-09-05Merge branch 'pm-cpufreq-qos'Rafael J. Wysocki1-30/+21
2019-09-02cpufreq: Remove CPUFREQ_ADJUST and CPUFREQ_NOTIFY policy notifier eventsViresh Kumar1-29/+7
2019-08-22cpufreq: Print driver name if cpufreq_suspend() failsFlorian Fainelli1-2/+2
2019-08-21cpufreq: remove redundant assignment to retColin Ian King1-1/+1
2019-08-10cpufreq: Add policy create/remove notifiers backViresh Kumar1-1/+14
2019-08-10cpufreq: dev_pm_qos_update_request() can return 1 on successViresh Kumar1-1/+1
2019-07-18Merge branch 'pm-cpufreq'Rafael J. Wysocki1-65/+151
2019-07-16cpufreq: Make cpufreq_generic_init() return voidViresh Kumar1-3/+1
2019-07-08cpufreq: Add QoS requests for userspace constraintsViresh Kumar1-43/+55
2019-07-08cpufreq: intel_pstate: Reuse refresh_frequency_limits()Viresh Kumar1-1/+2
2019-07-08cpufreq: Register notifiers with the PM QoS frameworkViresh Kumar1-30/+105
2019-07-08Merge branch 'pm-cpufreq'Rafael J. Wysocki1-67/+54
2019-06-28cpufreq: Avoid calling cpufreq_verify_current_freq() from handle_update()Viresh Kumar1-10/+16
2019-06-28cpufreq: Consolidate cpufreq_update_current_freq() and __cpufreq_get()Viresh Kumar1-42/+28
2019-06-28cpufreq: Don't skip frequency validation for has_target() driversViresh Kumar1-8/+5
2019-06-26cpufreq: Use has_target() instead of !setpolicyViresh Kumar1-3/+3
2019-06-26cpufreq: Remove redundant !setpolicy checkViresh Kumar1-1/+1
2019-06-26cpufreq: Move the IS_ENABLED(CPU_THERMAL) macro into a stubDaniel Lezcano1-4/+2
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500Thomas Gleixner1-4/+1
2019-05-15Merge tag 'pm-5.2-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/raf...Linus Torvalds1-60/+80
2019-05-13cpufreq: Don't find governor for setpolicy drivers in cpufreq_init_policy()Yue Hu1-51/+65
2019-05-13cpufreq: Explain the kobject_put() in cpufreq_policy_alloc()Rafael J. Wysocki1-0/+5
2019-05-10cpufreq: Call transition notifier only once for each policyViresh Kumar1-9/+10
2019-05-07Merge tag 'printk-for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-1/+1
2019-04-30cpufreq: Fix kobject memleakViresh Kumar1-0/+1
2019-04-23cpufreq: Move ->get callback check outside of __cpufreq_get()Yue Hu1-2/+3
2019-04-16cpufreq: Remove needless bios_limit check in show_bios_limit()Yue Hu1-5/+3
2019-04-09treewide: Switch printk users from %pf and %pF to %ps and %pS, respectivelySakari Ailus1-1/+1
2019-04-09cpufreq: Remove cpufreq_driver check in cpufreq_boost_supported()Yue Hu1-1/+1
2019-04-08cpufreq: intel_pstate: Update max frequency on global turbo changesRafael J. Wysocki1-12/+4
2019-04-01cpufreq: Add cpufreq_cpu_acquire() and cpufreq_cpu_release()Rafael J. Wysocki1-9/+47
2019-04-01cpufreq: intel_pstate: Driver-specific handling of _PPC updatesRafael J. Wysocki1-0/+16
2019-03-07cpufreq: Improve kerneldoc comments for cpufreq_cpu_get/put()Rafael J. Wysocki1-15/+9
2019-02-20cpufreq: Pass updated policy to driver ->setpolicy() callbackRafael J. Wysocki1-1/+1
2019-02-20cpufreq: Fix two debug messages in cpufreq_set_policy()Rafael J. Wysocki1-2/+2