lkml.org 
[lkml]   [2015]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v6] x86: mce: kexec: switch MCE handler for kexec/kdump
On Fri, Mar 06, 2015 at 09:09:30AM +0000, Naoya Horiguchi wrote:
> I'm not sure why that works, could you elabroate it?

Because the _safe() variants are only for handling reads to possibly
non-existent MSRs. The _STATUS MSRs which you're accessing are
guaranteed to be present, otherwise __mcheck_cpu_cap_init() would've
disabled MCA on the first kernel, thus the mca_cfg.disabled check.

We can always switch to the _safe() variants later if really needed - I
just don't see the need for them right now.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--


\
 
 \ /
  Last update: 2015-03-06 11:01    [W:0.069 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site