Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
e6e8b21
i8042: decrease debug message level to info
fenrus75 Jun 23, 2015
16ba690
increase the ext4 default commit age
fenrus75 Jan 11, 2016
78aae73
silence rapl
fenrus75 Mar 14, 2016
f243bb0
pci pme wakeups
fenrus75 Mar 14, 2016
9071085
ksm-wakeups
fenrus75 May 6, 2019
cd4b867
intel_idle: tweak cpuidle cstates
fenrus75 Mar 20, 2016
d768ec7
smpboot: reuse timer calibration
fenrus75 Feb 11, 2015
ee7c9cb
initialize ata before graphics
fenrus75 Jun 3, 2016
df6ed5e
ipv4/tcp: allow the memory tuning for tcp to go a little bigger than …
fenrus75 Jan 6, 2017
010e3c9
init: wait for partition and retry scan
fenrus75 May 17, 2017
b202143
enable stateless firmware loading
Jun 20, 2018
d7589d0
migrate some systemd defaults to the kernel defaults.
ahkok Aug 2, 2018
fc80743
use lfence instead of rep and nop
fenrus75 Dec 8, 2018
44b41a3
do accept() in LIFO order for cache efficiency
fenrus75 Dec 13, 2018
6a6df01
locking: rwsem: spin faster
fenrus75 Feb 18, 2018
0548879
ata: libahci: ignore staggered spin-up
thac0 Jun 25, 2019
3fafb0f
print CPU that faults
fenrus75 Aug 10, 2019
66dc1ca
x86/microcode: Add an option to reload microcode even if revision is …
Aug 19, 2021
202c459
nvme workaround
fenrus75 Nov 11, 2019
451db4b
don't report an error if PowerClamp run on other CPU
AKoskovich Feb 12, 2020
93c895d
itmt_epb: use epb to scale itmt
fenrus75 Nov 16, 2021
1ab5b88
itmt2 ADL fixes
spandruvada Nov 18, 2021
abf6581
add a per cpu minimum high watermark an tune batch size
fenrus75 Nov 23, 2021
9fa32b9
scale
bwarden Sep 19, 2022
0471ed8
sched/fair: Simplify asym_packing logic for SMT sched groups
ricardon Aug 25, 2022
08777e6
sched/fair: Let lower-priority CPUs do active balancing
ricardon Aug 25, 2022
73171cb
x86/sched: Avoid unnecessary migrations within SMT domains
ricardon Aug 25, 2022
a4b7c0e
powerbump functionality
fenrus75 Jan 4, 2023
66c6adf
add networking support for powerbump
fenrus75 Jan 5, 2023
7ee30f8
futex bump
fenrus75 Jan 12, 2023
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
Prev Previous commit
Next Next commit
don't report an error if PowerClamp run on other CPU
Signed-off-by: Kai Krakow <[email protected]>
  • Loading branch information
AKoskovich authored and kakra committed Dec 27, 2022
commit 451db4b662ac48371fabf0665203f2369d18fbb7
10 changes: 10 additions & 0 deletions drivers/thermal/intel/intel_powerclamp.c
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,11 @@ static const struct thermal_cooling_device_ops powerclamp_cooling_ops = {
.set_cur_state = powerclamp_set_cur_state,
};

static const struct x86_cpu_id amd_cpu[] = {
{ X86_VENDOR_AMD },
{},
};

static const struct x86_cpu_id __initconst intel_powerclamp_ids[] = {
X86_MATCH_VENDOR_FEATURE(INTEL, X86_FEATURE_MWAIT, NULL),
{}
Expand All @@ -636,6 +641,11 @@ MODULE_DEVICE_TABLE(x86cpu, intel_powerclamp_ids);
static int __init powerclamp_probe(void)
{

if (x86_match_cpu(amd_cpu)){
pr_info("Intel PowerClamp does not support AMD CPUs\n");
return -ENODEV;
}

if (!x86_match_cpu(intel_powerclamp_ids)) {
pr_err("CPU does not support MWAIT\n");
return -ENODEV;
Expand Down