On Wed, 29 Nov 2017 17:22:22 +0000 alexander.levin@verizon.com wrote:
From: Jérémy Lefaure jeremy.lefaure@lse.epita.fr
[ 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@lse.epita.fr Cc: linux-edac linux-edac@vger.kernel.org Link: http://lkml.kernel.org/r/20170309011809.8340-1-jeremy.lefaure@lse.epita.fr Signed-off-by: Borislav Petkov bp@suse.de Signed-off-by: Sasha Levin alexander.levin@verizon.com
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