Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
f1d34fe
cpufreq: Fix re-boost issue after hotplugging a CPU
Mar 11, 2025
c144c4b
cpufreq: Introduce a more generic way to set default per-policy boost…
Mar 11, 2025
ad9f9fa
cpufreq: CPPC: Fix wrong max_freq in policy initialization
Mar 11, 2025
12a30ec
cpufreq: ACPI: Remove set_boost in acpi_cpufreq_cpu_init()
Mar 11, 2025
41213aa
cpufreq: prevent NULL dereference in cpufreq_online()
AboorvaDevarajan Mar 11, 2025
88a926a
cpufreq: CPPC: Don't warn on failing to read perf counters on offline…
jiezhan0214 Jun 13, 2025
2ddf94a
cpufreq: CPPC: Fix error handling in cppc_scale_freq_workfn()
jiezhan0214 Jun 13, 2025
41729f9
cpufreq: cppc: Fix invalid return value in .get() callback
Aug 21, 2025
dbdb317
cpufreq: cppc: Fix invalid return value in hisi_cppc_cpufreq_get_rate()
Aug 21, 2025
3e99fd9
cpufreq: CPPC: Remove forward declaration of hisi_cppc_cpufreq_get_ra…
Aug 21, 2025
32dc4a9
cpufreq: CPPC: Remove cpu_data_list
Aug 21, 2025
266a317
cpufreq: CPPC: Do not return a value from populate_efficiency_class()
Aug 21, 2025
5547c88
cpufreq: CPPC: Remove forward declaration of cppc_cpufreq_register_em()
Aug 21, 2025
017ad0d
cpufreq: Contain scaling_cur_freq.attr in cpufreq_attrs
Aug 21, 2025
86cd42a
cpufreq: Remove duplicate check in __cpufreq_offline()
Aug 21, 2025
32c40ae
cpufreq: Hold cpufreq_driver_lock when assigning cpufreq_driver->set_…
Aug 21, 2025
048e4e6
cpufreq: Move the check of cpufreq_driver->get into cpufreq_verify_cu…
Aug 21, 2025
071d413
ACPI: CPPC: Add New ABIs for reading and writing three new CPPC regis…
Dec 3, 2024
cdb391b
cpufreq: CPPC: Support for auto act window and energy perf in cppc_cp…
Dec 3, 2024
417baf0
cpufreq: Add SEEP governor for hardware-managed P-states
Dec 4, 2024
ac244ee
PCI/ASPM: Update ASPM sysfs on MFD function removal to avoid use-afte…
Jul 30, 2024
7dca29a
hwtracing: hisi_ptt: Initialize the filter sysfs attribute when alloc…
Feb 15, 2025
390f140
hwtracing: hisi_ptt: Check duplicate filters before allocation
Feb 24, 2025
0c214ca
hwtracing: hisi_ptt: Disable interrupt after trace end
Oct 10, 2023
4c88cba
PCI/DPC: Ignore Surprise Down error on hot removal
skoralah Feb 7, 2024
69e2e6e
hwtracing: hisi_ptt: Optimize the trace data committing
Oct 10, 2023
f7af86e
perf hisi-ptt: Fix memory leak in lseek failure handling
visitorckw Sep 30, 2023
bb753e4
drm/hisilicon/hibmc: convert to struct drm_edid
jnikula Mar 14, 2025
42e7f11
drm/hisilicon/hibmc: add dp aux in hibmc drivers
mark1188-ui Mar 14, 2025
be2fd6f
drm/hisilicon/hibmc: add dp link moduel in hibmc drivers
mark1188-ui Mar 14, 2025
213d513
drm/hisilicon/hibmc: add dp hw moduel in hibmc driver
mark1188-ui Mar 14, 2025
9ea9629
drm/hisilicon/hibmc: refactored struct hibmc_drm_private
mark1188-ui Mar 14, 2025
47f1b7e
drm/hisilicon/hibmc: add dp module in hibmc
mark1188-ui Mar 14, 2025
cb5fa54
drm/sysfs: Register "ddc" symlink later
vsyrjala Apr 16, 2025
a34374b
drm/ast: Implement polling for VGA and SIL164 connectors
tdz Apr 16, 2025
fb3a00e
drm: Call drm_atomic_helper_shutdown() at shutdown time for misc drivers
dianders Apr 16, 2025
ca89d35
drm/hisilicon/hibmc: select CONFIG_DRM_DISPLAY_DP_HELPER
arndb Apr 16, 2025
97e99e7
drm/hisilicon/hibmc: Restructuring the header dp_reg.h
mark1188-ui Apr 16, 2025
12e2629
drm/hisilicon/hibmc: Add dp serdes cfg to adjust serdes rate, voltage…
mark1188-ui Apr 16, 2025
073839c
drm/hisilicon/hibmc: Add dp serdes cfg in dp process
mark1188-ui Apr 16, 2025
3402288
drm/hisilicon/hibmc: Refactor the member of drm_aux in struct hibmc_dp
mark1188-ui Apr 16, 2025
9c7f66a
drm/hisilicon/hibmc: Getting connector info and EDID by using AUX cha…
mark1188-ui Apr 16, 2025
f32fe46
drm/hisilicon/hibmc: Add colorbar-cfg feature and its debugfs file
mark1188-ui Apr 16, 2025
fe5fde6
drm/hisilicon/hibmc: Enable this hot plug detect of irq feature
mark1188-ui Apr 16, 2025
d65fb71
drm/hisilicon/hibmc: Add MSI irq getting and requesting for HPD
mark1188-ui Apr 16, 2025
bebb511
drm/hisilicon/hibmc: Add vga connector detect functions
mark1188-ui Apr 16, 2025
725ecf5
drm/hisilicon/hibmc: fix HPD interrupts triggering the wrong behavior
mark1188-ui Apr 17, 2025
a704396
drm/hisilicon/hibmc: fix irq_request()'s irq name variable is local
mark1188-ui Apr 17, 2025
c364203
drm/hisilicon/hibmc:fix KVM is not displaying when GRUB VGA is on
mark1188-ui May 27, 2025
2f6c580
drm/hisilicon/hibmc: hibmc-drm bugfix for DP
mark1188-ui May 27, 2025
2d3bdfd
mm: Export symbol walk_page_range
Jan 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions Documentation/ABI/testing/sysfs-devices-system-cpu
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,45 @@ Description: Discover CPUs in the same CPU frequency coordination domain
This file is only present if the acpi-cpufreq or the cppc-cpufreq
drivers are in use.

