<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/edac/amd64_edac.c, branch linux-3.5.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.5.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.5.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-05-28T22:13:50Z</updated>
<entry>
<title>edac: Remove the legacy EDAC ABI</title>
<updated>2012-05-28T22:13:50Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2012-05-02T17:37:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ca0907b9e413bb1d1f3ea123b663535b74928846'/>
<id>urn:sha1:ca0907b9e413bb1d1f3ea123b663535b74928846</id>
<content type='text'>
Now that all drivers got converted to use the new ABI, we can
drop the old one.

Acked-by: Chris Metcalf &lt;cmetcalf@tilera.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>amd64_edac: convert driver to use the new edac ABI</title>
<updated>2012-05-28T22:10:59Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2012-04-16T18:03:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ab5a503cb57c1acea3b67210f46ebc2cfb28945e'/>
<id>urn:sha1:ab5a503cb57c1acea3b67210f46ebc2cfb28945e</id>
<content type='text'>
The legacy edac ABI is going to be removed. Port the driver to use
and benefit from the new API functionality.

Cc: Doug Thompson &lt;norsk5@yahoo.com&gt;
Cc: Borislav Petkov &lt;borislav.petkov@amd.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>edac: move nr_pages to dimm struct</title>
<updated>2012-05-28T22:10:58Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2012-01-28T12:09:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a895bf8b1e1ea4c032a8fa8a09475a2ce09fe77a'/>
<id>urn:sha1:a895bf8b1e1ea4c032a8fa8a09475a2ce09fe77a</id>
<content type='text'>
The number of pages is a dimm property. Move it to the dimm struct.

After this change, it is possible to add sysfs nodes for the DIMM's that
will properly represent the DIMM stick properties, including its size.

A TODO fix here is to properly represent dual-rank/quad-rank DIMMs when
the memory controller represents the memory via chip select rows.

Reviewed-by: Aristeu Rozanski &lt;arozansk@redhat.com&gt;
Acked-by: Borislav Petkov &lt;borislav.petkov@amd.com&gt;
Acked-by: Chris Metcalf &lt;cmetcalf@tilera.com&gt;
Cc: Doug Thompson &lt;norsk5@yahoo.com&gt;
Cc: Mark Gross &lt;mark.gross@intel.com&gt;
Cc: Jason Uhlenkott &lt;juhlenko@akamai.com&gt;
Cc: Tim Small &lt;tim@buttersideup.com&gt;
Cc: Ranganathan Desikan &lt;ravi@jetztechnologies.com&gt;
Cc: "Arvind R." &lt;arvino55@gmail.com&gt;
Cc: Olof Johansson &lt;olof@lixom.net&gt;
Cc: Egor Martovetsky &lt;egor@pasemi.com&gt;
Cc: Michal Marek &lt;mmarek@suse.cz&gt;
Cc: Jiri Kosina &lt;jkosina@suse.cz&gt;
Cc: Joe Perches &lt;joe@perches.com&gt;
Cc: Dmitry Eremin-Solenikov &lt;dbaryshkov@gmail.com&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: Hitoshi Mitake &lt;h.mitake@gmail.com&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Cc: "Niklas Söderlund" &lt;niklas.soderlund@ericsson.com&gt;
Cc: Shaohui Xie &lt;Shaohui.Xie@freescale.com&gt;
Cc: Josh Boyer &lt;jwboyer@gmail.com&gt;
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>edac: Don't initialize csrow's first_page &amp; friends when not needed</title>
<updated>2012-05-28T22:10:58Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2012-01-28T00:20:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5e2af0c09e60d11dd8297e259a9ca2b3d92d2cf4'/>
<id>urn:sha1:5e2af0c09e60d11dd8297e259a9ca2b3d92d2cf4</id>
<content type='text'>
Almost all edac	drivers	initialize csrow_info-&gt;first_page,
csrow_info-&gt;last_page and csrow_info-&gt;page_mask. Those vars are
used inside the EDAC core, in order to calculate the csrow affected
by an error, by using the routine edac_mc_find_csrow_by_page().

