Centos-kernel-stream-9/kernel
David Arcari 306c769042 PM: EM: Add function for registering a PD without capacity update
JIRA: https://issues.redhat.com/browse/RHEL-112493

commit e0423541477dfb684fbc6e6b5386054bc650f264
Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Date:   Fri Sep 5 15:44:45 2025 +0200

    PM: EM: Add function for registering a PD without capacity update

    The intel_pstate driver manages CPU capacity changes itself and it does
    not need an update of the capacity of all CPUs in the system to be
    carried out after registering a PD.

    Moreover, in some configurations (for instance, an SMT-capable
    hybrid x86 system booted with nosmt in the kernel command line) the
    em_check_capacity_update() call at the end of em_dev_register_perf_domain()
    always fails and reschedules itself to run once again in 1 s, so
    effectively it runs in vain every 1 s forever.

    To address this, introduce a new variant of em_dev_register_perf_domain(),
    called em_dev_register_pd_no_update(), that does not invoke
    em_check_capacity_update(), and make intel_pstate use it instead of the
    original.

    Fixes: 7b010f9b9061 ("cpufreq: intel_pstate: EAS support for hybrid platforms")
    Closes: https://lore.kernel.org/linux-pm/40212796-734c-4140-8a85-854f72b8144d@panix.com/
    Reported-by: Kenneth R. Crudup <kenny@panix.com>
    Tested-by: Kenneth R. Crudup <kenny@panix.com>
    Cc: 6.16+ <stable@vger.kernel.org> # 6.16+
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

Signed-off-by: David Arcari <darcari@redhat.com>
2025-09-12 07:45:13 -04:00
..
bpf
cgroup
configs
debug
dma
entry
events
futex
gcov
irq
kcsan
livepatch
locking Merge: Update locking/futex to v6.12 2025-08-19 16:32:53 -07:00
module audit,module: restore audit logging in load failure case 2025-08-07 14:06:27 -04:00
power PM: EM: Add function for registering a PD without capacity update 2025-09-12 07:45:13 -04:00
printk
rcu
sched PM: EM: Move sched domains rebuild function from schedutil to EM 2025-09-04 08:38:00 -04:00
time
trace Merge: bpf: stable backports for 9.7 (phase 2) 2025-08-18 17:05:05 -07:00
.gitignore
Kconfig.freezer
Kconfig.hz
Kconfig.kexec
Kconfig.locks
Kconfig.preempt
Makefile
acct.c
async.c
audit.c
audit.h audit,module: restore audit logging in load failure case 2025-08-07 14:06:27 -04:00
audit_fsnotify.c
audit_tree.c
audit_watch.c
auditfilter.c
auditsc.c audit,module: restore audit logging in load failure case 2025-08-07 14:06:27 -04:00
backtracetest.c
bounds.c
capability.c
cfi.c
compat.c
configs.c
context_tracking.c
cpu.c
cpu_pm.c
crash_core.c
crash_reserve.c
cred.c
delayacct.c
dma.c
elfcorehdr.c
exec_domain.c
exit.c
exit.h
extable.c
fail_function.c
fork.c
freezer.c
gen_kheaders.sh
groups.c
hung_task.c
iomem.c
irq_work.c
jump_label.c
kallsyms.c
kallsyms_internal.h
kallsyms_selftest.c
kallsyms_selftest.h
kcmp.c
kcov.c
kexec.c
kexec_core.c
kexec_elf.c
kexec_file.c
kexec_internal.h
kheaders.c
kprobes.c
ksyms_common.c
ksysfs.c
kthread.c
latencytop.c
module_signature.c
notifier.c
nsproxy.c
padata.c
panic.c
params.c
pid.c
pid_namespace.c
pid_sysctl.h
profile.c
ptrace.c
range.c
reboot.c
regset.c
relay.c
resource.c
resource_kunit.c
rh_messages.c
rh_messages.h
rh_shadowman.c
rseq.c
scftorture.c
scs.c
seccomp.c
signal.c
smp.c
smpboot.c
smpboot.h
softirq.c
stackleak.c
stacktrace.c
static_call.c
static_call_inline.c
stop_machine.c sched/core: Fix migrate_swap() vs. hotplug 2025-08-13 13:59:10 +00:00
sys.c
sys_ni.c
sysctl-test.c
sysctl.c
task_work.c
taskstats.c
test_kprobes.c
torture.c
tracepoint.c
tsacct.c
ucount.c
uid16.c
uid16.h
umh.c
up.c
user-return-notifier.c
user.c
user_namespace.c
usermode_driver.c
utsname.c
utsname_sysctl.c
vmcore_info.c
watch_queue.c
watchdog.c
watchdog_hld.c
workqueue.c
workqueue_internal.h