Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292461
b: refs/heads/master
c: 9ca163c
h: refs/heads/master
i:
  292459: b2d12da
v: v3
  • Loading branch information
Kyle Moffett authored and Benjamin Herrenschmidt committed Feb 22, 2012
1 parent ec14581 commit 573e885
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 98cca250aecaf3f1b2fec003e1c0ce0bfaa4be36
refs/heads/master: 9ca163c8602681ad098910f48f89b97f0cb87c4f
6 changes: 6 additions & 0 deletions trunk/Documentation/devicetree/bindings/powerpc/fsl/mpic.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ PROPERTIES
device-trees omit this property on MPIC nodes even when the MPIC is
in fact big-endian, so certain boards override this property.

- single-cpu-affinity
Usage: optional
Value type: <empty>
If present the MPIC will be assumed to only be able to route
non-IPI interrupts to a single CPU at a time (EG: Freescale MPIC).

INTERRUPT SPECIFIER DEFINITION

Interrupt specifiers consists of 4 cells encoded as
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ mpic: pic@40000 {
compatible = "fsl,mpic";
device_type = "open-pic";
big-endian;
single-cpu-affinity;
};

timer@41100 {
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/powerpc/sysdev/mpic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1187,6 +1187,8 @@ struct mpic * __init mpic_alloc(struct device_node *node,
flags |= MPIC_BIG_ENDIAN;
if (of_get_property(node, "pic-no-reset", NULL))
flags |= MPIC_NO_RESET;
if (of_get_property(node, "single-cpu-affinity", NULL))
flags |= MPIC_SINGLE_DEST_CPU;
if (of_device_is_compatible(node, "fsl,mpic"))
flags |= MPIC_FSL;

Expand Down

0 comments on commit 573e885

Please sign in to comment.