What: /sys/devices/system/cpu/cpuX/cpufreq/auto_act_window
Date: October 2024
Contact: linux-pm@vger.kernel.org
Description: Autonomous activity window

This file indicates a moving utilization sensitivity window to
the platform's autonomous selection policy.

Read/write an integer represents autonomous activity window (in
microseconds) from/to this file. The max value to write is
1270000000 but the max significand is 127. This means that if 128
is written to this file, 127 will be stored. If the value is
greater than 130, only the first two digits will be saved as
significand.

Writing a zero value to this file enable the platform to
Copy link

Copilot AI Dec 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grammatical error: should be "enable" → "enables" to agree with the singular subject "Writing a zero value".

Suggested change
Writing a zero value to this file enable the platform to
Writing a zero value to this file enables the platform to

Copilot uses AI. Check for mistakes.
determine an appropriate Activity Window depending on the workload.

Writing to this file only has meaning when Autonomous Selection is
enabled.

This file only presents if the cppc-cpufreq driver is in use.
Copy link

Copilot AI Dec 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grammatical error: should be "This file only presents" → "This file is only present" for correct English grammar and consistency with similar documentation entries (see line 268).

Suggested change
This file only presents if the cppc-cpufreq driver is in use.
This file is only present if the cppc-cpufreq driver is in use.

Copilot uses AI. Check for mistakes.

What: /sys/devices/system/cpu/cpuX/cpufreq/energy_perf
Date: October 2024
Contact: linux-pm@vger.kernel.org
Description: Energy performance preference

