From: Tejun Heo <htejun@gmail.com>
To: matthieu castet <castet.matthieu@free.fr>
Cc: alan@lxorguk.ukuu.org.uk, jeff@garzik.org,
linux-ide@vger.kernel.org, akpm@osdl.org
Subject: Re: [RFT PATCH] libata: implement ATA_FLAG_SETXFER_POLLING and use it in pata_via
Date: Wed, 11 Oct 2006 07:09:29 +0900 [thread overview]
Message-ID: <452C1A19.6010607@gmail.com> (raw)
In-Reply-To: <452BEAB7.9010901@free.fr>
matthieu castet wrote:
> matthieu castet wrote:
>> Hi,
>>
>> Sorry for the delay.
>>
>> Tejun Heo wrote:
>>
>>> This patch implements ATA_FLAG_SETXFER_POLLING and use in pata_via.
>>> If this flag is set, transfer mode setting performed by polling not by
>>> interrupt. This should help those controllers which raise interrupt
>>> before the command is actually complete on SETXFER.
>>>
>>> Rationale for this approach.
>>>
>>> * uses existing facility and relatively simple
>>> * no busy sleep in the interrupt handler
>>> * updating drivers is easy
>>>
>>> Signed-off-by: Tejun Heo <htejun@gmail.com>
>>> ---
>>>
>>> Matthieu Castet, can you please test this patch? It's against
>>> libata-dev#upstream, but -mm might work too. If you want a patch
>>> against -mm, just let me know.
>>
>>
>> With the attached patch against 19-rc1-mm1 (I had to remove pata irq
>> handler), it seems to work (see the attached log).
>> * polling IDENTIFY */
>> + ATA_FLAG_SETXFER_POLLING= (1 << 14), /* use polling for SETXFER */
>>
> opps i forgot to change ATA_FLAG_SETXFER_POLLING to
> ATA_FLAG_SETXFER_POLLING (1<<15).
>
> I suppose I need to retest that ?
Yes, you probably need to. Both features must have kicked in.
Thanks.
--
tejun
next prev parent reply other threads:[~2006-10-10 22:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-28 11:11 [RFT PATCH] libata: implement ATA_FLAG_SETXFER_POLLING and use it in pata_via Tejun Heo
2006-09-28 11:25 ` Jeff Garzik
2006-09-29 0:28 ` Tejun Heo
2006-09-28 11:51 ` Alan Cox
2006-10-10 18:45 ` matthieu castet
2006-10-10 18:47 ` matthieu castet
2006-10-10 22:09 ` Tejun Heo [this message]
2006-11-13 20:29 ` matthieu castet
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=452C1A19.6010607@gmail.com \
--to=htejun@gmail.com \
--cc=akpm@osdl.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=castet.matthieu@free.fr \
--cc=jeff@garzik.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.