Skip to content

hwmon: (coretemp) avoid RDMSR interrupts to isolated CPUs

commit 0f8b916bc5b5d74cacef2b616b04db10633b8105 Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2182083 Testing: Tested by QE

The coretemp driver uses rdmsr_on_cpu calls to read MSR_IA32_PACKAGE_THERM_STATUS/MSR_IA32_THERM_STATUS registers, which contain information about current core temperature.

For certain low latency applications, the RDMSR interruption exceeds the applications requirements.

So do not create core files in sysfs, for CPUs which have isolation and nohz_full enabled.

Temperature information from the housekeeping cores should be sufficient to infer die temperature.

Signed-off-by: Marcelo Tosatti mtosatti@redhat.com Link: https://lore.kernel.org/r/Y5zT6B1mY9/pnwJV@tpad Signed-off-by: Guenter Roeck linux@roeck-us.net

Merge request reports