Patchwork ata: Fix DVD not dectected at some platform with Wellsburg PCH

login
register
mail settings
Submitter Youquan Song
Date July 12, 2013, 1:15 a.m.
Message ID <1373591757-416-1-git-send-email-youquan.song@intel.com>
Download mbox | patch
Permalink /patch/258455/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Youquan Song - July 12, 2013, 1:15 a.m.
There is a patch b55f84e2d527182e7c611d466cd0bb6ddce201de "ata_piix: Fix DVD
 not dectected at some Haswell platforms" to fix an issue of DVD not 
recognized on Haswell Desktop platform with Lynx Point. 
Recently, it is also found the same issue at some platformas with Wellsburg PCH.

So deliver a similar patch to fix it by disables 32bit PIO in IDE mode.

Signed-off-by: Youquan Song <youquan.song@intel.com>
Cc: stable@vger.kernel.org
---
 drivers/ata/ata_piix.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Tejun Heo - July 16, 2013, 11:48 a.m.
On Thu, Jul 11, 2013 at 09:15:57PM -0400, Youquan Song wrote:
> There is a patch b55f84e2d527182e7c611d466cd0bb6ddce201de "ata_piix: Fix DVD
>  not dectected at some Haswell platforms" to fix an issue of DVD not 
> recognized on Haswell Desktop platform with Lynx Point. 
> Recently, it is also found the same issue at some platformas with Wellsburg PCH.
> 
> So deliver a similar patch to fix it by disables 32bit PIO in IDE mode.
> 
> Signed-off-by: Youquan Song <youquan.song@intel.com>
> Cc: stable@vger.kernel.org

Applied to libata/for-3.12.  Thanks!
Tejun Heo - July 16, 2013, 11:53 a.m.
On Tue, Jul 16, 2013 at 05:48:26AM -0600, Tejun Heo wrote:
> On Thu, Jul 11, 2013 at 09:15:57PM -0400, Youquan Song wrote:
> > There is a patch b55f84e2d527182e7c611d466cd0bb6ddce201de "ata_piix: Fix DVD
> >  not dectected at some Haswell platforms" to fix an issue of DVD not 
> > recognized on Haswell Desktop platform with Lynx Point. 
> > Recently, it is also found the same issue at some platformas with Wellsburg PCH.
> > 
> > So deliver a similar patch to fix it by disables 32bit PIO in IDE mode.
> > 
> > Signed-off-by: Youquan Song <youquan.song@intel.com>
> > Cc: stable@vger.kernel.org
> 
> Applied to libata/for-3.12.  Thanks!

Oops, make that libata/for-3.11-fixes.

Patch

diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c
index 9a8a674..424bcbe 100644
--- a/drivers/ata/ata_piix.c
+++ b/drivers/ata/ata_piix.c
@@ -330,7 +330,7 @@  static const struct pci_device_id piix_pci_tbl[] = {
 	/* SATA Controller IDE (Wellsburg) */
 	{ 0x8086, 0x8d00, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_sata_snb },
 	/* SATA Controller IDE (Wellsburg) */
-	{ 0x8086, 0x8d08, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_2port_sata },
+	{ 0x8086, 0x8d08, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_2port_sata_snb },
 	/* SATA Controller IDE (Wellsburg) */
 	{ 0x8086, 0x8d60, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_sata_snb },
 	/* SATA Controller IDE (Wellsburg) */