Skip to content
  • Tejun Heo's avatar
    ahci: ahci: implement workaround for ASUS P5W-DH Deluxe ahci_broken_hardreset(), take #2 · edc93052
    Tejun Heo authored
    P5W-DH Deluxe has ICH9 which doesn't have PMP support but SIMG 4726
    hardwired to the second port of AHCI controller at PCI device 1f.2.
    The 4726 doesn't work as PMP but as a storage processor which can do
    hardware RAID on downstream ports.
    
    When no device is attached to the downstream port of the 4726, pseudo
    ATA device for configuration appears.  Unfortunately, ATA emulation on
    the device is very lousy and causes long hang during boot.
    
    This patch implements workaround for the board.  If the mainboard is
    P5W-DH Deluxe (matched using DMI), only hardreset is used on the
    second port of AHCI controller @ 1f.2 and the hardreset doesn't depend
    on receiving the first FIS and just proceed to IDENTIFY.
    
    This workaround fixes bugzilla #8923.
    
      http://bugzilla.kernel.org/show_bug.cgi?id=8923
    
    
    
    Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    edc93052