All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Wilcox <matthew@wil.cx>
To: James.Smart@Emulex.Com
Cc: hch@infradead.org, linux-scsi@vger.kernel.org
Subject: Re: [PATCH 7/11]  lpfc 8.1.1 : Add support for more members of the Light Pulse 11xxx (4Gb) family
Date: Mon, 12 Dec 2005 10:12:44 -0700	[thread overview]
Message-ID: <20051212171244.GE9286@parisc-linux.org> (raw)
In-Reply-To: <20051128174936.GD13338@parisc-linux.org>

On Mon, Nov 28, 2005 at 10:49:36AM -0700, Matthew Wilcox wrote:
> On Mon, Nov 28, 2005 at 12:08:46PM -0500, James.Smart@Emulex.Com wrote:
> > Please note: there will be 2 other areas where we will still be accessing
> > config space:
> >   - We need the bar value, as the hardware sees it, to program a base
> >     address it can decode to keep ring accesses on-chip. The current pci
> >     infrastructure doesn't provide this. (we've talked about this on this
> >     reflector before).
> 
> sym2 has the same need for pretty much the same reason.  It has a
> private function called pci_get_base_address() right now.  I believe the
> correct thing to do (but haven't got round to trying it yet) is to call
> pcibios_resource_to_bus().

Done, and tested on ia64 and parisc.  Here's the patch that does it for
sym2, hopefully your code will be similar:

http://hera.kernel.org/git/?p=linux/kernel/git/willy/sym2.git;a=blobdiff;h=e6ff89a8524c74f93971715a762b8c64d18176e1;hp=ec9d93aa160d89a256aee7e92b17493205149fca;hb=b5d641b0098e2ae2263f6fa8f24fa18fcbe831ef;f=drivers/scsi/sym53c8xx_2/sym_glue.c

> >   - If we reset the card, there were hardware-isms that may erroneously
> >     drive perr/serr. So, we need to temporarily turn them off while we
> >     reset. (I believe we went through this as well on this list early on).
> 
> That's certainly a reasonable need.

I wonder if it's functionality that should be provided by the PCI layer.
I don't think yours is the only card with this issue.

  reply	other threads:[~2005-12-12 17:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-28 17:08 [PATCH 7/11] lpfc 8.1.1 : Add support for more members of the Light Pulse 11xxx (4Gb) family James.Smart
2005-11-28 17:49 ` Matthew Wilcox
2005-12-12 17:12   ` Matthew Wilcox [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-11-28 16:42 James.Smart
2005-11-28 16:51 ` Christoph Hellwig

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=20051212171244.GE9286@parisc-linux.org \
    --to=matthew@wil.cx \
    --cc=James.Smart@Emulex.Com \
    --cc=hch@infradead.org \
    --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 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.