android_kernel_samsung_msm8976/arch/ia64/sn/kernel
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 shub_mmr.h 2005-06-28 09:37:16 -07:00
bte.c [IA64-SGI] Add new MMR definitions/Modify BTE initialiation&copy. 2005-04-25 13:19:11 -07:00
bte_error.c [IA64-SGI] Shub2 BTE support - BTE recovery code 2005-04-25 13:19:52 -07:00
huberror.c [IA64-SGI] Shub2 BTE support - BTE recovery code 2005-04-25 13:19:52 -07:00
idle.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io_init.c [IA64] Altix pcibus_to_node implementation 2005-07-12 16:12:55 -07:00
iomv.c [IA64-SGI] altix: enable vgacon support 2005-06-28 09:23:04 -07:00
irq.c [IA64] hotplug/ia64: SN Hotplug Driver - SN Hotplug Driver code 2005-07-06 15:29:53 -07:00
klconflib.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
machvec.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [IA64-SGI] SGI Altix cross partition functionality [3/3] 2005-05-03 12:37:19 -07:00
mca.c [IA64] SAL to OS callbacks cannot call sleeping 2005-05-03 13:48:55 -07:00
setup.c [IA64] hotplug/ia64: SN Hotplug Driver - new SN PROM version code 2005-07-06 15:29:13 -07:00
tiocx.c [IA64] remove linux/version.h include from arch/ia64 2005-07-11 09:58:52 -07:00
xp_main.c [IA64-SGI] SGI Altix cross partition functionality (2nd 2005-05-03 12:16:52 -07:00
xp_nofault.S [IA64-SGI] SGI Altix cross partition functionality (2nd 2005-05-03 12:16:52 -07:00
xpc.h [PATCH] gcc4 compile fix for recent ia64 xpc changes 2005-06-25 16:24:25 -07:00
xpc_channel.c [PATCH] gcc4 compile fix for recent ia64 xpc changes 2005-06-25 16:24:25 -07:00
xpc_main.c [IA64] use msleep_interruptible() instead of schedule_timeout 2005-07-11 10:26:40 -07:00
xpc_partition.c [PATCH] gcc4 compile fix for recent ia64 xpc changes 2005-06-25 16:24:25 -07:00
xpnet.c [IA64-SGI] SGI Altix cross partition functionality [3/3] 2005-05-03 12:37:19 -07:00