[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 5 May 2015 15:33:47 -0500
From: Aravind Gopalakrishnan <aravind.gopalakrishnan@....com>
To: "Luck, Tony" <tony.luck@...el.com>, Borislav Petkov <bp@...en8.de>
CC: "tglx@...utronix.de" <tglx@...utronix.de>,
"mingo@...hat.com" <mingo@...hat.com>,
"hpa@...or.com" <hpa@...or.com>,
"jiang.liu@...ux.intel.com" <jiang.liu@...ux.intel.com>,
"yinghai@...nel.org" <yinghai@...nel.org>,
"x86@...nel.org" <x86@...nel.org>,
"dvlasenk@...hat.com" <dvlasenk@...hat.com>,
"JBeulich@...e.com" <JBeulich@...e.com>,
"slaoub@...il.com" <slaoub@...il.com>,
"luto@...capital.net" <luto@...capital.net>,
"dave.hansen@...ux.intel.com" <dave.hansen@...ux.intel.com>,
"oleg@...hat.com" <oleg@...hat.com>,
"rostedt@...dmis.org" <rostedt@...dmis.org>,
"rusty@...tcorp.com.au" <rusty@...tcorp.com.au>,
"prarit@...hat.com" <prarit@...hat.com>,
"linux@...musvillemoes.dk" <linux@...musvillemoes.dk>,
"jroedel@...e.de" <jroedel@...e.de>,
"andriy.shevchenko@...ux.intel.com"
<andriy.shevchenko@...ux.intel.com>,
"macro@...ux-mips.org" <macro@...ux-mips.org>,
"wangnan0@...wei.com" <wangnan0@...wei.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-edac@...r.kernel.org" <linux-edac@...r.kernel.org>,
Robert Richter <rric@...nel.org>
Subject: Re: [PATCH 2/4] x86/mce/amd: Introduce deferred error interrupt handler
On 5/5/2015 3:28 PM, Luck, Tony wrote:
> Should you check whether the address is valid before blindly reading the register?
>
>> m.bank = bank;
> if (m.status & MCI_STATUS_ADDRV)
> rdmsrl(MSR_IA32_MCx_ADDR(bank), m.addr);
>> mce_log(&m);
Yes, missed that when I sent the snippet.
Fixed it:)
Thanks,
-Aravind.
--
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