From: Christoph Hellwig <hch@infradead.org>
To: James.Smart@Emulex.Com
Cc: hch@infradead.org, linux-scsi@vger.kernel.org
Subject: Re: [Announce] Emulex lpfcdriver v8.0.12 available
Date: Mon, 18 Oct 2004 21:55:36 +0100 [thread overview]
Message-ID: <20041018205536.GA2302@infradead.org> (raw)
In-Reply-To: <0B1E13B586976742A7599D71A6AC733C08670D@xbl3.ma.emulex.com>
> - slimreg, ctlrreg, and mbox:
> > For slimreg and ctlreg that is true, but I wonder whether
> > they're needed at all. Check how recent X servers access mmio space.
> As mentioned, these should meet your definition and be fine. You asked whether they are needed at all. Given that these are the heart of the adapter message passing interface, and used extensively by the driver - having the user space application use them without the coordination of the driver is asking for trouble. Minimally, the driver's lock over the registers/memory needs to be involved. In some cases, the driver remaps these areas away from pci memory and into driver-allocated dma-mapped memory. The application would have no clue where to locate these. These should stay as is. It is through these interfaces that diagnostics, firmware loading, and the like take place.
And why should userspace mess with the adapter anyway? The older drivers
seem to work very well without that interface. Also note that due to this
interfasce you added really horrible helper functions in the driver.
> - sendrnid and ctpass:
> > The sendrnid and ctpass ones looks extremly fishy, it's
> > certainly not a single value that's read/written, and it's
> > deeply magic (and btw, current->pid is not uniqueue in a
> > multithreaded enviroment)
> These are used to have the application (usually a storage management suite) interact with FC fabrics - performing requests of nameservers, querying for additional node id information, etc. The use is typically to build topology maps of the FC fabric and the devices attached.
If you want this in find a portable and non-broken interface together with
the qlogic, lsi and ibm people.
next prev parent reply other threads:[~2004-10-18 20:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-16 21:50 [Announce] Emulex lpfcdriver v8.0.12 available James.Smart
2004-10-18 20:55 ` Christoph Hellwig [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-10-18 21:34 James.Smart
[not found] <0B1E13B586976742A7599D71A6AC733C08664E@xbl3.ma.emulex.com>
2004-10-02 19:36 ` Olaf Hering
2004-09-21 17:07 James.Smart
2004-09-21 1:34 James.Smart
2004-09-21 12:40 ` Christoph Hellwig
2004-09-21 12:41 ` Christoph Hellwig
2004-09-21 16:56 ` Christoph Hellwig
2004-10-02 16:38 ` Olaf Hering
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=20041018205536.GA2302@infradead.org \
--to=hch@infradead.org \
--cc=James.Smart@Emulex.Com \
--cc=linux-scsi@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).