RE: [PATCH v2 2/4] x86/mce/AMD; EDAC,amd64: Move find_umc_channel() to AMD mcheck

2017-03-22 Thread Ghannam, Yazen
@vger.kernel.org > Subject: Re: [PATCH v2 2/4] x86/mce/AMD; EDAC,amd64: Move > find_umc_channel() to AMD mcheck > > On Mon, Mar 20, 2017 at 03:26:52PM -0500, Yazen Ghannam wrote: > > We need to find a UMC's channel number from mcheck code when > > translating UMC normaliz

RE: [PATCH v2 2/4] x86/mce/AMD; EDAC,amd64: Move find_umc_channel() to AMD mcheck

2017-03-22 Thread Ghannam, Yazen
> -Original Message- > From: Borislav Petkov [mailto:b...@alien8.de] > Sent: Wednesday, March 22, 2017 5:17 PM > To: Ghannam, Yazen > Cc: linux-e...@vger.kernel.org; Tony Luck ; > x...@kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v2 2/4] x86/mce/

Re: [PATCH v2 2/4] x86/mce/AMD; EDAC,amd64: Move find_umc_channel() to AMD mcheck

2017-03-22 Thread Borislav Petkov
On Mon, Mar 20, 2017 at 03:26:52PM -0500, Yazen Ghannam wrote: > We need to find a UMC's channel number from mcheck code when translating > UMC normalized addresses to system physical addresses. So move the function > there from EDAC. > > Also, drop the struct pvt from the function parameters

Re: [PATCH v2 2/4] x86/mce/AMD; EDAC,amd64: Move find_umc_channel() to AMD mcheck

2017-03-22 Thread Borislav Petkov
On Mon, Mar 20, 2017 at 03:26:52PM -0500, Yazen Ghannam wrote: > We need to find a UMC's channel number from mcheck code when translating > UMC normalized addresses to system physical addresses. So move the function > there from EDAC. > > Also, drop the struct pvt from the function parameters

[PATCH v2 2/4] x86/mce/AMD; EDAC,amd64: Move find_umc_channel() to AMD mcheck

2017-03-20 Thread Yazen Ghannam
We need to find a UMC's channel number from mcheck code when translating UMC normalized addresses to system physical addresses. So move the function there from EDAC. Also, drop the struct pvt from the function parameters since we don't use it. And add a sanity check to make sure we're only

[PATCH v2 2/4] x86/mce/AMD; EDAC,amd64: Move find_umc_channel() to AMD mcheck

2017-03-20 Thread Yazen Ghannam
We need to find a UMC's channel number from mcheck code when translating UMC normalized addresses to system physical addresses. So move the function there from EDAC. Also, drop the struct pvt from the function parameters since we don't use it. And add a sanity check to make sure we're only