Read/write an 8-bit integer from/to this file. This file
represents a range of values from 0 (performance preference) to
0xFF (energy efficiency preference) that influences the rate of
performance increase/decrease and the result of the hardware's
energy efficiency and performance optimization policies.

Writing to this file only has meaning when Autonomous Selection is
enabled.

This file only presents if the cppc-cpufreq driver is in use.
Copy link

Copilot AI Dec 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grammatical error: should be "This file only presents" → "This file is only present" for correct English grammar and consistency with similar documentation entries (see line 268).

Suggested change
This file only presents if the cppc-cpufreq driver is in use.
This file is only present if the cppc-cpufreq driver is in use.

Copilot uses AI. Check for mistakes.


What: /sys/devices/system/cpu/cpu*/cache/index3/cache_disable_{0,1}
Date: August 2008
Expand Down
42 changes: 42 additions & 0 deletions Documentation/admin-guide/pm/cpufreq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,48 @@ This governor exposes the following tunables:
It effectively causes the frequency to go down ``sampling_down_factor``
times slower than it ramps up.

``seep``
------------

This governor is specifically designed for platforms with hardware-managed P-states
through CPPC (Collaborative Processor Performance Control). Unlike other governors
that implement their own frequency scaling algorithms, the ``seep`` governor
delegates the P-state selection to the hardware/firmware by enabling CPPC
autonomous mode.

The governor requires the ``cppc_cpufreq`` driver and the platform must support
three key CPPC capabilities:
* Autonomous selection (auto_sel)
* Autonomous activity window (auto_act_window)
* Energy-Performance Preference (EPP)
Comment on lines +604 to +606
Copy link

Copilot AI Dec 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent formatting in the list. The items should either all use bullet points (asterisks) or all use numbered format. Looking at the rest of the document, plain text with indentation or dashes would be more consistent. Also, each line should typically be indented consistently.

Suggested change
* Autonomous selection (auto_sel)
* Autonomous activity window (auto_act_window)
* Energy-Performance Preference (EPP)
- Autonomous selection (auto_sel)
- Autonomous activity window (auto_act_window)
- Energy-Performance Preference (EPP)

Copilot uses AI. Check for mistakes.

When this governor is attached to a policy, it enables the hardware autonomous
mode, allowing the processor's firmware to directly manage frequency scaling based
on workload characteristics. The actual P-state selection algorithms are
implemented in firmware/hardware rather than in the operating system.

This governor exposes the following tunables (per-policy):

``auto_act_window``
The time window (in microseconds) used by the hardware/firmware to observe
and evaluate workload characteristics before making P-state decisions.
A smaller window makes the algorithm more responsive but potentially less
stable, while a larger window provides more stable but less responsive
frequency scaling.

``energy_perf``
A value between 0 and 255 that biases the hardware's frequency scaling
decisions between performance and energy efficiency. Lower values (closer
to 0) favor performance at the expense of power consumption, while higher
values (closer to 255) favor energy efficiency but may impact performance.

The ``seep`` governor is particularly suitable for platforms where the hardware
has more accurate and fine-grained information about the system's power and
thermal constraints than the operating system. It can potentially provide better
energy efficiency than software-based governors while maintaining good
performance, as the hardware can make faster and more informed P-state
decisions.


Frequency Boost Support
=======================
Expand Down
151 changes: 147 additions & 4 deletions drivers/acpi/cppc_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1213,6 +1213,11 @@ static int cppc_get_perf(int cpunum, enum cppc_regs reg_idx, u64 *perf)
return ret;
}

if (!CPC_SUPPORTED(reg)) {
pr_debug("CPC register %d is not supported\n", reg_idx);
return -EOPNOTSUPP;
}

cpc_read(cpunum, reg, perf);

return 0;
Expand Down Expand Up @@ -1538,6 +1543,139 @@ int cppc_set_epp_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls, bool enable)
}
EXPORT_SYMBOL_GPL(cppc_set_epp_perf);

