public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lin Ming <ming.m.lin@intel.com>
To: Norbert Preining <preining@logic.at>
Cc: "Srivatsa S. Bhat" <srivatsa.bhat@linux.vnet.ibm.com>,
	linux-kernel@vger.kernel.org, jeff@garzik.org,
	Tejun Heo <tj@kernel.org>,
	"stern@rowland.harvard.edu >> Alan Stern"
	<stern@rowland.harvard.edu>,
	linux-ide@vger.kernel.org,
	Linux PM mailing list <linux-pm@vger.kernel.org>,
	"Rafael J. Wysocki" <rjw@sisk.pl>
Subject: Re: Regression 3.2 -> 3.3-rc1 10 sec hang at boot and resume, COMRESET failed
Date: Mon, 06 Feb 2012 09:36:58 +0800	[thread overview]
Message-ID: <1328492218.15079.38.camel@minggr> (raw)
In-Reply-To: <20120206004608.GA9413@gamma.logic.tuwien.ac.at>

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) {





  reply	other threads:[~2012-02-06  1:37 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-02  5:12 Regression 3.2 -> 3.3-rc1 10 sec hang at boot and resume, COMRESET failed Norbert Preining
2012-02-02  8:38 ` Srivatsa S. Bhat
2012-02-03  1:15   ` Lin Ming
2012-02-03  4:21     ` Lin Ming
2012-02-03  5:24       ` Norbert Preining
2012-02-03  5:34         ` Lin Ming
2012-02-03  5:43           ` Norbert Preining
2012-02-03  8:27             ` Lin Ming
2012-02-06  0:46               ` Norbert Preining
2012-02-06  1:36                 ` Lin Ming [this message]
2012-02-06  2:40                   ` Norbert Preining
2012-02-06  2:49                     ` Lin Ming
2012-02-06  3:15                       ` Norbert Preining
2012-02-06  4:42                         ` Lin Ming
2012-02-06 16:19                           ` Tejun Heo
2012-02-06 19:20                             ` Brian Norris
2012-02-06 22:46                               ` Norbert Preining
2012-02-08  9:10                               ` Valdis.Kletnieks
2012-02-13 17:44                               ` Tejun Heo
2012-02-15  5:15                                 ` Brian Norris
2012-02-15 16:57                                   ` Tejun Heo
2012-02-15 18:29                                     ` Jeff Garzik
2012-02-15 18:31                                       ` Tejun Heo
2012-02-15 19:18                                         ` Jeff Garzik
2012-02-15 23:39                                           ` Brian Norris
2012-02-16 16:22                                             ` Jeff Garzik
2012-02-16 14:20                                         ` Mark Lord
2012-02-16 16:19                                           ` Jeff Garzik
2012-02-03  4:29     ` Norbert Preining
2012-02-03  4:29     ` Norbert Preining

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1328492218.15079.38.camel@minggr \
    --to=ming.m.lin@intel.com \
    --cc=jeff@garzik.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=preining@logic.at \
    --cc=rjw@sisk.pl \
    --cc=srivatsa.bhat@linux.vnet.ibm.com \
    --cc=stern@rowland.harvard.edu \
    --cc=tj@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox