Thread (21 messages) 21 messages, 2 authors, 2011-05-30
STALE5496d REVIEWED: 1 (0M)

[RFC PATCH v4 01/13] ARM: gic: add per-cpu interrupt multiplexer

From: Stephen Boyd <hidden>
Date: 2011-05-27 19:30:09

On 05/27/2011 09:27 AM, Marc Zyngier wrote:
The kernel doesn't handle very well the concept of per-cpu interrupt
as implemented by the ARM architecture (the same interrupt level is
exposed on each core).

To work around the problem, add another irq_chip to handle PPIs and
remap them so that a single interrupt number is only used on a given
CPU (for example, IRQ 29 and 30 get exposed as IRQ 128 and 129 on
core 0, 130 and 131 on core 1...).

A helper function gic_ppi_to_vppi() is used to convert the PPI number
to the per-processor IRQ.

Signed-off-by: Marc Zyngier <redacted>
Reviewed-by: Will Deacon <redacted>
Tested-by: Stephen Boyd <redacted>
quoted hunk ↗ jump to hunk
diff --git a/arch/arm/common/Kconfig b/arch/arm/common/Kconfig
index ea5ee4d..020a531 100644
--- a/arch/arm/common/Kconfig
+++ b/arch/arm/common/Kconfig
@@ -1,6 +1,11 @@
 config ARM_GIC
 	bool
 
+config ARM_GIC_VPPI
+	depends on ARM_GIC
+	select SPARSE_IRQ
+        bool
+
Nitpick: bool should be tabbed out instead of with spaces.

-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help