static int cppc_get_reg(int cpunum, enum cppc_regs reg_idx, u64 *val)
{
struct cpc_desc *cpc_desc = per_cpu(cpc_desc_ptr, cpunum);
struct cppc_pcc_data *pcc_ss_data = NULL;
struct cpc_register_resource *reg;
int pcc_ss_id;
int ret = 0;

if (!cpc_desc) {
pr_debug("No CPC descriptor for CPU:%d\n", cpunum);
return -ENODEV;
}

reg = &cpc_desc->cpc_regs[reg_idx];

if (!CPC_SUPPORTED(reg)) {
pr_debug("CPC register (reg_idx=%u) is not supported\n", reg_idx);
return -EOPNOTSUPP;
}

if (CPC_IN_PCC(reg)) {
pcc_ss_id = per_cpu(cpu_pcc_subspace_idx, cpunum);

if (pcc_ss_id < 0)
return -ENODEV;

pcc_ss_data = pcc_data[pcc_ss_id];

down_write(&pcc_ss_data->pcc_lock);

if (send_pcc_cmd(pcc_ss_id, CMD_READ) >= 0)
cpc_read(cpunum, reg, val);
else
ret = -EIO;

up_write(&pcc_ss_data->pcc_lock);

return ret;
}

cpc_read(cpunum, reg, val);

return 0;
}

static int cppc_set_reg(int cpu, enum cppc_regs reg_idx, u64 val)
{
struct cpc_desc *cpc_desc = per_cpu(cpc_desc_ptr, cpu);
struct cppc_pcc_data *pcc_ss_data = NULL;
struct cpc_register_resource *reg;
int pcc_ss_id;
int ret;

if (!cpc_desc) {
pr_debug("No CPC descriptor for CPU:%d\n", cpu);
return -ENODEV;
}

reg = &cpc_desc->cpc_regs[reg_idx];

if (!CPC_SUPPORTED(reg)) {
pr_debug("CPC register (reg_idx=%u) is not supported\n", reg_idx);
return -EOPNOTSUPP;
}

if (CPC_IN_PCC(reg)) {
pcc_ss_id = per_cpu(cpu_pcc_subspace_idx, cpu);

if (pcc_ss_id < 0) {
pr_debug("Invalid pcc_ss_id\n");
return -ENODEV;
}

ret = cpc_write(cpu, reg, val);
if (ret)
return ret;

pcc_ss_data = pcc_data[pcc_ss_id];

down_write(&pcc_ss_data->pcc_lock);
/* after writing CPC, transfer the ownership of PCC to platform */
ret = send_pcc_cmd(pcc_ss_id, CMD_WRITE);
up_write(&pcc_ss_data->pcc_lock);
return ret;
}

return cpc_write(cpu, reg, val);
}

/**
* cppc_set_epp() - Write the EPP register
* @cpu:CPU on which to write register.
* @epp_val:Value to write to the EPP register.
Copy link

Copilot AI Dec 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing space after colon in documentation comment. Should be '@epp_val: Value to write to the EPP register.' for consistency with Linux kernel documentation style.

Suggested change
* @epp_val:Value to write to the EPP register.
* @epp_val: Value to write to the EPP register.

Copilot uses AI. Check for mistakes.
Comment on lines +1637 to +1638
Copy link

Copilot AI Dec 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing space after colon in documentation comment. Should be '@cpu: CPU on which to write register.' for consistency with Linux kernel documentation style.

Suggested change
* @cpu:CPU on which to write register.
* @epp_val:Value to write to the EPP register.
* @cpu: CPU on which to write register.
* @epp_val: Value to write to the EPP register.

Copilot uses AI. Check for mistakes.
*/
int cppc_set_epp(int cpu, u64 epp_val)
{
return cppc_set_reg(cpu, ENERGY_PERF, epp_val);
}
EXPORT_SYMBOL_GPL(cppc_set_epp);

