lkml.org 
[lkml]   [2015]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2015-05-05 23:01    [W:0.062 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site