From: eliezer.tamir@linux.intel.com (Eliezer Tamir)
Subject: [RFC PATCH] nvme: add HW API tags
Date: Tue, 17 Nov 2015 19:08:37 +0200 [thread overview]
Message-ID: <564B5F15.5010700@linux.intel.com> (raw)
In-Reply-To: <20151117150534.GA2604@infradead.org>
On 17/11/2015 17:05, Christoph Hellwig wrote:
> On Tue, Nov 17, 2015@04:48:17PM +0200, Eliezer Tamir wrote:
>> These tags are used by pre-silicon HW testing, marking functions that
>> access the HW. They are defined out for normal driver compilation.
>> (this patch applies to Linus' master)
>
> I don't really think something like this has any business in the driver.
> But if you can explain what you're trying to do we might be able to
> help to archive it in a different way.
HW validation would like to use parts of the real Linux driver to
exercise the HW, instead of writing their own driver.
This is a very custom environment (not a full OS) and the code needs to
be preprocessed for it. The hwapi tag tells our preprocessor which
functions must be left in.
We thought that this would be less intrusive than moving the code to a
separate file, which would force some unneeded changes to the code.
Thanks,
Eliezer
next prev parent reply other threads:[~2015-11-17 17:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-17 14:48 [RFC PATCH] nvme: add HW API tags Eliezer Tamir
2015-11-17 15:05 ` Christoph Hellwig
2015-11-17 17:08 ` Eliezer Tamir [this message]
2015-11-18 13:55 ` Christoph Hellwig
2015-11-20 13:04 ` Eliezer Tamir
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=564B5F15.5010700@linux.intel.com \
--to=eliezer.tamir@linux.intel.com \
/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).