Thread (25 messages) 25 messages, 3 authors, 2011-05-25
STALE5491d
Revisions (3)
  1. v2 [diff vs current]
  2. v2 current
  3. v2 [diff vs current]

[RFC PATCH v2 00/12] Consolidating GIC per-cpu interrupts

From: Santosh Shilimkar <hidden>
Date: 2011-05-17 14:32:55

On 5/17/2011 7:51 PM, Marc Zyngier wrote:
Hi Santosh,

On Fri, 2011-05-13 at 22:36 +0530, Santosh Shilimkar wrote:
quoted
Marc,

On 5/6/2011 4:03 PM, Marc Zyngier wrote:
quoted
The current GIC per-cpu interrupt (aka PPIs) suffers from a number of
problems:

- It uses a completely separate scheme to handle the interrupts,
    mostly because the PPI concept doesn't really match the kernel view
    of an interrupt.
- Some low-level code gets duplicated, as usual...
- At least one platform (msm) has started implementing its own
    alternative scheme.

The proposed solution is to let the GIC code expose the PPIs as
something that the kernel can manage. Instead of having a single
interrupt number shared on all cores, make the interrupt number be
different on each CPU.

This enables the use of the normal kernel API (request_irq() and
friends) and the elimination of some low level code.

This patch set is based on 2.6.39-rc6, and depends on Will Deacon's
GIC fasteoi patches. Tested on VExpress, PB-11MP, Pandaboard and
SMDK-S5PV310.
Looks like, this series breaks system wide supsend. Please
check.
Are you sure you're testing with v2? v1 is known to be broken with
CPU_HOTPLUG, but v2 should deal with it. Here is a suspend/resume cycle
on my Panda:
May be I tried V1 then. Will try your v2 tomorrow and let you know
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help