From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: Tejun Heo <tj@kernel.org>
Cc: Marc C <marc.ceeeee@gmail.com>, linux-ide@vger.kernel.org
Subject: Re: [PATCH v3 1/3] libata: Populate host-to-device FIS "auxiliary" field
Date: Sun, 11 Aug 2013 01:59:05 +0400 [thread overview]
Message-ID: <5206B7A9.1020802@cogentembedded.com> (raw)
In-Reply-To: <20130809222616.GX20515@mtj.dyndns.org>
Hello.
On 08/10/2013 02:26 AM, Tejun Heo wrote:
>> So why not place it to 'struct ata_queued_cmd' then? If it
>> doesn't really matter where to put it if it serves to describe a
>> command, and additionally will save you some memory?
> Because it's just more churn? Now TF basically matches what goes into
> FIS. Adding aux to qc break that for no good reason (no, 4 bytes
> isn't a good reason).
Funny to remember, when I was just starting my Linux IDE development back
in 2006, I published a patch that added 4-byte field to 'ide_hwif_t' and some
people started complaining about memory waste, so that I had to promise I'd
send a next patch that would remove another 40bte field. Clearly, they didn't
expect an explosion in IDE development that stated happening the next year.
:-) That time however is gone, and I probably can't promise as stable stream
of patches as it was back then, especially given my one-year development
period for the mentioned taskfile patches (which I still can't publish due to
completely unexpected issue guaranteeing several debugging sessions).
>> In x86 world maybe but how much does it help you with the legacy
>> stuff you have to drag around?
>> Tell about AHCI to my embedded customer, Renesas. Remember the
>> most recent sata_rcar driver I have submitted? It's taskfile based
>> (there's also SATA driver we at MontaVista did write but didn't
>> submit). And it's used in their top-notch R-Car SoCs.
> Oh sure, we'll carry the existing ones and there will be new drivers
> for sure. I'm saying that in terms of command protocol and standard,
> it is and has long been a dead end. Nothing can happen there anymore.
> There's no point in putting TF based interface in the center of
> attention.
I still would like it improved regardless how old the issues there are,
I'm just not sure I can do it. Being engaged in the embedded area, I feel more
comfortable with the old stuff than the new, hence my interest.
>>> I don't see why you're getting all passive agressive about it.
>> Don't intimidate me with psychological terms. :-)
> Please adjust your tone then because your original reply was very
> easily escalatable. If you want to escalate things, I'm game but if
> you don't want that, please make that clear too.
No, I don't want to escalate to Linus, if you meant it. I was just feeling
somewhat bitter. However, I would like to hear a clear answer to my question
about the taskfile patches currnetly in the works (although they seem to make
less sence now that the taskfile "purity" is out of question): is there a
chance you apply them or will you reject them as a needless churn?
>>> If you have technical arguments, dish them out.
>> I have. It seems you intentionally ignore them, and reply to
>> non-technical passage only.
> The only concrete thing I got upto this point is saving 4 bytes, which
> is a bit difficult to consider seriously. Other parts, I don't get at
> all. Sure there are TF drivers, but how does adding aux field to TF
> make it worse for them?
Well, it seems I'm just out of arguments at this point. It seems just
aesthetically unpleasing and not right to me to have a field in taskfile which
can't be delivered via the taskfile interface, if you want.
To be honest, I also have a patch that makes the taskfile lose it's 'hob_'
fields, and so the '[result_]tf' variables in the 'struct ata_queued_cmd'
becoming arrays of 2 elements but I was somewhat afraid of publishing it
because it's not exactly a memory saver (and a candidate of being labelled a
pointless churn). Adding the new field to struct ata_taskfile just would make
this patch completely impractical...
> Thanks.
Not at all.
WBR, Sergei
next prev parent reply other threads:[~2013-08-10 21:58 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-09 4:49 [PATCH v3 0/3] Introduce new SATA queued commands Marc C
2013-08-09 4:49 ` [PATCH v3 1/3] libata: Populate host-to-device FIS "auxiliary" field Marc C
2013-08-09 14:03 ` Tejun Heo
2013-08-09 14:36 ` Sergei Shtylyov
2013-08-09 14:53 ` Tejun Heo
2013-08-09 21:39 ` Sergei Shtylyov
2013-08-09 21:51 ` Tejun Heo
2013-08-09 22:17 ` Sergei Shtylyov
2013-08-09 22:26 ` Tejun Heo
2013-08-10 21:59 ` Sergei Shtylyov [this message]
2013-08-12 13:58 ` Tejun Heo
2013-08-09 21:24 ` Sergei Shtylyov
2013-08-09 14:17 ` Sergei Shtylyov
2013-08-09 14:29 ` Sergei Shtylyov
2013-08-09 14:26 ` Sergei Shtylyov
2013-08-09 4:49 ` [PATCH v3 2/3] libata: Add support for SEND/RECEIVE FPDMA QUEUED Marc C
2013-08-09 14:05 ` Tejun Heo
2013-08-10 2:10 ` Marc C
2013-08-09 4:49 ` [PATCH v3 3/3] libata: Add support for queued DSM TRIM Marc C
2013-08-09 14:07 ` Sergei Shtylyov
2013-08-09 14:08 ` Tejun Heo
2013-08-10 2:14 ` Marc C
2013-08-10 15:11 ` Tejun Heo
[not found] <52059FBF.7050303@gmail.com>
2013-08-10 2:06 ` [PATCH v3 1/3] libata: Populate host-to-device FIS "auxiliary" field Marc C
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=5206B7A9.1020802@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=linux-ide@vger.kernel.org \
--cc=marc.ceeeee@gmail.com \
--cc=tj@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.