summaryrefslogtreecommitdiff
path: root/include/linux/pipe_fs_i.h
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2020-09-28 00:50:42 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-10-02 20:01:55 +0300
commit7cecb47f55e00282f972a1e0b09136c8cd938221 (patch)
treebf016b79779583ffdc402c6c94924728e372046c /include/linux/pipe_fs_i.h
parenta1b8638ba1320e6684aa98233c15255eb803fac7 (diff)
downloadlinux-7cecb47f55e00282f972a1e0b09136c8cd938221.tar.xz
ACPI / extlog: Check for RDMSR failure
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>
Diffstat (limited to 'include/linux/pipe_fs_i.h')
0 files changed, 0 insertions, 0 deletions