linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "J.A. Magallón" <jamagallon@ono.com>
To: Jeff Garzik <jeff@garzik.org>,
	Linux-Kernel <linux-kernel@vger.kernel.org>,
	Linus-IDE <linux-ide@vger.kernel.org>
Subject: Re: [PATCH] Re: [git patches] libata updates - (improve post-reset device ready test) regression
Date: Thu, 8 May 2008 23:43:00 +0200	[thread overview]
Message-ID: <20080508234300.3c2a38af@werewolf.home> (raw)
In-Reply-To: <48231DAF.7070900@garzik.org>

On Thu, 08 May 2008 11:35:11 -0400, Jeff Garzik <jeff@garzik.org> wrote:

> Markus Trippelsdorf wrote:
> >> Tejun Heo (12):
> >>       libata: improve post-reset device ready test
> > 
> > This commit (78ab88f04f44bed566d51dce0c7cbfeff6449a06) causes a long
> > boot delay with my onboard Promise controller. It seems like libata
> > probes for a nonexisting PATA drive...
> > 

I also had this patch collected from LKML, that still applies to -git6.
Is it really needed ?
ref: http://marc.info/?l=linux-ide&m=120913178617926&w=2

TIA

--- upstream/drivers/ata/libata-eh.c	2008-04-30 17:35:36.000000000 -0400
+++ linux/drivers/ata/libata-eh.c	2008-04-30 17:35:45.000000000 -0400
@@ -1312,8 +1312,7 @@
 		err_mask |= AC_ERR_ATA_BUS;
 		action |= ATA_EH_RESET;
 	}
-	if (serror &
-	    (SERR_DATA_RECOVERED | SERR_COMM_RECOVERED | SERR_DATA)) {
+	if (serror & (SERR_DATA_RECOVERED | SERR_DATA)) {
 		err_mask |= AC_ERR_ATA_BUS;
 		action |= ATA_EH_RESET;
 	}
@@ -1924,7 +1923,7 @@
 	}
 
 	if (ehc->i.serror)
-		ata_port_printk(ap, KERN_ERR,
+		ata_link_printk(link, KERN_ERR,
 		  "SError: { %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s}\n",
 		  ehc->i.serror & SERR_DATA_RECOVERED ? "RecovData " : "",
 		  ehc->i.serror & SERR_COMM_RECOVERED ? "RecovComm " : "",

-- 
J.A. Magallon <jamagallon()ono!com>     \               Software is like sex:
                                         \         It's better when it's free
Mandriva Linux release 2008.1 (Cooker) for i586
Linux 2.6.23-jam05 (gcc 4.2.2 20071128 (4.2.2-2mdv2008.1)) SMP PREEMPT

  parent reply	other threads:[~2008-05-08 21:43 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-06 15:48 [git patches] libata updates Jeff Garzik
2008-05-06 16:23 ` Linus Torvalds
2008-05-07 14:56 ` [git patches] libata updates - (improve post-reset device ready test) regression Markus Trippelsdorf
2008-05-07 16:35   ` Takashi Iwai
2008-05-08  3:13     ` Marc Dionne
2008-05-08  9:45     ` Jan-Simon Möller
2008-05-08 15:35   ` [PATCH] " Jeff Garzik
2008-05-08 16:05     ` Takashi Iwai
2008-05-08 16:18       ` Markus Trippelsdorf
2008-05-08 17:40         ` Alexey Fisher
2008-05-08 19:21         ` Hugh Dickins
2008-05-08 21:43     ` J.A. Magallón [this message]
2008-05-09 14:54       ` Mark Lord
2008-05-08 21:51     ` Marc Dionne
2008-05-09  2:57     ` Tejun Heo
2008-05-09  3:01       ` Tejun Heo
2008-05-09  4:27         ` Justin Mattock
2008-05-09  3:43       ` Justin Mattock
2008-05-09  4:37       ` Jeff Garzik
2008-05-10  6:34         ` Tejun Heo
2008-05-09  5:09       ` Alexey Fisher
2008-05-09 10:59       ` Marc Dionne

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=20080508234300.3c2a38af@werewolf.home \
    --to=jamagallon@ono.com \
    --cc=jeff@garzik.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.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;
as well as URLs for NNTP newsgroup(s).