<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/edac, branch v2.6.32</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.32</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.32'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2009-11-04T13:04:06Z</updated>
<entry>
<title>amd64_edac: fix CECCs reporting</title>
<updated>2009-11-04T13:04:06Z</updated>
<author>
<name>Borislav Petkov</name>
<email>borislav.petkov@amd.com</email>
</author>
<published>2009-11-04T13:04:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=17adea01b9606e416ea5116a27d02d47fe7e6c8d'/>
<id>urn:sha1:17adea01b9606e416ea5116a27d02d47fe7e6c8d</id>
<content type='text'>
Shift error type bits properly.

Signed-off-by: Borislav Petkov &lt;borislav.petkov@amd.com&gt;
</content>
</entry>
<entry>
<title>amd64_edac: fix a wrong goto clause in amd64_edac.c</title>
<updated>2009-11-04T13:02:32Z</updated>
<author>
<name>Li Hong</name>
<email>lihong.hi@gmail.com</email>
</author>
<published>2009-10-19T08:33:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a3c4c58085b23d8e878a58dcdd0f8fcf8fad1ccd'/>
<id>urn:sha1:a3c4c58085b23d8e878a58dcdd0f8fcf8fad1ccd</id>
<content type='text'>
In amd64_edac_init(void) in amd64_edac.c, cache_k8_northbridges() is
called before pci_register_driver. If it fails, should exit with err
directly.

Signed-off-by: Li Hong &lt;lihong.hi@gmail.com&gt;
Acked-by: Doug Thompson &lt;dougthompson@xmission.com&gt;
Signed-off-by: Borislav Petkov &lt;borislav.petkov@amd.com&gt;
</content>
</entry>
<entry>
<title>edac: i5100 fix initialization code</title>
<updated>2009-10-29T14:39:30Z</updated>
<author>
<name>Keith Mannthey</name>
<email>kmannth@us.ibm.com</email>
</author>
<published>2009-10-26T23:50:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c2494ace990c5d37cfe66911b85d28e6945eadfc'/>
<id>urn:sha1:c2494ace990c5d37cfe66911b85d28e6945eadfc</id>
<content type='text'>
Allow csrows to properly initialize when the topology only has active
channels on 2 and 3.  This new check allows proper detection and
initialization in this topology.  Only checking the first mrt that
represented channels 0 and 1 is not sufficient.

I also fixed up the related debug information path.  I can submit as a 2nd
patch if needed.

Signed-off-by: Keith Mannthey &lt;kmannth@us.ibm.com&gt;
Acked-by: Aristeu Rozanski &lt;aris@ruivo.org&gt;
Signed-off-by: Doug Thompson &lt;dougthompson@xmission.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>edac: i5400 fix missing CONFIG_PCI define</title>
<updated>2009-10-29T14:39:30Z</updated>
<author>
<name>Ira W. Snyder</name>
<email>iws@ovro.caltech.edu</email>
</author>
<published>2009-10-26T23:50:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0616fb003d4f799c4be62275242fc7ff9a968f84'/>
<id>urn:sha1:0616fb003d4f799c4be62275242fc7ff9a968f84</id>
<content type='text'>
When building without CONFIG_PCI the edac_pci_idx variable is unused,
causing a build-time warning.  Wrap the variable in #ifdef CONFIG_PCI,
just like the rest of the PCI support.

Signed-off-by: Ira W. Snyder &lt;iws@ovro.caltech.edu&gt;
Signed-off-by: Doug Thompson &lt;dougthompson@xmission.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>edac: i5400 fix csrow mapping</title>
<updated>2009-10-29T14:39:30Z</updated>
<author>
<name>Jeff Roberson</name>
<email>jroberson@jroberson.net</email>
</author>
<published>2009-10-26T23:50:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=156edd4aaa819ec5867ced83c7b8dba9193789ea'/>
<id>urn:sha1:156edd4aaa819ec5867ced83c7b8dba9193789ea</id>
<content type='text'>
The i5400 EDAC driver has several bugs with chip-select row computation
which most likely lead to bugs in detailed error reporting.  Attempts to
contact the authors have gone mostly unanswered so I am presenting my diff
here.  I do not subscribe to lkml and would appreciate being kept in the
cc.

The most egregious problem was miscalculating the addresses of MTR
registers after register 0 by assuming they are 32bit rather than 16.
This caused the driver to miss half of the memories.  Most motherboards
tend to have only 8 dimm slots and not 16, so this may not have been
noticed before.

