lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 06 Feb 2012 09:36:58 +0800
From:	Lin Ming <ming.m.lin@...el.com>
To:	Norbert Preining <preining@...ic.at>
Cc:	"Srivatsa S. Bhat" <srivatsa.bhat@...ux.vnet.ibm.com>,
	linux-kernel@...r.kernel.org, jeff@...zik.org,
	Tejun Heo <tj@...nel.org>,
	"stern@...land.harvard.edu >> Alan Stern" <stern@...land.harvard.edu>,
	linux-ide@...r.kernel.org,
	Linux PM mailing list <linux-pm@...r.kernel.org>,
	"Rafael J. Wysocki" <rjw@...k.pl>
Subject: Re: Regression 3.2 -> 3.3-rc1 10 sec hang at boot and resume,
 COMRESET failed

On Mon, 2012-02-06 at 09:46 +0900, Norbert Preining wrote:
> Hi Lin,
> 
> 
> sorry for the delay, weekend I was off ...
> 
> On Fr, 03 Feb 2012, Lin Ming wrote:
> > > Confirmed. Reverted 7faa33da9b7 on top of 6c073a7ee250 made
> > > the boot delay go away. dmesg from this boot attached.
> > 
> > Dig into the code, but I can't find where the problem is.
> > 
> > Anyway, does below DEBUG patch help?
> > Let's always stop the engine during hard reset.
> 
> If you meant: 
>   "Try that patch on top of HEAD *without* reverting 7faa33da9b7?"
> then I can report that it does NOT help. With *only* this patch I still
> get 10sec delay, and otherwise nothing changes.

Does below help?

diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c
index a72bfd0..33f7333 100644
--- a/drivers/ata/libahci.c
+++ b/drivers/ata/libahci.c
@@ -746,6 +746,9 @@ static void ahci_start_port(struct ata_port *ap)
 	/* enable FIS reception */
 	ahci_start_fis_rx(ap);
 
+	/* enable DMA */
+	ahci_start_engine(ap);
+
 	/* turn on LEDs */
 	if (ap->flags & ATA_FLAG_EM) {
 		ata_for_each_link(link, ap, EDGE) {




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists