summaryrefslogtreecommitdiff
path: root/scripts/tracing
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2016-11-22 20:42:02 +0300
committerGuenter Roeck <linux@roeck-us.net>2016-12-10 08:54:06 +0300
commit723f573433b2900f1d4539b8eb0d24cd17a42c65 (patch)
tree6ccba8fe96980a3a480927e4b44dc92c7333c67a /scripts/tracing
parent78305ae70cbad28acba65b69d3497cd301cf3479 (diff)
downloadlinux-723f573433b2900f1d4539b8eb0d24cd17a42c65.tar.xz
hwmon: (coretemp) Fixup target cpu for package when cpu is offlined
When a CPU is offlined nothing checks whether it is the target CPU for the package temperature sysfs interface. As a consequence all future readouts of the package temperature return crap: 90000 which is Tjmax of that package. Check whether the outgoing CPU is the target for the package and assign it to some other still online CPU in the package. Protect the change against the rdmsr_on_cpu() in show_crit_alarm(). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/tracing')
0 files changed, 0 insertions, 0 deletions