From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-bn1bon0142.outbound.protection.outlook.com ([157.56.111.142]:23632 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752161AbaJAQCf (ORCPT ); Wed, 1 Oct 2014 12:02:35 -0400 Message-ID: <542C2588.2040004@amd.com> Date: Wed, 1 Oct 2014 11:02:16 -0500 From: Aravind Gopalakrishnan MIME-Version: 1.0 To: Borislav Petkov CC: , , , , , , , , , , Subject: Re: [PATCH 4/4] edac, amd64_edac: Add F15h M60h support References: <1411070230-10298-1-git-send-email-Aravind.Gopalakrishnan@amd.com> <20141001113235.GC18271@pd.tnic> <542C1EAA.4050408@amd.com> <20141001154523.GF18271@pd.tnic> In-Reply-To: <20141001154523.GF18271@pd.tnic> Content-Type: text/plain; charset="UTF-8"; format=flowed Sender: linux-pci-owner@vger.kernel.org List-ID: On 10/1/2014 10:45 AM, Borislav Petkov wrote: > On Wed, Oct 01, 2014 at 10:32:58AM -0500, Aravind Gopalakrishnan wrote: >>>> + if (dcsm & 0x3) { >>>> + /* LRDIMMs */ >>>> + edac_dbg(1, " DIMM type: LRDIMM %dx rank multiply;" >>>> + "CS = %d; all DIMMs support ECC: %s\n", >>>> + (dcsm & 0x3), cs, >>>> + (dclr & BIT(19)) ? "yes" : "no"); >>> Why do we need to iterate over the DRAM CS sets? Just for the rank >>> multiplier, apparently. We dump those normally in read_dct_base_mask(), >>> though. >> It's not just for rank multiplier.. we find that it's LRDIMM only by >> examining dcsm. Hence the iteration here.. > So we can look only at the first DCSM, no? Or are there systems with > different types of LRDIMMs on one DCT? > Not AFAIK, But I'll ask to make sure. If different LRDIMMs on one DCT don't exist, then sure, I'll modify the code to use first DCSM. Regarding resend- I'm not sure how you'll want the patches.. I just noticed a 'edac-for-3.19' branch. Would you prefer I based changes on top of this for merging purposes? Or just resend the original 4 patches based off tip as usual? Thanks, -Aravind.