From: Tejun Heo <tj@kernel.org>
To: Jan Beulich <JBeulich@novell.com>
Cc: Jeff Garzik <jeff@garzik.org>,
jgarzik@redhat.com, linux-ide@vger.kernel.org
Subject: Re: sata_sil boot failure with 2.6.35
Date: Tue, 24 Aug 2010 15:52:10 +0200 [thread overview]
Message-ID: <4C73CE8A.406@kernel.org> (raw)
In-Reply-To: <4C72B4250200007800011998@vpn.id2.novell.com>
Hello,
On 08/23/2010 05:47 PM, Jan Beulich wrote:
>>>> On 23.08.10 at 15:58, Tejun Heo <tj@kernel.org> wrote:
>> ata1: ST-ATA: DRQ=0 without device error, dev_stat 0x50
>>
>> which is _really_ weird. Hmmm... can you please apply the following
>> patch and see whether anything changes?
>
> No difference, but log attached again just in case.
I can't reproduce the problem w/ my 3114 and unfortunately I don't
have a 3112 or 3512 around. :-(
The only thing I can think of is the following. Can you please try
this one? If this one fails, we might have to resort to bisecting.
It's very weird. The sff common code is used by other controllers but
until now the problem is only being reported on sata_sil.
Thanks.
diff --git a/drivers/ata/sata_sil.c b/drivers/ata/sata_sil.c
index 3cb69d5..35bd5cc 100644
--- a/drivers/ata/sata_sil.c
+++ b/drivers/ata/sata_sil.c
@@ -565,19 +565,6 @@ static void sil_freeze(struct ata_port *ap)
tmp |= SIL_MASK_IDE0_INT << ap->port_no;
writel(tmp, mmio_base + SIL_SYSCFG);
readl(mmio_base + SIL_SYSCFG); /* flush */
-
- /* Ensure DMA_ENABLE is off.
- *
- * This is because the controller will not give us access to the
- * taskfile registers while a DMA is in progress
- */
- iowrite8(ioread8(ap->ioaddr.bmdma_addr) & ~SIL_DMA_ENABLE,
- ap->ioaddr.bmdma_addr);
-
- /* According to ata_bmdma_stop, an HDMA transition requires
- * on PIO cycle. But we can't read a taskfile register.
- */
- ioread8(ap->ioaddr.bmdma_addr);
}
static void sil_thaw(struct ata_port *ap)
--
tejun
next prev parent reply other threads:[~2010-08-24 13:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-20 16:24 sata_sil boot failure with 2.6.35 Jan Beulich
2010-08-20 19:22 ` Jeff Garzik
2010-08-23 10:28 ` Tejun Heo
2010-08-23 12:57 ` Jan Beulich
2010-08-23 13:58 ` Tejun Heo
2010-08-23 15:47 ` Jan Beulich
2010-08-24 13:52 ` Tejun Heo [this message]
2010-08-24 15:17 ` Jan Beulich
2010-08-24 15:16 ` Tejun Heo
2010-08-25 8:20 ` Jan Beulich
2010-08-30 13:39 ` Tejun Heo
2010-08-30 13:42 ` Tejun Heo
2010-08-31 15:22 ` Jan Beulich
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=4C73CE8A.406@kernel.org \
--to=tj@kernel.org \
--cc=JBeulich@novell.com \
--cc=jeff@garzik.org \
--cc=jgarzik@redhat.com \
--cc=linux-ide@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).