linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* PCIe enhanced configuration mechanism support on ppc arch
@ 2006-08-17 19:01 Shawn Jin
  0 siblings, 0 replies; 7+ messages in thread
From: Shawn Jin @ 2006-08-17 19:01 UTC (permalink / raw)
  To: ppcdev

Hi,

I'm trying to find out if the current PCI subsystem supports the PCIe
enhanced configuration mechanism, in particular, on the ppc/powerpc
arch, which is basically a MMIO access with the address containing all
bus, device, function, and offset info.

Could someone here give an authoritative answer? Or point me to
somewhere I can look for it by myself, such as which file or directory
in the kernel tree. I searched at arch/ppc/kernel,
arch/powerpc/kernel, and drivers/pci but couldn't find an answer. :(

Thanks,
-Shawn.

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: PCIe enhanced configuration mechanism support on ppc arch
@ 2006-08-30 16:30 Milton Miller
  2006-08-30 18:30 ` Arnd Bergmann
  2006-08-30 23:03 ` Benjamin Herrenschmidt
  0 siblings, 2 replies; 7+ messages in thread
From: Milton Miller @ 2006-08-30 16:30 UTC (permalink / raw)
  To: Shawn Jin; +Cc: linuxppc-dev

On Fri Aug 18 05:01:48 EST 2006, Shawn Jin wrote:
> I'm trying to find out if the current PCI subsystem supports the PCIe
> enhanced configuration mechanism, in particular, on the ppc/powerpc
> arch, which is basically a MMIO access with the address containing all
> bus, device, function, and offset info.

If what you are really trying to find is the 4k extended config space,
then there are some platforms that support that on some slots.

If you are trying to find the mmio address for your adapter, then the
answer is I am not aware of any PowerPC platforms that provide that,
although I am not familiar with the embedded processor platforms nor
the pci express Apple boxes.

> Could someone here give an authoritative answer? Or point me to
> somewhere I can look for it by myself, such as which file or directory
> in the kernel tree. I searched at arch/ppc/kernel,
> arch/powerpc/kernel, and drivers/pci but couldn't find an answer. :(

The config access support is in arch/powerpc/kernel/rtas_pci.c,
the setting of pci_ext_config_space is at arch/powerpc/kernel/pci_dn.c.

milton

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-08-31 21:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-17 19:01 PCIe enhanced configuration mechanism support on ppc arch Shawn Jin
  -- strict thread matches above, loose matches on Subject: below --
2006-08-30 16:30 Milton Miller
2006-08-30 18:30 ` Arnd Bergmann
2006-08-30 23:03 ` Benjamin Herrenschmidt
2006-08-31 10:11   ` Segher Boessenkool
2006-08-31 12:02     ` Benjamin Herrenschmidt
2006-08-31 21:31       ` Segher Boessenkool

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).