<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/edac, branch linux-2.6.25.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>edac cell: fix incorrect edac_mode</title>
<updated>2008-11-10T18:50:05+00:00</updated>
<author>
<name>Benjamin Herrenschmidt</name>
<email>benh@kernel.crashing.org</email>
</author>
<published>2008-10-20T16:50:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=e978d59c81b564ae8b213dd32624fc01ce4adacb'/>
<id>e978d59c81b564ae8b213dd32624fc01ce4adacb</id>
<content type='text'>
commit 3b274f44d2ca05f719fe39947b6a5293a2dbd8fd upstream

The cell_edac driver is setting the edac_mode field of the csrow's to an
incorrect value, causing the sysfs show routine for that field to go out
of an array bound and Oopsing the kernel when used.

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.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;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 3b274f44d2ca05f719fe39947b6a5293a2dbd8fd upstream

The cell_edac driver is setting the edac_mode field of the csrow's to an
incorrect value, causing the sysfs show routine for that field to go out
of an array bound and Oopsing the kernel when used.

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.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;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/edac/i3000: document type promotion</title>
<updated>2008-02-07T16:42:23+00:00</updated>
<author>
<name>Jason Uhlenkott</name>
<email>juhlenko@akamai.com</email>
</author>
<published>2008-02-07T08:15:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=870897a5ab60a6afeba0a7eff42d21faf79edf33'/>
<id>870897a5ab60a6afeba0a7eff42d21faf79edf33</id>
<content type='text'>
By popular request, add a comment documenting the implicit type promotion
here.

Signed-off-by: Jason Uhlenkott &lt;juhlenko@akamai.com&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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By popular request, add a comment documenting the implicit type promotion
here.

Signed-off-by: Jason Uhlenkott &lt;juhlenko@akamai.com&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;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/edac: i3000: missing init code</title>
<updated>2008-02-07T16:42:23+00:00</updated>
<author>
<name>Hitoshi Mitake</name>
<email>h.mitake@gmail.com</email>
</author>
<published>2008-02-07T08:15:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=7ed31e0fa0e595a8840dbb6c60a7207b5bd90333'/>
<id>7ed31e0fa0e595a8840dbb6c60a7207b5bd90333</id>
<content type='text'>
There is a missing sequence of initialization code during startup.

Signed-off-by: Hitoshi Mitake &lt;h.mitake@gmail.com&gt;
Signed-off-by: Jason Uhlenkott &lt;juhlenko@akamai.com&gt;
Signed-off-by: Doug Thompson &lt;dougthompson@xmisson.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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is a missing sequence of initialization code during startup.

Signed-off-by: Hitoshi Mitake &lt;h.mitake@gmail.com&gt;
Signed-off-by: Jason Uhlenkott &lt;juhlenko@akamai.com&gt;
Signed-off-by: Doug Thompson &lt;dougthompson@xmisson.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/edac: mpc85xx: add static scope</title>
<updated>2008-02-07T16:42:23+00:00</updated>
<author>
<name>Doug Thompson</name>
<email>dougthompson@xmission.com</email>
</author>
<published>2008-02-07T08:15:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=cd4755c2a9e691ada331084a76ac4458c4ff2749'/>
<id>cd4755c2a9e691ada331084a76ac4458c4ff2749</id>
<content type='text'>
Made a previous global variable, static in scope

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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Made a previous global variable, static in scope

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;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/edac: i3000: 64bit build</title>
<updated>2008-02-07T16:42:23+00:00</updated>
<author>
<name>Jason Uhlenkott</name>
<email>juhlenko@akamai.com</email>
</author>
<published>2008-02-07T08:15:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=f5c0454c865487822d030a820062c6c8f1565c5c'/>
<id>f5c0454c865487822d030a820062c6c8f1565c5c</id>
<content type='text'>
Modified to run on x86_64 as well as x86

i3000_edac builds (and runs) fine on x86_64.

Signed-off-by: Jason Uhlenkott &lt;juhlenko@akamai.com&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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Modified to run on x86_64 as well as x86

i3000_edac builds (and runs) fine on x86_64.

Signed-off-by: Jason Uhlenkott &lt;juhlenko@akamai.com&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;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/edac: pci: broken parity regression</title>
<updated>2008-02-07T16:42:23+00:00</updated>
<author>
<name>Bryan Boatright</name>
<email>b1@omega71.com</email>
</author>
<published>2008-02-07T08:14:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=6b09ff9d787911b0b46a4d286e68f1f84e8b0b94'/>
<id>6b09ff9d787911b0b46a4d286e68f1f84e8b0b94</id>
<content type='text'>
Using the EDAC code in kernel.org kernel version 2.6.23.8 I am seeing the
following problem:

    In the kernel there is a pci device attribute located in sysfs that is
    checked by the EDAC PCI scanning code. If that attribute is set,
    PCI parity/error scannining is skipped for that device. The attribute
    is:

            broken_parity_status

    as is located in /sys/devices/pci&lt;XXX&gt;/0000:XX:YY.Z directorys for
    PCI devices.

I don't think this check was actually implemented.  I have a misbehaved card
that reports a parity error every 1000 ms:

Nov 25 07:28:43 beta kernel: EDAC PCI: Master Data Parity Error on 0000:05:01.0
Nov 25 07:28:44 beta kernel: EDAC PCI: Master Data Parity Error on 0000:05:01.0
Nov 25 07:28:45 beta kernel: EDAC PCI: Master Data Parity Error on 0000:05:01.0

Setting that card's broken_parity_status bit did not mask the error:

