From: Randy Vinson <hidden> Date: 2007-07-20 18:56:57
From cf18185b4e201ff45f2e2a948103dd3dc088c046 Mon Sep 17 00:00:00 2001
From: Randy Vinson <redacted>
Date: Thu, 19 Jul 2007 10:40:53 -0700
Subject: [PATCH] 85xxCDS: Misc 8548 PCI Corrections.
Setting the host bridge @8000 as primary and only calling setup_pci_atmu
for the PCI Express host bridge. Also fixing a bug in setting the USB
interrupt numbers.
Signed-off-by: Randy Vinson <redacted>
---
arch/powerpc/platforms/85xx/mpc85xx_cds.c | 8 ++++----
arch/powerpc/sysdev/fsl_pci.c | 3 ++-
2 files changed, 6 insertions(+), 5 deletions(-)
@@ -114,7 +114,7 @@ static void __init mpc85xx_cds_pci_irq_fixup(struct pci_dev *dev)/* There are two USB controllers.*Identifythembyfunctonnumber*/-if(PCI_FUNC(dev->devfn))+if(PCI_FUNC(dev->devfn)==3)dev->irq=11;elsedev->irq=10;
From: Kumar Gala <hidden> Date: 2007-07-20 21:11:57
On Jul 20, 2007, at 1:56 PM, Randy Vinson wrote:
quoted
From cf18185b4e201ff45f2e2a948103dd3dc088c046 Mon Sep 17 00:00:00
2001
From: Randy Vinson <redacted>
Date: Thu, 19 Jul 2007 10:40:53 -0700
Subject: [PATCH] 85xxCDS: Misc 8548 PCI Corrections.
Setting the host bridge @8000 as primary and only calling
setup_pci_atmu
for the PCI Express host bridge. Also fixing a bug in setting the USB
interrupt numbers.
What issue exists with calling setup_pci_atmu on normal PCI?
- k
From: Randy Vinson <hidden> Date: 2007-07-20 22:14:42
Kumar Gala wrote:
On Jul 20, 2007, at 1:56 PM, Randy Vinson wrote:
quoted
quoted
From cf18185b4e201ff45f2e2a948103dd3dc088c046 Mon Sep 17 00:00:00 2001
From: Randy Vinson <redacted>
Date: Thu, 19 Jul 2007 10:40:53 -0700
Subject: [PATCH] 85xxCDS: Misc 8548 PCI Corrections.
Setting the host bridge @8000 as primary and only calling setup_pci_atmu
for the PCI Express host bridge. Also fixing a bug in setting the USB
interrupt numbers.
What issue exists with calling setup_pci_atmu on normal PCI?
At one point, it caused problems with the primary PCI controller, but I
just tried it without the exclusion and it was OK. I'm wondering if my
original problem was due to a buggy DTS file.
I'll remove that part of the patch and resubmit.
Randy Vinson
@@ -114,7 +114,7 @@ static void __init mpc85xx_cds_pci_irq_fixup(struct pci_dev *dev)/* There are two USB controllers.*Identifythembyfunctonnumber*/-if(PCI_FUNC(dev->devfn))+if(PCI_FUNC(dev->devfn)==3)dev->irq=11;elsedev->irq=10;
Why this is needed?
For pcie@a000, fsl_add_bridge(np, 0)?
The old version of the code would call fsl_add_bridge(np, 1) for the
host bridges @8000 and @a000. When I tried it that way, it didn't work.
I don't think you can have 2 primary bridges.
Randy V.
From: Randy Vinson [mailto:rvinson@mvista.com]
I don't think you can have 2 primary bridges.
Why?
They belong to two separate pci domain.
PCI host bridge == PCI domain
A PHB canhave multiple buses, but only one PHB can be
the primary one, which is defined as being the one
that can hold ISA device. The problem is that ISA does
not support multiple domains, so all devices with
well-known ISA I/O port addresses have to be on the
same PHB.
Arnd <><