* [PATCH] libata-dev: recognize WRITE_MULTI_FUA_EXT for r/w multiple
@ 2006-03-03 2:34 Albert Lee
2006-03-03 14:26 ` Mark Lord
2006-03-03 17:22 ` Jeff Garzik
0 siblings, 2 replies; 4+ messages in thread
From: Albert Lee @ 2006-03-03 2:34 UTC (permalink / raw)
To: Jeff Garzik, Linux IDE
Jeff,
Changes:
Recognize ATA_CMD_WRITE_MULTI_FUA_EXT as r/w multiple commands.
Patch against the irq-pio branch
(1ed82ae3df3882bfcb5bfe5e9f97e4e8e23af299).
For your review, thanks.
Albert
Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
---
--- irq-pio/include/linux/ata.h 2006-03-02 15:22:58.000000000 +0800
+++ irq-pio-catchup/include/linux/ata.h 2006-03-02 17:05:17.000000000 +0800
@@ -314,7 +314,8 @@ static inline int is_multi_taskfile(stru
return (tf->command == ATA_CMD_READ_MULTI) ||
(tf->command == ATA_CMD_WRITE_MULTI) ||
(tf->command == ATA_CMD_READ_MULTI_EXT) ||
- (tf->command == ATA_CMD_WRITE_MULTI_EXT);
+ (tf->command == ATA_CMD_WRITE_MULTI_EXT) ||
+ (tf->command == ATA_CMD_WRITE_MULTI_FUA_EXT);
}
static inline int ata_ok(u8 status)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] libata-dev: recognize WRITE_MULTI_FUA_EXT for r/w multiple
2006-03-03 2:34 [PATCH] libata-dev: recognize WRITE_MULTI_FUA_EXT for r/w multiple Albert Lee
@ 2006-03-03 14:26 ` Mark Lord
2006-03-03 14:28 ` Jens Axboe
2006-03-03 17:22 ` Jeff Garzik
1 sibling, 1 reply; 4+ messages in thread
From: Mark Lord @ 2006-03-03 14:26 UTC (permalink / raw)
To: albertl; +Cc: Jeff Garzik, Linux IDE
Albert Lee wrote:
> Jeff,
>
> Changes:
> Recognize ATA_CMD_WRITE_MULTI_FUA_EXT as r/w multiple commands.
This one will require exhaustive testing on various controllers.
There are quite a few PIO boards with FIFOs that "recognize"
opcodes for READs and WRITEs. And practically all of them predate
any concept of FUA commands.
Very VERY risky.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] libata-dev: recognize WRITE_MULTI_FUA_EXT for r/w multiple
2006-03-03 14:26 ` Mark Lord
@ 2006-03-03 14:28 ` Jens Axboe
0 siblings, 0 replies; 4+ messages in thread
From: Jens Axboe @ 2006-03-03 14:28 UTC (permalink / raw)
To: Mark Lord; +Cc: albertl, Jeff Garzik, Linux IDE
On Fri, Mar 03 2006, Mark Lord wrote:
> Albert Lee wrote:
> >Jeff,
> >
> >Changes:
> >Recognize ATA_CMD_WRITE_MULTI_FUA_EXT as r/w multiple commands.
>
> This one will require exhaustive testing on various controllers.
> There are quite a few PIO boards with FIFOs that "recognize"
> opcodes for READs and WRITEs. And practically all of them predate
> any concept of FUA commands.
>
> Very VERY risky.
Which is why it's so annoying and seemingly idiotic that t13 keeps
making up new opcodes for the exact same thing instead of allowing
options bits.
--
Jens Axboe
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] libata-dev: recognize WRITE_MULTI_FUA_EXT for r/w multiple
2006-03-03 2:34 [PATCH] libata-dev: recognize WRITE_MULTI_FUA_EXT for r/w multiple Albert Lee
2006-03-03 14:26 ` Mark Lord
@ 2006-03-03 17:22 ` Jeff Garzik
1 sibling, 0 replies; 4+ messages in thread
From: Jeff Garzik @ 2006-03-03 17:22 UTC (permalink / raw)
To: albertl; +Cc: Linux IDE
Albert Lee wrote:
> Jeff,
>
> Changes:
> Recognize ATA_CMD_WRITE_MULTI_FUA_EXT as r/w multiple commands.
>
> Patch against the irq-pio branch
> (1ed82ae3df3882bfcb5bfe5e9f97e4e8e23af299).
>
> For your review, thanks.
>
> Albert
>
> Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
I would request that you adjust your patch submission slightly. Stuff
like "Jeff," "Changes:", "Patch against...", "For your review", "Albert"
all must be hand-edited out before applying the patch. Everything
before the "---" terminator is copied directly into the kernel changelog.
Take a look at Tejun's recent patches for an example. The message body
of his emailed submissions look like:
[change description]
[signed-off-by]
---
[notes, comments, insults, etc. :)]
> --- irq-pio/include/linux/ata.h 2006-03-02 15:22:58.000000000 +0800
> +++ irq-pio-catchup/include/linux/ata.h 2006-03-02 17:05:17.000000000 +0800
> @@ -314,7 +314,8 @@ static inline int is_multi_taskfile(stru
> return (tf->command == ATA_CMD_READ_MULTI) ||
> (tf->command == ATA_CMD_WRITE_MULTI) ||
> (tf->command == ATA_CMD_READ_MULTI_EXT) ||
> - (tf->command == ATA_CMD_WRITE_MULTI_EXT);
> + (tf->command == ATA_CMD_WRITE_MULTI_EXT) ||
> + (tf->command == ATA_CMD_WRITE_MULTI_FUA_EXT);
Applied to irq-pio branch, though Mark Lord makes a correct point. We
may have to create a whitelist for PATA devices that support FUA, rather
than a blacklist. Something to think about...
Thanks,
Jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-03-03 17:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-03 2:34 [PATCH] libata-dev: recognize WRITE_MULTI_FUA_EXT for r/w multiple Albert Lee
2006-03-03 14:26 ` Mark Lord
2006-03-03 14:28 ` Jens Axboe
2006-03-03 17:22 ` Jeff Garzik
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).