* [PATCH 1/4] celleb: fix supporting for multiple pci domains
@ 2007-05-09 7:34 Ishizaki Kou
2007-05-09 7:50 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 3+ messages in thread
From: Ishizaki Kou @ 2007-05-09 7:34 UTC (permalink / raw)
To: paulus; +Cc: linuxppc-dev
Celleb has multiple PCI host bridges (phbs). Previous boot logic gives
non-overlapped bus IDs between PCI host bridges so you can identify
PHB by bus ID. But newer boot logic gives same bus ID between PHBs (it
gives bus ID 0 as root bus.) So we have to set 'phb->buid' as
non-zero.
Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
---
Index: linux-powerpc-git/arch/powerpc/platforms/celleb/pci.c
diff -u linux-powerpc-git/arch/powerpc/platforms/celleb/pci.c:1.1.1.3 linux-powerpc-git/arch/powerpc/platforms/celleb/pci.c:1.25.2.2
--- linux-powerpc-git/arch/powerpc/platforms/celleb/pci.c:1.1.1.3 Wed Apr 18 13:53:48 2007
+++ linux-powerpc-git/arch/powerpc/platforms/celleb/pci.c Tue May 8 14:20:03 2007
@@ -457,6 +457,7 @@
pr_debug("PCI: celleb_setup_phb() %s\n", name);
phb_set_bus_ranges(dev, phb);
+ phb->buid = 1;
if (strcmp(name, "epci") == 0) {
phb->ops = &celleb_epci_ops;
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/4] celleb: fix supporting for multiple pci domains
2007-05-09 7:34 [PATCH 1/4] celleb: fix supporting for multiple pci domains Ishizaki Kou
@ 2007-05-09 7:50 ` Benjamin Herrenschmidt
2007-05-10 7:14 ` Ishizaki Kou
0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Herrenschmidt @ 2007-05-09 7:50 UTC (permalink / raw)
To: Ishizaki Kou; +Cc: linuxppc-dev, paulus
On Wed, 2007-05-09 at 16:34 +0900, Ishizaki Kou wrote:
> Celleb has multiple PCI host bridges (phbs). Previous boot logic gives
> non-overlapped bus IDs between PCI host bridges so you can identify
> PHB by bus ID. But newer boot logic gives same bus ID between PHBs (it
> gives bus ID 0 as root bus.) So we have to set 'phb->buid' as
> non-zero.
Shouldn't you obtain it from the device-tree ?
Ben.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/4] celleb: fix supporting for multiple pci domains
2007-05-09 7:50 ` Benjamin Herrenschmidt
@ 2007-05-10 7:14 ` Ishizaki Kou
0 siblings, 0 replies; 3+ messages in thread
From: Ishizaki Kou @ 2007-05-10 7:14 UTC (permalink / raw)
To: benh; +Cc: linuxppc-dev, paulus
Ben-san,
> > Celleb has multiple PCI host bridges (phbs). Previous boot logic
gives
> > non-overlapped bus IDs between PCI host bridges so you can identify
> > PHB by bus ID. But newer boot logic gives same bus ID between PHBs
(it
> > gives bus ID 0 as root bus.) So we have to set 'phb->buid' as
> > non-zero.
>
> Shouldn't you obtain it from the device-tree ?
With 'Celleb', we don't have 'buid' in the device-tree, because neither
hypervisor calls nor RTAS subsystem uses 'buid.' So we didn't choose
to obtain 'buid' from the device-tree.
Best regards,
Kou Ishizaki
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-05-10 7:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-09 7:34 [PATCH 1/4] celleb: fix supporting for multiple pci domains Ishizaki Kou
2007-05-09 7:50 ` Benjamin Herrenschmidt
2007-05-10 7:14 ` Ishizaki Kou
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).