echo "1" &gt; /sys/bus/pci/devices/0000:05:01.0/broken_parity_status

I looked through the EDAC code and did not readily see any reference to
broken_parity_status at all (which makes sense based on the behavior I am
seeing).  I applied the following patch as a proof-of-concept and now EDAC's
PCI parity error reporting behaves as documented:

bryan

Good regression find, bryan. It used to work. sigh.
I added more logic to your patch, for more coverage of the error.

Doug T

Signed-off-by: Bryan Boatright &lt;b1@omega71.com&gt;
Signed-off-by: Doug Thompson &lt;dougthompson@xmisson.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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using the EDAC code in kernel.org kernel version 2.6.23.8 I am seeing the
following problem:

    In the kernel there is a pci device attribute located in sysfs that is
    checked by the EDAC PCI scanning code. If that attribute is set,
    PCI parity/error scannining is skipped for that device. The attribute
    is:

            broken_parity_status

    as is located in /sys/devices/pci&lt;XXX&gt;/0000:XX:YY.Z directorys for
    PCI devices.

I don't think this check was actually implemented.  I have a misbehaved card
that reports a parity error every 1000 ms:

Nov 25 07:28:43 beta kernel: EDAC PCI: Master Data Parity Error on 0000:05:01.0
Nov 25 07:28:44 beta kernel: EDAC PCI: Master Data Parity Error on 0000:05:01.0
Nov 25 07:28:45 beta kernel: EDAC PCI: Master Data Parity Error on 0000:05:01.0

Setting that card's broken_parity_status bit did not mask the error:

echo "1" &gt; /sys/bus/pci/devices/0000:05:01.0/broken_parity_status

I looked through the EDAC code and did not readily see any reference to
broken_parity_status at all (which makes sense based on the behavior I am
seeing).  I applied the following patch as a proof-of-concept and now EDAC's
PCI parity error reporting behaves as documented:

bryan

Good regression find, bryan. It used to work. sigh.
I added more logic to your patch, for more coverage of the error.

Doug T

Signed-off-by: Bryan Boatright &lt;b1@omega71.com&gt;
Signed-off-by: Doug Thompson &lt;dougthompson@xmisson.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers-edac: add marvell mv64x60 driver</title>
<updated>2008-02-07T16:42:23+00:00</updated>
<author>
<name>Dave Jiang</name>
<email>djiang@mvista.com</email>
</author>
<published>2008-02-07T08:14:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=4f4aeeabc061826376c9a72b4714d062664999ea'/>
<id>4f4aeeabc061826376c9a72b4714d062664999ea</id>
<content type='text'>
Marvell mv64x60 SoC support for EDAC.  Used on PPC and MIPS platforms.
Development and testing done on PPC Motorola prpmc2800 ATCA board.

[akpm@linux-foundation.org: make mv64x60_ctl_name static]
Signed-off-by: Dave Jiang &lt;djiang@mvista.com&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk
Signed-off-by: Douglas 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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Marvell mv64x60 SoC support for EDAC.  Used on PPC and MIPS platforms.
Development and testing done on PPC Motorola prpmc2800 ATCA board.

[akpm@linux-foundation.org: make mv64x60_ctl_name static]
Signed-off-by: Dave Jiang &lt;djiang@mvista.com&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk
Signed-off-by: Douglas 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;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers-edac: add freescale mpc85xx driver</title>
<updated>2008-02-07T16:42:23+00:00</updated>
<author>
<name>Dave Jiang</name>
<email>djiang@mvista.com</email>
</author>
<published>2008-02-07T08:14:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=a9a753d53204bf0f42841f65679c7e1711833bcf'/>
<id>a9a753d53204bf0f42841f65679c7e1711833bcf</id>
<content type='text'>
EDAC chip driver support for Freescale MPC85xx platforms. PPC based.

Signed-off-by: Dave Jiang &lt;djiang@mvista.com&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk
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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
EDAC chip driver support for Freescale MPC85xx platforms. PPC based.

Signed-off-by: Dave Jiang &lt;djiang@mvista.com&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers-edac: i3000 replace macros with functions</title>
<updated>2008-02-07T16:42:23+00:00</updated>
<author>
<name>Jason Uhlenkott</name>
<email>juhlenko@akamai.com</email>
</author>
<published>2008-02-07T08:14:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=4d2b165eca960ae12767a6334c51416dca45756c'/>
<id>4d2b165eca960ae12767a6334c51416dca45756c</id>
<content type='text'>
Replace function-like macros with functions.

Signed-off-by: Jason Uhlenkott &lt;juhlenko@akamai.com&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk
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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace function-like macros with functions.

Signed-off-by: Jason Uhlenkott &lt;juhlenko@akamai.com&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers-edac: i3000 code tidying</title>
<updated>2008-02-07T16:42:23+00:00</updated>
<author>
<name>Jason Uhlenkott</name>
<email>juhlenko@akamai.com</email>
</author>
<published>2008-02-07T08:14:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=ce783d70b95416725e262866f5b11436f35f68a9'/>
<id>ce783d70b95416725e262866f5b11436f35f68a9</id>
<content type='text'>
Style cleanup, mostly just 80-column fixes.

Signed-off-by: Jason Uhlenkott &lt;juhlenko@akamai.com&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk
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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Style cleanup, mostly just 80-column fixes.

Signed-off-by: Jason Uhlenkott &lt;juhlenko@akamai.com&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk
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;
</pre>
</div>
</content>
</entry>
</feed>
