]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
fsl/mpic: Create and document the "single-cpu-affinity" device-tree flag
authorKyle Moffett <Kyle.D.Moffett@boeing.com>
Thu, 22 Dec 2011 10:19:11 +0000 (10:19 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 22 Feb 2012 23:49:59 +0000 (10:49 +1100)
commit9ca163c8602681ad098910f48f89b97f0cb87c4f
treee2aa87c28be3b1253273b1a1e609b5d0e9d6feb7
parent98cca250aecaf3f1b2fec003e1c0ce0bfaa4be36
fsl/mpic: Create and document the "single-cpu-affinity" device-tree flag

The Freescale MPIC (and perhaps others in the future) is incapable of
routing non-IPI interrupts to more than once CPU at a time.  Currently
all of the Freescale boards msut pass the MPIC_SINGLE_DEST_CPU flag to
mpic_alloc(), but that information should really be present in the
device-tree.

Older board code can't rely on the device-tree having the property set,
but newer platforms won't need it manually specified in the code.

[BenH: Remove unrelated changes, folded in a different patch]

Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Documentation/devicetree/bindings/powerpc/fsl/mpic.txt
arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi
arch/powerpc/sysdev/mpic.c