From: Arnd Bergmann <arnd@arndb.de>
To: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH 9/16] Supporting of PCI bus for Celleb
Date: Fri, 17 Nov 2006 23:08:44 +0100 [thread overview]
Message-ID: <200611172308.44656.arnd@arndb.de> (raw)
In-Reply-To: <200611171040.kAHAeYGG017561@toshiba.co.jp>
On Friday 17 November 2006 11:40, Ishizaki Kou wrote:
> Hi Christoph-san,
>
> There were some reasons why we made such temporary design:
> - To design a new bus seemed to be large scale development and would
> affect large parts of original powerpc codes.
> - Some existing drivers for celleb device(i.e. spider_net) depends on
> PCI methods.
>
> We think that a new bus type should be defined for IOIFs, as they are
> not PCI, not virtual buses. We did't have enough time to examine what
> kind of method is the best, implement to kernel and then modify device
> drivers..
We are currently in the process of defining similar structures for
the IBM Axon chip, the patches have now been merged in the powerpc.git
tree, but not yet in 2.6.19-rc.
I don't think defining IOIF as the new bus type is the right
approach, it makes more sense to define devices the way they
are connected inside of the chip with an internal bus, e.g. PLB4,
OPC, SiliconBackplane or similar things.
The probing of the devices connected to any of these buses is then
done from of_platform_bus_probe().
> > Struct ioif is a bit too generic, can you give it a better name?
>
> Thank you. kzalloc is safer and simpler.
> This function is now called from setup_arch only. The codes assumes
> some future cases. As struct ioif includes pointer to iommu_table, this
> will be used like pci_dn. (with more member variables.. we think.)
> The name will be struct ioif_dn? (and will include pointer to struct
> device_node)
Please look at the new code that Benjamin Herrenschmidt did in the
current powerpc.git as a reference. I think you don't need a replacement
for pci_dn here.
Arnd <><
next prev parent reply other threads:[~2006-11-17 22:08 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
2006-11-17 10:40 ` Ishizaki Kou
2006-11-17 22:08 ` Arnd Bergmann [this message]
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=200611172308.44656.arnd@arndb.de \
--to=arnd@arndb.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.