From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Christoph Hellwig <hch@lst.de>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH 9/16] Supporting of PCI bus for Celleb
Date: Thu, 16 Nov 2006 10:40:43 +1100 [thread overview]
Message-ID: <1163634043.5940.275.camel@localhost.localdomain> (raw)
In-Reply-To: <20061115184328.GD21633@lst.de>
>
> This look broken to me. Busses that do not support config space
> cycles shouldn't be reported to the PCI layer at all.
>
> > +struct pci_ops celleb_fake_pci_ops = {
> > + celleb_fake_pci_read_config,
> > + celleb_fake_pci_write_config
> > +};
>
> What are these fake ops for? If you don't have a real PCI
> bus you shouldn't emulate it but use a vio-style bus insted.
That was discussed with them earlier and we decided that for now
it was ok to do it that way. They are doing like us :-) Except that on
the blade, the PCI is "emulated" for the spider by RTAS and in their
case, they do it explicitely.
With the kernel being able to build the PCI tree from the device-tree,
this isn't really a problem, and that gives them spidernet and usb for
"free" as they already know how to probe PCI devices.
Ben.
next prev parent reply other threads:[~2006-11-15 23:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-15 9:45 [PATCH 9/16] Supporting of PCI bus for Celleb Ishizaki Kou
2006-11-15 18:43 ` Christoph Hellwig
2006-11-15 23:40 ` Benjamin Herrenschmidt [this message]
2006-11-17 10:40 ` Ishizaki Kou
2006-11-17 22:08 ` Arnd Bergmann
2006-11-17 22:20 ` Benjamin Herrenschmidt
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=1163634043.5940.275.camel@localhost.localdomain \
--to=benh@kernel.crashing.org \
--cc=hch@lst.de \
--cc=linuxppc-dev@ozlabs.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.