All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/1] irqchip: GIC: check and clear GIC interupt active state
@ 2014-08-04  4:17 ` Liu Hua
  0 siblings, 0 replies; 14+ messages in thread
From: Liu Hua @ 2014-08-04  4:17 UTC (permalink / raw)
  To: Marc.Zyngier, will.deacon
  Cc: nicolas.pitre, linux, linux-arm-kernel, linux-kernel, peifeiyue,
	liusdu, wangnan0, ebiederm, Liu Hua

For this version of GIC codes, kernel assumes that all the interrupt
status of GIC is inactive. So the kernel does not check this when 
booting.

This is no problem on must sitations. But when kdump is deplayed.
And a panic occurs when an interrupt is being handled (may be PPI 
). We have no chance to write relative bit to GICC_EOIR. So this 
interrupt remains active. And GIC will not deliver this type 
interrupt to cpu interface. And the capture kernel may  fail to boot
becase of lacking of certain interrupt (such as timer interupt).

I have test this patch on arma9el(GIC v1), arma15el and arma15eb(GIC v2) 
platforms. And the tests passed.

changes from V1:

  - used for_each_set_bit instead of find_next_bit
  - removed the GIC version indentifying codes.
  - used one way to inactive GIC interupt states for all GIC version

Liu Hua (1):
  GIC: introduce method to deactive interupts

 drivers/irqchip/irq-gic.c | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

-- 
1.9.0


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-08-06 16:01 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-04  4:17 [PATCH V2 0/1] irqchip: GIC: check and clear GIC interupt active state Liu Hua
2014-08-04  4:17 ` Liu Hua
2014-08-04  4:17 ` [PATCH V2 1/1] GIC: introduce method to deactive interupts Liu Hua
2014-08-04  4:17   ` Liu Hua
2014-08-04  9:43   ` Marc Zyngier
2014-08-04  9:43     ` Marc Zyngier
2014-08-06  8:43     ` Liu hua
2014-08-06  8:43       ` Liu hua
2014-08-06  9:46       ` Marc Zyngier
2014-08-06  9:46         ` Marc Zyngier
2014-08-06 12:18         ` Liu hua
2014-08-06 12:18           ` Liu hua
2014-08-06 16:01           ` Marc Zyngier
2014-08-06 16:01             ` Marc Zyngier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.