public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: linux-pm@vger.kernel.org
Cc: "Rafael J. Wysocki" <rafael@kernel.org>,
	Len Brown <lenb@kernel.org>,
	Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Viresh Kumar <viresh.kumar@linaro.org>
Subject: intel_pstate_get_hwp_cap on wrong CPU
Date: Wed, 29 May 2024 17:57:40 +0200	[thread overview]
Message-ID: <20240529155740.Hq2Hw7be@linutronix.de> (raw)

Hi,

this just popped up:
| [ 6538.614568] unchecked MSR access error: RDMSR from 0x771 at rIP: 0xffffffff817d2250 (__rdmsr_on_cpu+0x20/0x50)
| [ 6538.625714] Call Trace:
| [ 6538.629156]  <TASK>
| [ 6538.675067]  generic_exec_single+0x58/0x120
| [ 6538.680236]  smp_call_function_single+0xbf/0x110
| [ 6538.696333]  rdmsrl_on_cpu+0x46/0x60
| [ 6538.700894]  intel_pstate_get_hwp_cap+0x1b/0x70
| [ 6538.706420]  intel_pstate_update_limits+0x2a/0x60
| [ 6538.712110]  acpi_processor_notify+0xb7/0x140
| [ 6538.717479]  acpi_ev_notify_dispatch+0x3b/0x60
| [ 6538.722910]  acpi_os_execute_deferred+0xf/0x20
| [ 6538.728346]  process_one_work+0x13d/0x350
| [ 6538.733342]  worker_thread+0x2c2/0x3d0
| [ 6538.743066]  kthread+0xca/0x100
| [ 6538.751844]  ret_from_fork+0x2c/0x40
| [ 6538.761073]  ret_from_fork_asm+0x11/0x20
| [ 6538.765993]  </TASK>

| root@h:~# grep . /sys/devices/system/cpu/intel_pstate/*
| /sys/devices/system/cpu/intel_pstate/max_perf_pct:100
| /sys/devices/system/cpu/intel_pstate/min_perf_pct:36
| /sys/devices/system/cpu/intel_pstate/no_turbo:0
| /sys/devices/system/cpu/intel_pstate/num_pstates:4294967285
^ => -EAGAIN

| /sys/devices/system/cpu/intel_pstate/status:passive
| /sys/devices/system/cpu/intel_pstate/turbo_pct:0

|# cpupower frequency-info
|analyzing CPU 0:
|  driver: intel_cpufreq
…

from turbostat:
| CPUID(0): GenuineIntel 0xf CPUID levels
| CPUID(1): family:model:stepping 0x6:3f:4 (6:63:4) microcode 0x1a
| CPUID(0x80000000): max_extended_levels: 0x80000008
| CPUID(1): SSE3 MONITOR SMX EIST TM2 TSC MSR ACPI-TM HT TM
| CPUID(6): APERF, TURBO, DTS, PTM, No-HWP, No-HWPnotify, No-HWPwindow, No-HWPepp, No-HWPpkg, EPB
| cpu4: MSR_IA32_MISC_ENABLE: 0x00850089 (TCC EIST MWAIT PREFETCH TURBO)
| CPUID(7): No-SGX No-Hybrid

This is v6.10.0-rc1.

Sebastian

             reply	other threads:[~2024-05-29 15:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-29 15:57 Sebastian Andrzej Siewior [this message]
2024-05-29 23:08 ` intel_pstate_get_hwp_cap on wrong CPU srinivas pandruvada
2024-05-31 11:02   ` Sebastian Andrzej Siewior
2024-05-31 11:56     ` srinivas pandruvada
2024-05-31 14:01       ` Sebastian Andrzej Siewior
2024-05-31 22:27         ` srinivas pandruvada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240529155740.Hq2Hw7be@linutronix.de \
    --to=bigeasy@linutronix.de \
    --cc=lenb@kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=srinivas.pandruvada@linux.intel.com \
    --cc=tglx@linutronix.de \
    --cc=viresh.kumar@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox