lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 6 Mar 2015 09:32:12 +0000
From:	Naoya Horiguchi <n-horiguchi@...jp.nec.com>
To:	Borislav Petkov <bp@...en8.de>
CC:	"Luck, Tony" <tony.luck@...el.com>,
	Prarit Bhargava <prarit@...hat.com>,
	Vivek Goyal <vgoyal@...hat.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Junichi Nomura <j-nomura@...jp.nec.com>,
	Kiyoshi Ueda <k-ueda@...jp.nec.com>
Subject: Re: [PATCH v6] x86: mce: kexec: switch MCE handler for kexec/kdump

On Fri, Mar 06, 2015 at 10:27:38AM +0100, Borislav Petkov wrote:
> 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.

Great, thanks.

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

OK, I'll do with rdmsrl().

Thanks,
Naoya Horiguchi--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