Repository navigation
Commit b6c084d
committed
ARM: perf: extend interrupt-affinity property for PPIs
On systems containing multiple, heterogeneous clusters we need a way to
associate a PMU "device" with the CPU(s) on which it exists. For PMUs
that signal overflow with SPIs, this relationship is determined via the
"interrupt-affinity" property, which contains a list of phandles to CPU
nodes for the PMU. For PMUs using PPIs, the per-cpu nature of the
interrupt isn't enough to determine the set of CPUs which actually
contain the device.
This patch allows the interrupt-affinity property to be specified on a
PMU node irrespective of the interrupt type. For PPIs, it identifies
the set of CPUs signalling the PPI in question.
Tested-by: Stephen Boyd <sboyd@codeaurora.org> # Krait PMU
Signed-off-by: Will Deacon <will.deacon@arm.com>1 parent 8ae81c2 commit b6c084d
2 files changed
Lines changed: 53 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
| 41 | + | |
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
790 | 790 | | |
791 | 791 | | |
792 | 792 | | |
793 | | - | |
| 793 | + | |
| 794 | + | |
794 | 795 | | |
795 | 796 | | |
796 | | - | |
797 | | - | |
798 | | - | |
799 | | - | |
800 | | - | |
801 | | - | |
802 | | - | |
803 | 797 | | |
804 | 798 | | |
805 | 799 | | |
806 | 800 | | |
807 | | - | |
| 801 | + | |
808 | 802 | | |
809 | | - | |
| 803 | + | |
810 | 804 | | |
811 | | - | |
812 | | - | |
813 | | - | |
814 | | - | |
815 | | - | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
816 | 808 | | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
817 | 823 | | |
818 | 824 | | |
| 825 | + | |
819 | 826 | | |
820 | 827 | | |
821 | 828 | | |
| |||
824 | 831 | | |
825 | 832 | | |
826 | 833 | | |
| 834 | + | |
827 | 835 | | |
828 | 836 | | |
829 | 837 | | |
830 | 838 | | |
831 | | - | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
832 | 850 | | |
833 | | - | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
834 | 854 | | |
835 | | - | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
836 | 861 | | |
837 | | - | |
| 862 | + | |
838 | 863 | | |
839 | | - | |
840 | | - | |
841 | 864 | | |
842 | 865 | | |
843 | 866 | | |
| |||
0 commit comments