linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: matthieu castet <castet.matthieu@free.fr>
Cc: Tejun Heo <htejun@gmail.com>,
	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: Tue, 10 Oct 2006 20:47:19 +0200	[thread overview]
Message-ID: <452BEAB7.9010901@free.fr> (raw)
In-Reply-To: <452BEA3D.4020204@free.fr>

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 ?


Matthieu

  reply	other threads:[~2006-10-10 18:46 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 [this message]
2006-10-10 22:09     ` Tejun Heo
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=452BEAB7.9010901@free.fr \
    --to=castet.matthieu@free.fr \
    --cc=akpm@osdl.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=htejun@gmail.com \
    --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 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).