On Wed, Nov 29, 2017 at 08:34:30PM -0500, Jérémy Lefaure wrote:
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: https://urldefense.proofpoint.com/v2/url?u=http-3A__lkml.kernel.org_r_201703... 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 ?
No reason, I just scripted it this way to address Greg's trees. It'll go in 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 ?
Sure, I'll include it in 4.9/4.4/3.18 as well, thanks!