Re: [RFC PATCH 0/2] irqchip: GIC: check and clear GIC interupt active status

2014-07-14 Thread Will Deacon
On Mon, Jul 14, 2014 at 04:22:26AM +0100, Liu hua wrote: > On 2014/7/11 20:35, Will Deacon wrote: > > On Fri, Jul 11, 2014 at 07:46:15AM +0100, Liu Hua wrote: > >> So guys, Do you know a better way to do that? > > What happens if, in the crash kernel, you disable the CPU interfaces > >

Re: [RFC PATCH 0/2] irqchip: GIC: check and clear GIC interupt active status

2014-07-14 Thread Will Deacon
On Mon, Jul 14, 2014 at 04:22:26AM +0100, Liu hua wrote: On 2014/7/11 20:35, Will Deacon wrote: On Fri, Jul 11, 2014 at 07:46:15AM +0100, Liu Hua wrote: So guys, Do you know a better way to do that? What happens if, in the crash kernel, you disable the CPU interfaces (GICC_CTLR.ENABLE)

Re: [RFC PATCH 0/2] irqchip: GIC: check and clear GIC interupt active status

2014-07-13 Thread Liu hua
On 2014/7/11 20:35, Will Deacon wrote: > [adding Marc] > > On Fri, Jul 11, 2014 at 07:46:15AM +0100, Liu Hua wrote: >> 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

Re: [RFC PATCH 0/2] irqchip: GIC: check and clear GIC interupt active status

2014-07-13 Thread Liu hua
On 2014/7/11 20:35, Will Deacon wrote: [adding Marc] On Fri, Jul 11, 2014 at 07:46:15AM +0100, Liu Hua wrote: 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

[RFC PATCH 0/2] irqchip: GIC: check and clear GIC interupt active status

2014-07-11 Thread 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 a interrupt is being handled (may be PPI and SPI). We have no

Re: [RFC PATCH 0/2] irqchip: GIC: check and clear GIC interupt active status

2014-07-11 Thread Will Deacon
[adding Marc] On Fri, Jul 11, 2014 at 07:46:15AM +0100, Liu Hua wrote: > 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. >

Re: [RFC PATCH 0/2] irqchip: GIC: check and clear GIC interupt active status

2014-07-11 Thread Will Deacon
[adding Marc] On Fri, Jul 11, 2014 at 07:46:15AM +0100, Liu Hua wrote: 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

[RFC PATCH 0/2] irqchip: GIC: check and clear GIC interupt active status

2014-07-11 Thread 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 a interrupt is being handled (may be PPI and SPI). We have no