From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Rob Herring <robherring2@gmail.com>
Cc: linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree-discuss@lists.ozlabs.org
Subject: Re: [PATCH 1/2] edac: add support for Calxeda highbank memory controller
Date: Mon, 11 Jun 2012 12:22:10 -0300 [thread overview]
Message-ID: <4FD60D22.5030107@redhat.com> (raw)
In-Reply-To: <4FCFE028.10005@gmail.com>
Em 06-06-2012 19:56, Rob Herring escreveu:
> Mauro,
>
> On 06/06/2012 05:34 PM, Mauro Carvalho Chehab wrote:
>> Hi Rob,
>>
>> Em 06-06-2012 19:02, Rob Herring escreveu:
>>> From: Rob Herring <rob.herring@calxeda.com>
>>>
>>> Add support for memory controller on Calxeda Highbank platforms. Highbank
>>> platforms support a single 4GB mini-DIMM with 1-bit correction and 2-bit
>>> detection.
>>>
>
> [snip]
>
>>> +
>>> + layers[0].type = EDAC_MC_LAYER_CHIP_SELECT;
>>> + layers[0].size = 1;
>>> + layers[0].is_virt_csrow = true;
>>> + layers[1].type = EDAC_MC_LAYER_CHANNEL;
>>> + layers[1].size = 1;
>>> + layers[1].is_virt_csrow = false;
>>> + mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers,
>>> + sizeof(struct hb_mc_drvdata));
>>
>> Hmm... I suspect that memories by DIMM chip select/channel at Calxeda,
>> as it is using just 1 cs/channel. It probably makes more sense to add new layer
>> type(s) to properly represent the way your memory controller addresses it, if
>> Calxeda doesn't work with DIMMs.
>
> Not sure I follow. DIMMs are supported, but only a newer JEDEC form
> factor (DDR3 72-bit mini DIMM). The h/w pretty much fixed to a single
> 4GB DIMM. The controller is 1 72-bit channel.
OK. Then, the mapping is correct.
Regards,
Mauro
next prev parent reply other threads:[~2012-06-11 15:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-06 22:02 [PATCH 0/2] EDAC support for Calxeda Highbank Rob Herring
2012-06-06 22:02 ` [PATCH 1/2] edac: add support for Calxeda highbank memory controller Rob Herring
2012-06-06 22:34 ` Mauro Carvalho Chehab
2012-06-06 22:56 ` Rob Herring
2012-06-07 12:43 ` Borislav Petkov
2012-06-07 12:44 ` Borislav Petkov
2012-06-11 15:22 ` Mauro Carvalho Chehab [this message]
2012-06-08 1:12 ` Rob Herring
2012-06-11 15:25 ` Mauro Carvalho Chehab
2012-06-06 22:02 ` [PATCH 2/2] edac: add support for Calxeda highbank L2 cache ecc Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FD60D22.5030107@redhat.com \
--to=mchehab@redhat.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=linux-edac@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robherring2@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).