kernel-ark/include/asm-ia64/sn
Christoph Lameter 7c2a6c62c0 [IA64] Altix pcibus_to_node implementation
The Altix subarch does not provide node information via ACPI. Instead hooks
are used to fixup pci structures. This patch determines the nodes for Altix
PCI busses.

Remote Bridges:
---------------
Altix supports remote I/O nodes without memory or processors but with bridges.
The TIOCA type of bridge is an AGP bridge and the PROM provides information
about the closest node. That information will be returned by pcibus_to_node.

The TIOCP remote bridge type is a PCI bridge but the PROM does not provide a
closest node id. pcibus_to_node will return -1 for devices on those bridges
meaning that device control structures may be allocated on any node.

Safeguard:
----------
Should the fixups result in invalid node information for a pci controller then
a warning will be printed and pcibus_to_node will return -1.


This patch also fixes the "FIXME" in sn_dma_alloc_coherent. This means that
dma_alloc_coherent will now use alloc_pages_node to allocate memory local to
the node that the PCI device is connected to.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2005-07-12 16:12:55 -07:00
..
sn2 [IA64] sparse cleanup of TIOCA files 2005-06-28 09:50:48 -07:00
addrs.h [IA64-SGI] Fix TIO IOSPACE MMR Addres 2005-06-28 09:48:53 -07:00
arch.h [IA64] fix generic/up builds 2005-07-06 18:18:10 -07:00
bte.h
clksupport.h
geo.h
intr.h [IA64] hotplug/ia64: SN Hotplug Driver: SN IRQ Fixes 2005-07-06 14:59:44 -07:00
io.h
klconfig.h
l1.h [IA64-SGI] Altix patch to tiocx, add subsys_initcall 2005-06-28 09:53:42 -07:00
leds.h
module.h
mspec.h [PATCH] SN2 XPC build patches 2005-06-21 18:46:18 -07:00
nodepda.h [IA64-SGI] move nodepda pointer out of pda 2005-05-04 10:18:32 -07:00
pcibr_provider.h [IA64] Altix pcibus_to_node implementation 2005-07-12 16:12:55 -07:00
pcibus_provider_defs.h [IA64] Altix pcibus_to_node implementation 2005-07-12 16:12:55 -07:00
pcidev.h [IA64] hotplug/ia64: SN Hotplug Driver - SN Hotplug Driver code 2005-07-06 15:29:53 -07:00
pda.h [IA64-SGI] move nodepda pointer out of pda 2005-05-04 10:18:32 -07:00
pic.h [IA64] hotplug/ia64: SN Hotplug Driver: moving of header files 2005-07-06 15:26:51 -07:00
rw_mmr.h
shub_mmr.h [IA64] sparse cleanup of shub_mmr.h 2005-06-28 09:37:16 -07:00
shubio.h
simulator.h [IA64] remove CONFIG_IA64_SGI_SN_SIM 2005-07-12 14:13:08 -07:00
sn_cpuid.h [IA64] fix generic/up builds 2005-07-06 18:18:10 -07:00
sn_sal.h [IA64] hotplug/ia64: SN Hotplug Driver - new SN PROM version code 2005-07-06 15:29:13 -07:00
tioca_provider.h [IA64] sparse cleanup of TIOCA files 2005-06-28 09:50:48 -07:00
tioca.h
tiocp.h [IA64] hotplug/ia64: SN Hotplug Driver: moving of header files 2005-07-06 15:26:51 -07:00
tiocx.h
types.h
xp.h [IA64] remove linux/version.h include from arch/ia64 2005-07-11 09:58:52 -07:00