On Wed, 2011-06-01 at 16:59 +0900, Greg KH wrote:
> 2.6.38-stable review patch.  If anyone has any objections, please let us know.
> 
> ------------------
> 
> From: James Bottomley <[email protected]>
> 
> commit 9281b16caac1276817b77033c5b8a1f5ca30102c upstream.
> 
> The old IDE cmd64x checks the status of the CNTRL register to see if
> the ports are enabled before probing them.  pata_cmd64x doesn't do
> this, which causes a HPMC on parisc when it tries to poke at the
> secondary port because apparently the BAR isn't wired up (and a
> non-responding piece of memory causes a HPMC).
> 
> Fix this by porting the CNTRL register port detection logic from IDE
> cmd64x.  In addition, following converns from Alan Cox, add a check to
> see if a mobility electronics bridge is the immediate parent and forgo
> the check if it is (prevents problems on hotplug controllers).

This should be applicable to 2.6.32 as well, but you'll need to apply
these first:

commit 89d3b3603bfb648e0113d8682d4f84dd18a776bd
Author: Sergei Shtylyov <[email protected]>
Date:   Tue Nov 24 22:54:49 2009 +0400

    ata: use pci_dev->revision
[Not that important but avoids a textual conflict.]

commit a2bd62207af4be8f5fe815ff90cc309056407829
Author: Bartlomiej Zolnierkiewicz <[email protected]>
Date:   Mon Jan 18 18:14:55 2010 +0100

    pata_cmd64x: fix PIO setup

commit 03a849e6ddb604ff6a220b78637ee8e122ffc796
Author: Bartlomiej Zolnierkiewicz <[email protected]>
Date:   Mon Jan 18 18:15:11 2010 +0100

    pata_cmd64x: cmd648_bmdma_stop() fix

commit c754d9b6e04371fb398cdd2f5e77be895126be20
Author: Bartlomiej Zolnierkiewicz <[email protected]>
Date:   Mon Jan 18 18:15:18 2010 +0100

    pata_cmd64x: remove unused definitions

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to