Messages in this thread | | | Date | Tue, 5 May 2015 15:33:47 -0500 | From | Aravind Gopalakrishnan <> | 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.
| |