Re: [PATCH AUTOSEL for 3.18 16/16] EDAC, i5000, i5400: Fix use of MTR_DRAM_WIDTH macro

From: JÃrÃmy Lefaure
Date: Wed Nov 29 2017 - 20:41:10 EST


On Wed, 29 Nov 2017 17:22:22 +0000
alexander.levin@xxxxxxxxxxx wrote:

> From: JÃrÃmy Lefaure <jeremy.lefaure@xxxxxxxxxxxx>
>
> [ Upstream commit e61555c29c28a4a3b6ba6207f4a0883ee236004d ]
>
> The MTR_DRAM_WIDTH macro returns the data width. It is sometimes used
> as if it returned a boolean true if the width if 8. Fix the tests where
> MTR_DRAM_WIDTH is misused.
>
> Signed-off-by: JÃrÃmy Lefaure <jeremy.lefaure@xxxxxxxxxxxx>
> Cc: linux-edac <linux-edac@xxxxxxxxxxxxxxx>
> Link: http://lkml.kernel.org/r/20170309011809.8340-1-jeremy.lefaure@xxxxxxxxxxxx
> Signed-off-by: Borislav Petkov <bp@xxxxxxx>
> Signed-off-by: Sasha Levin <alexander.levin@xxxxxxxxxxx>
>
Hi Sasha,
I noticed that you want to backport this commit to 3.18, 4.4 and 4.9.
Is there any reason for not backporting it to 4.1 ?

Also, I don't know if you saw my other patch on those files, upstream
commit a8c8261425649d ("EDAC, i5000, i5400: Fix definition of NRECMEMB
register"). Maybe it should be backported to stable too ?


Thanks,
JÃrÃmy