Further, the row calculations multiplied the number of dimms several
times, ultimately ending up with a maximum row of 32.  The chipset only
supports 4 dimms in each of 4 channels, so csrow could not be higher than
4 unless you use a row per-rank with dual-rank dimms.  I opted to
eliminate this behavior as it is confusing to the user and the error
reporting works by slot and not rank.  This gives a much clearer view of
memory by slot and channel in /sys.

Signed-off-by: Jeff Roberson &lt;jroberson@jroberson.net&gt;
Signed-off-by: Doug Thompson &lt;dougthompson@xmission.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>amd64_edac: fix DRAM base and limit extraction masks, v2</title>
<updated>2009-10-16T16:51:22Z</updated>
<author>
<name>Borislav Petkov</name>
<email>borislav.petkov@amd.com</email>
</author>
<published>2009-10-12T15:23:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4997811e3b9e4d6f37380701894f063c62f14929'/>
<id>urn:sha1:4997811e3b9e4d6f37380701894f063c62f14929</id>
<content type='text'>
This is a proper fix as a follow-up to 66216a7 and 916d11b.

Signed-off-by: Borislav Petkov &lt;borislav.petkov@amd.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip</title>
<updated>2009-10-08T19:06:36Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2009-10-08T19:06:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=624235c5b3a62639136b7823c2c88e4aeb5c5a8d'/>
<id>urn:sha1:624235c5b3a62639136b7823c2c88e4aeb5c5a8d</id>
<content type='text'>
* 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
  x86, pci: Correct spelling in a comment
  x86: Simplify bound checks in the MTRR code
  x86: EDAC: carve out AMD MCE decoding logic
  initcalls: Add early_initcall() for modules
  x86: EDAC: MCE: Fix MCE decoding callback logic
</content>
</entry>
<entry>
<title>amd64_edac: beef up DRAM error injection</title>
<updated>2009-10-07T14:51:28Z</updated>
<author>
<name>Borislav Petkov</name>
<email>borislav.petkov@amd.com</email>
</author>
<published>2009-09-24T09:05:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=94baaee4947d84809b289d5ca03677525ffc6da9'/>
<id>urn:sha1:94baaee4947d84809b289d5ca03677525ffc6da9</id>
<content type='text'>
When injecting DRAM ECC errors (F3xBC_x8), EccVector[15:0] is a bitmask
of which bits should be error injected when written to and holds the
payload of 16-bit DRAM word when read, respectively.

Add /sysfs members to show the DRAM ECC section/word/vector.

Fail wrong injection values entered over /sysfs instead of truncating
them.

Signed-off-by: Borislav Petkov &lt;borislav.petkov@amd.com&gt;
</content>
</entry>
<entry>
<title>amd64_edac: fix DRAM base and limit extraction</title>
<updated>2009-10-07T14:51:15Z</updated>
<author>
<name>Borislav Petkov</name>
<email>borislav.petkov@amd.com</email>
</author>
<published>2009-09-22T14:48:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=66216a7a15e75d517dddd0ac6514924b15071e4c'/>
<id>urn:sha1:66216a7a15e75d517dddd0ac6514924b15071e4c</id>
<content type='text'>
On Fam10h and above, F1x[1, 0][7C:40] are DRAM Base/Limit registers
which specify the destination node of a DRAM address. Those address
boundaries are being extracted into -&gt;dram_base[] and -&gt;dram_limit[].
Correct the extraction masks to match the respective address bits.

Signed-off-by: Borislav Petkov &lt;borislav.petkov@amd.com&gt;
</content>
</entry>
<entry>
<title>amd64_edac: fix chip select handling</title>
<updated>2009-10-07T14:50:50Z</updated>
<author>
<name>Borislav Petkov</name>
<email>borislav.petkov@amd.com</email>
</author>
<published>2009-09-21T12:35:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9d858bb10a9907bbbaffbb4a80a31718d548868c'/>
<id>urn:sha1:9d858bb10a9907bbbaffbb4a80a31718d548868c</id>
<content type='text'>
Different processor families support a different number of chip selects.
Handle this in a family-dependent way with the proper values assigned at
init time (see amd64_set_dct_base_and_mask).

Remove _DCSM_COUNT defines since they're used at one place and originate
from public documentation.

CC: Keith Mannthey &lt;kmannth@us.ibm.com&gt;
Signed-off-by: Borislav Petkov &lt;borislav.petkov@amd.com&gt;
</content>
</entry>
</feed>