/**
* cppc_get_auto_act_window() - Read autonomous activity window register.
* @cpunum:CPU from which to read register.
Copy link

Copilot AI Dec 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing space after colon in documentation comment. Should be '@cpunum: CPU from which to read register.' for consistency with Linux kernel documentation style.

Suggested change
* @cpunum:CPU from which to read register.
* @cpunum: CPU from which to read register.

Copilot uses AI. Check for mistakes.
* @auto_act_window:Return address.
Copy link

Copilot AI Dec 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing space after colon in documentation comment. Should be '@auto_act_window: Return address.' for consistency with Linux kernel documentation style.

Suggested change
* @auto_act_window:Return address.
* @auto_act_window: Return address.

Copilot uses AI. Check for mistakes.
*/
int cppc_get_auto_act_window(int cpunum, u64 *auto_act_window)
{
return cppc_get_reg(cpunum, AUTO_ACT_WINDOW, auto_act_window);
}
EXPORT_SYMBOL_GPL(cppc_get_auto_act_window);

/**
* cppc_set_auto_act_window() - Write autonomous activity window register.
* @cpu:CPU on which to write register.
* @auto_act_window:Value to write to the autonomous activity window register.
Comment on lines +1659 to +1660
Copy link

Copilot AI Dec 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing space after colon in documentation comment. Should be '@cpu: CPU on which to write register.' for consistency with Linux kernel documentation style.

Suggested change
* @cpu:CPU on which to write register.
* @auto_act_window:Value to write to the autonomous activity window register.
* @cpu: CPU on which to write register.
* @auto_act_window: Value to write to the autonomous activity window register.

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI Dec 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing space after colon in documentation comment. Should be '@auto_act_window: Value to write to the autonomous activity window register.' for consistency with Linux kernel documentation style.

Suggested change
* @auto_act_window:Value to write to the autonomous activity window register.
* @auto_act_window: Value to write to the autonomous activity window register.

Copilot uses AI. Check for mistakes.
*/
int cppc_set_auto_act_window(int cpu, u64 auto_act_window)
{
return cppc_set_reg(cpu, AUTO_ACT_WINDOW, auto_act_window);
}
EXPORT_SYMBOL_GPL(cppc_set_auto_act_window);

/**
* cppc_get_auto_sel() - Read autonomous selection register.
* @cpunum:CPU from which to read register.
Copy link

Copilot AI Dec 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing space after colon in documentation comment. Should be '@cpunum: CPU from which to read register.' for consistency with Linux kernel documentation style.

Suggested change
* @cpunum:CPU from which to read register.
* @cpunum: CPU from which to read register.

Copilot uses AI. Check for mistakes.
* @auto_act_window:Return address.
Copy link

Copilot AI Dec 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parameter name in documentation comment is incorrect. The parameter is named 'auto_act_window' but the documentation says '@auto_act_window:Return address.' when it should describe an output parameter for autonomous selection, not activity window.

Suggested change
* @auto_act_window:Return address.
* @auto_sel:Return address.

Copilot uses AI. Check for mistakes.
*/
int cppc_get_auto_sel(int cpunum, u64 *auto_sel)
{
return cppc_get_reg(cpunum, AUTO_SEL_ENABLE, auto_sel);
}
EXPORT_SYMBOL_GPL(cppc_get_auto_sel);

/**
* cppc_get_auto_sel_caps - Read autonomous selection register.
* @cpunum : CPU from which to read register.
Expand Down Expand Up @@ -1625,12 +1763,17 @@ int cppc_set_auto_sel(int cpu, bool enable)
/* after writing CPC, transfer the ownership of PCC to platform */
ret = send_pcc_cmd(pcc_ss_id, CMD_WRITE);
up_write(&pcc_ss_data->pcc_lock);
} else {
ret = -ENOTSUPP;
pr_debug("_CPC in PCC is not supported\n");

return ret;
}

return ret;
if (!CPC_SUPPORTED(auto_sel_reg)) {
pr_debug("CPC register (reg_idx=%u) is not supported\n",
AUTO_SEL_ENABLE);
return -EOPNOTSUPP;
}

