summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2020-09-27 22:50:42 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-10 10:22:15 +0100
commit71fa83623923fb561337713cf8ee9757fb7fe4ff (patch)
treef151036630efc5e020ef8a4ed0f514865854594d /tools/perf/scripts/python/call-graph-from-postgresql.py
parent20a7c9a7966c842698ac22bfaae48da7f4cc9935 (diff)
ACPI / extlog: Check for RDMSR failure
commit 7cecb47f55e00282f972a1e0b09136c8cd938221 upstream. extlog_init() uses rdmsrl() to read an MSR, which on older CPUs provokes a error message at boot: unchecked MSR access error: RDMSR from 0x179 at rIP: 0xcd047307 (native_read_msr+0x7/0x40) Use rdmsrl_safe() instead, and return -ENODEV if it fails. Reported-by: jim@photojim.ca References: https://bugs.debian.org/971058 Cc: All applicable <stable@vger.kernel.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions