diff options
author | Alex Frid <afrid@nvidia.com> | 2011-10-11 22:59:38 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 01:32:24 -0700 |
commit | 1d5bee1f55e25172cff6f8ccb7df414973fb9de2 (patch) | |
tree | ad480430e2d41ab48e21608e7142394f9f39cc84 /arch/arm/common | |
parent | 683a4978fa82caa250fe47bd73809c569756e666 (diff) |
ARM: gic: Use affinity hint to set multiple CPUs for IRQ
GIC IRQ affinity is currently set to one CPU only - the 1st cpu in
the requested mask. This commit adds option to set IRQ affinity to
all cpus present in affinity_hint and requested masks. The option is
enabled by default on Tegra architecture starting with Tegra3.
(cherry picked from commit 09f7ef4f28a6e18188649c40848252bc18a6646c)
Change-Id: I0d655f1d39170382f3372294172ed6d02dc0ad49
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/69328
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>
Rebase-Id: R31f7a5ed91995a83d55d051a5926dc47f33b87ea
Diffstat (limited to 'arch/arm/common')
-rw-r--r-- | arch/arm/common/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/common/Kconfig b/arch/arm/common/Kconfig index 9353184d730d..7d94dbd20af2 100644 --- a/arch/arm/common/Kconfig +++ b/arch/arm/common/Kconfig @@ -17,3 +17,12 @@ config SHARP_PARAM config SHARP_SCOOP bool + +config GIC_SET_MULTIPLE_CPUS + bool "Use affinity hint to allow multiple CPUs for IRQ" + depends on ARM_GIC && SMP + default n + help + IRQ affinity is always set by gic to the 1st cpu in the requested + mask. If this option is enabled, affinity is also set to all cpus + present in affinity_hint and requested masks. |