return cpc_write(cpu, auto_sel_reg, enable);
}
EXPORT_SYMBOL_GPL(cppc_set_auto_sel);

Expand Down
20 changes: 20 additions & 0 deletions drivers/cpufreq/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,26 @@ config CPU_FREQ_GOV_SCHEDUTIL

If in doubt, say N.

config CPU_FREQ_GOV_SEEP
tristate "'seep' cpufreq policy governor"
depends on ACPI_CPPC_CPUFREQ && ARM64
select CPPC_CPUFREQ_SYSFS_INTERFACE
select CPU_FREQ_GOV_COMMON
help
'seep' - This governor is designed for platforms with hardware-managed
P-states through CPPC (Collaborative Processor Performance Control).
It enables the hardware's autonomous frequency selection capability,
allowing the processor to manage its own frequency based on workload.

This governor requires the cppc_cpufreq driver and platform support
for CPPC features including auto-selection, autonomous activity window,
and energy-performance preference.

To compile this driver as a module, choose M here: the
module will be called cpufreq_seep.

If in doubt, say N.

comment "CPU frequency scaling drivers"

config CPUFREQ_DT
Expand Down
11 changes: 11 additions & 0 deletions drivers/cpufreq/Kconfig.arm
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ config ACPI_CPPC_CPUFREQ

If in doubt, say N.

config CPPC_CPUFREQ_SYSFS_INTERFACE
bool "Enable CPPC CPUFreq sysfs tuning interfaces"
depends on ACPI_CPPC_CPUFREQ && ARM64
default n
help
This enables sysfs interfaces for CPPC CPUFreq driver including
auto_act_window and energy_perf. These interfaces allow users
to tune CPPC parameters at runtime.

If unsure, say N.
Comment on lines +27 to +31
Copy link

Copilot AI Dec 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incorrect indentation. The help text should be indented with a single tab, not spaces. Use consistent tab-based indentation as per the rest of the Kconfig file.

Suggested change
This enables sysfs interfaces for CPPC CPUFreq driver including
auto_act_window and energy_perf. These interfaces allow users
to tune CPPC parameters at runtime.
If unsure, say N.
This enables sysfs interfaces for CPPC CPUFreq driver including
auto_act_window and energy_perf. These interfaces allow users
to tune CPPC parameters at runtime.
If unsure, say N.

Copilot uses AI. Check for mistakes.

config ACPI_CPPC_CPUFREQ_FIE
bool "Frequency Invariance support for CPPC cpufreq driver"
depends on ACPI_CPPC_CPUFREQ && GENERIC_ARCH_TOPOLOGY
Expand Down
1 change: 1 addition & 0 deletions drivers/cpufreq/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ obj-$(CONFIG_CPU_FREQ_GOV_POWERSAVE) += cpufreq_powersave.o
obj-$(CONFIG_CPU_FREQ_GOV_USERSPACE) += cpufreq_userspace.o
obj-$(CONFIG_CPU_FREQ_GOV_ONDEMAND) += cpufreq_ondemand.o
obj-$(CONFIG_CPU_FREQ_GOV_CONSERVATIVE) += cpufreq_conservative.o
obj-$(CONFIG_CPU_FREQ_GOV_SEEP) += cpufreq_seep.o
obj-$(CONFIG_CPU_FREQ_GOV_COMMON) += cpufreq_governor.o
obj-$(CONFIG_CPU_FREQ_GOV_ATTR_SET) += cpufreq_governor_attr_set.o

Expand Down
5 changes: 0 additions & 5 deletions drivers/cpufreq/acpi-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -970,11 +970,6 @@ static int acpi_cpufreq_cpu_init(struct cpufreq_policy *policy)
if (perf->states[0].core_frequency * 1000 != freq_table[0].frequency)
pr_warn(FW_WARN "P-state 0 is not max freq\n");

if (acpi_cpufreq_driver.set_boost) {
set_boost(policy, acpi_cpufreq_driver.boost_enabled);
policy->boost_enabled = acpi_cpufreq_driver.boost_enabled;
}

return result;

err_unreg:
Expand Down
Loading