However, very few drivers actually use it:
        e752x_edac.c
        e7xxx_edac.c
        i3000_edac.c
        i82443bxgx_edac.c
        i82860_edac.c
        i82875p_edac.c
        i82975x_edac.c
        r82600_edac.c

There also a few other drivers that have their own calculus
formula internally using those vars.

All the others are just wasting time by initializing those
data.

While initializing data without using them won't cause any troubles, as
those information is stored at the wrong place (at csrows structure), it
is better to remove what is unused, in order to simplify the next patch.

Reviewed-by: Aristeu Rozanski &lt;arozansk@redhat.com&gt;
Acked-by: Borislav Petkov &lt;borislav.petkov@amd.com&gt;
Acked-by: Chris Metcalf &lt;cmetcalf@tilera.com&gt;
Cc: Doug Thompson &lt;norsk5@yahoo.com&gt;
Cc: Hitoshi Mitake &lt;h.mitake@gmail.com&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Cc: "Niklas Söderlund" &lt;niklas.soderlund@ericsson.com&gt;
Cc: Josh Boyer &lt;jwboyer@gmail.com&gt;
Cc: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>edac: move dimm properties to struct dimm_info</title>
<updated>2012-05-28T22:10:58Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2012-01-27T21:38:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=084a4fccef39ac7abb039511f32380f28d0b67e6'/>
<id>urn:sha1:084a4fccef39ac7abb039511f32380f28d0b67e6</id>
<content type='text'>
On systems based on chip select rows, all channels need to use memories
with the same properties, otherwise the memories on channels A and B
won't be recognized.

However, such assumption is not true for all types of memory
controllers.

Controllers for FB-DIMM's don't have such requirements.

Also, modern Intel controllers seem to be capable of handling such
differences.

So, we need to get rid of storing the DIMM information into a per-csrow
data, storing it, instead at the right place.

The first step is to move grain, mtype, dtype and edac_mode to the
per-dimm struct.

Reviewed-by: Aristeu Rozanski &lt;arozansk@redhat.com&gt;
Reviewed-by: Borislav Petkov &lt;borislav.petkov@amd.com&gt;
Acked-by: Chris Metcalf &lt;cmetcalf@tilera.com&gt;
Cc: Doug Thompson &lt;norsk5@yahoo.com&gt;
Cc: Borislav Petkov &lt;borislav.petkov@amd.com&gt;
Cc: Mark Gross &lt;mark.gross@intel.com&gt;
Cc: Jason Uhlenkott &lt;juhlenko@akamai.com&gt;
Cc: Tim Small &lt;tim@buttersideup.com&gt;
Cc: Ranganathan Desikan &lt;ravi@jetztechnologies.com&gt;
Cc: "Arvind R." &lt;arvino55@gmail.com&gt;
Cc: Olof Johansson &lt;olof@lixom.net&gt;
Cc: Egor Martovetsky &lt;egor@pasemi.com&gt;
Cc: Michal Marek &lt;mmarek@suse.cz&gt;
Cc: Jiri Kosina &lt;jkosina@suse.cz&gt;
Cc: Joe Perches &lt;joe@perches.com&gt;
Cc: Dmitry Eremin-Solenikov &lt;dbaryshkov@gmail.com&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: Hitoshi Mitake &lt;h.mitake@gmail.com&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Cc: James Bottomley &lt;James.Bottomley@parallels.com&gt;
Cc: "Niklas Söderlund" &lt;niklas.soderlund@ericsson.com&gt;
Cc: Shaohui Xie &lt;Shaohui.Xie@freescale.com&gt;
Cc: Josh Boyer &lt;jwboyer@gmail.com&gt;
Cc: Mike Williams &lt;mike@mikebwilliams.com&gt;
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>EDAC: Make pci_device_id tables __devinitconst.</title>
<updated>2012-03-19T11:04:54Z</updated>
<author>
<name>Lionel Debroux</name>
</author>
<published>2012-02-27T06:41:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=36c46f31df910b092aaaed27c7c616bb8e2302a1'/>
<id>urn:sha1:36c46f31df910b092aaaed27c7c616bb8e2302a1</id>
<content type='text'>
These const tables are currently marked __devinitdata, but
Documentation/PCI/pci.txt says:

"o The ID table array should be marked __devinitconst; this is done
automatically if the table is declared with DEFINE_PCI_DEVICE_TABLE()."

So use DEFINE_PCI_DEVICE_TABLE(x).

Based on PaX and earlier work by Andi Kleen.

Signed-off-by: Lionel Debroux &lt;lionel_debroux@yahoo.fr&gt;
Signed-off-by: Borislav Petkov &lt;borislav.petkov@amd.com&gt;
</content>
</entry>
<entry>
<title>amd64_edac: Fix K8 revD and later chip select sizes</title>
<updated>2012-03-19T11:02:46Z</updated>
<author>
<name>Borislav Petkov</name>
</author>
<published>2011-11-09T20:28:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=11b0a31473edf74b70ab6f8fe857b61bff82d7cc'/>
<id>urn:sha1:11b0a31473edf74b70ab6f8fe857b61bff82d7cc</id>
<content type='text'>
Fix DRAM chip select sizes calculation for K8, revisions D and E.

Reported-by: Niklas Söderlund &lt;niklas.soderlund@ericsson.com
Link: http://lkml.kernel.org/r/1320849178-23340-1-git-send-email-niklas.soderlund@ericsson.com
Signed-off-by: Borislav Petkov &lt;borislav.petkov@amd.com&gt;
</content>
</entry>
<entry>
<title>amd64_edac: Fix missing csrows sysfs nodes</title>
<updated>2012-03-19T10:57:28Z</updated>
<author>
<name>Ashish Shenoy</name>
</author>
<published>2012-02-23T01:20:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f92cae45263b25cdb4c4d24e297e07945d3bc01b'/>
<id>urn:sha1:f92cae45263b25cdb4c4d24e297e07945d3bc01b</id>
<content type='text'>
While initializing the array of csrow attribute instances, a few csrows
were uninitialized. This happened because the module only performed a
check for DRAM base ctl register0's and not DRAM base ctl register1's
chip select enable bit. There could be systems with DIMMs populated
on only single memory channel whereas the module also assumed that a
dual channel dimm had double the memory size of a single memory channel
instead of checking the memory on each channel.

This patch fixes these above issues.

Signed-off-by: Ashish Shenoy &lt;ashenoy@riverbed.com&gt;
Signed-off-by: Prasanna S. Panchamukhi &lt;ppanchamukhi@riverbed.com&gt;
Link: http://lkml.kernel.org/r/4F459CFA.5090604@riverbed.com
Signed-off-by: Borislav Petkov &lt;borislav.petkov@amd.com&gt;
</content>
</entry>
<entry>
<title>amd64_edac: Cleanup return type of amd64_determine_edac_cap()</title>
<updated>2011-10-06T10:35:46Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2011-10-06T06:30:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1f6189ed18cbd99d90bffdbc76c3adc54418b2fd'/>
<id>urn:sha1:1f6189ed18cbd99d90bffdbc76c3adc54418b2fd</id>
<content type='text'>
Sparse complains that edac_cap was declared as dev_type and we are
returning edac_type.  Historically, edac_type was correct but since
then we have changed it to return a bit field.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Link: http://lkml.kernel.org/r/20111006063025.GA2615@mwanda
Signed-off-by: Borislav Petkov &lt;borislav.petkov@amd.com&gt;
</content>
</entry>
<entry>
<title>amd64_edac: Add a fix for Erratum 505</title>
<updated>2011-10-06T10:34:05Z</updated>
<author>
<name>Borislav Petkov</name>
</author>
<published>2011-09-19T15:34:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=73ba85937b2a07b6401ba0b7ca06a112762de9f7'/>
<id>urn:sha1:73ba85937b2a07b6401ba0b7ca06a112762de9f7</id>
<content type='text'>
When accessing the scrub rate control register (F3x58) on F15h, the DRAM
controller selector (F1x10C[DctCfgSel]) has to point to DCT0 so that the
scrub rate configuration can take effect. See Erratum 505 in the AMD
F15h revision guide for more details.

Signed-off-by: Borislav Petkov &lt;borislav.petkov@amd.com&gt;
</content>
</entry>
</feed>
