Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-09-02 Thread Marc Zyngier
On 02/09/16 14:08, Thomas Gleixner wrote: > On Thu, 1 Sep 2016, Marc Zyngier wrote: >> On 01/09/16 09:15, majun (F) wrote: >> Well, this issue goes way beyond the hack you wanted to add to the >> generic code, and it should probably be addressed in the GIC code >> itself, as an implementation

Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-09-02 Thread Marc Zyngier
On 02/09/16 14:08, Thomas Gleixner wrote: > On Thu, 1 Sep 2016, Marc Zyngier wrote: >> On 01/09/16 09:15, majun (F) wrote: >> Well, this issue goes way beyond the hack you wanted to add to the >> generic code, and it should probably be addressed in the GIC code >> itself, as an implementation

Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-09-02 Thread Thomas Gleixner
On Thu, 1 Sep 2016, Marc Zyngier wrote: > On 01/09/16 09:15, majun (F) wrote: > Well, this issue goes way beyond the hack you wanted to add to the > generic code, and it should probably be addressed in the GIC code > itself, as an implementation specific workaround. Without knowing the > details

Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-09-02 Thread Thomas Gleixner
On Thu, 1 Sep 2016, Marc Zyngier wrote: > On 01/09/16 09:15, majun (F) wrote: > Well, this issue goes way beyond the hack you wanted to add to the > generic code, and it should probably be addressed in the GIC code > itself, as an implementation specific workaround. Without knowing the > details

Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-09-01 Thread Marc Zyngier
On 01/09/16 09:15, majun (F) wrote: > > > 在 2016/8/31 16:35, Marc Zyngier 写道: >> On 31/08/16 07:35, majun (F) wrote: > [...] >>> >>> I just checked the status of irq 30 during capture kernel booting. >>> >>> The irq 30 status is: mask, pending after arch_timer_starting_cpu() called. >>>

Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-09-01 Thread Marc Zyngier
On 01/09/16 09:15, majun (F) wrote: > > > 在 2016/8/31 16:35, Marc Zyngier 写道: >> On 31/08/16 07:35, majun (F) wrote: > [...] >>> >>> I just checked the status of irq 30 during capture kernel booting. >>> >>> The irq 30 status is: mask, pending after arch_timer_starting_cpu() called. >>>

Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-09-01 Thread majun (F)
在 2016/8/31 16:35, Marc Zyngier 写道: > On 31/08/16 07:35, majun (F) wrote: [...] >>> >> >> I just checked the status of irq 30 during capture kernel booting. >> >> The irq 30 status is: mask, pending after arch_timer_starting_cpu() called. >> Because irq 30 triggered only 1 time during capture

Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-09-01 Thread majun (F)
在 2016/8/31 16:35, Marc Zyngier 写道: > On 31/08/16 07:35, majun (F) wrote: [...] >>> >> >> I just checked the status of irq 30 during capture kernel booting. >> >> The irq 30 status is: mask, pending after arch_timer_starting_cpu() called. >> Because irq 30 triggered only 1 time during capture

Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-08-31 Thread Marc Zyngier
On 31/08/16 07:35, majun (F) wrote: > Hi Marc & Mark: > > 在 2016/8/30 19:21, Mark Rutland 写道: >> On Tue, Aug 30, 2016 at 12:07:36PM +0100, Marc Zyngier wrote: >>> +Mark >>> On 30/08/16 11:35, majun (F) wrote: 在 2016/8/30 16:50, Marc Zyngier 写道: > On 30/08/16 05:17, MaJun wrote: >>

Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-08-31 Thread Marc Zyngier
On 31/08/16 07:35, majun (F) wrote: > Hi Marc & Mark: > > 在 2016/8/30 19:21, Mark Rutland 写道: >> On Tue, Aug 30, 2016 at 12:07:36PM +0100, Marc Zyngier wrote: >>> +Mark >>> On 30/08/16 11:35, majun (F) wrote: 在 2016/8/30 16:50, Marc Zyngier 写道: > On 30/08/16 05:17, MaJun wrote: >>

Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-08-31 Thread majun (F)
Hi Marc & Mark: 在 2016/8/30 19:21, Mark Rutland 写道: > On Tue, Aug 30, 2016 at 12:07:36PM +0100, Marc Zyngier wrote: >> +Mark >> On 30/08/16 11:35, majun (F) wrote: >>> 在 2016/8/30 16:50, Marc Zyngier 写道: On 30/08/16 05:17, MaJun wrote: > From: Ma Jun > >

Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-08-31 Thread majun (F)
Hi Marc & Mark: 在 2016/8/30 19:21, Mark Rutland 写道: > On Tue, Aug 30, 2016 at 12:07:36PM +0100, Marc Zyngier wrote: >> +Mark >> On 30/08/16 11:35, majun (F) wrote: >>> 在 2016/8/30 16:50, Marc Zyngier 写道: On 30/08/16 05:17, MaJun wrote: > From: Ma Jun > > During system booting,

Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-08-30 Thread Mark Rutland
On Tue, Aug 30, 2016 at 12:07:36PM +0100, Marc Zyngier wrote: > +Mark > On 30/08/16 11:35, majun (F) wrote: > > 在 2016/8/30 16:50, Marc Zyngier 写道: > >> On 30/08/16 05:17, MaJun wrote: > >>> From: Ma Jun > >>> > >>> During system booting, if the interrupt which has no action

Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-08-30 Thread Mark Rutland
On Tue, Aug 30, 2016 at 12:07:36PM +0100, Marc Zyngier wrote: > +Mark > On 30/08/16 11:35, majun (F) wrote: > > 在 2016/8/30 16:50, Marc Zyngier 写道: > >> On 30/08/16 05:17, MaJun wrote: > >>> From: Ma Jun > >>> > >>> During system booting, if the interrupt which has no action registered > >>> is

Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-08-30 Thread Marc Zyngier
+Mark On 30/08/16 11:35, majun (F) wrote: > > > 在 2016/8/30 16:50, Marc Zyngier 写道: >> On 30/08/16 05:17, MaJun wrote: >>> From: Ma Jun >>> >>> During system booting, if the interrupt which has no action registered >>> is triggered, it would cause system panic when try to

Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-08-30 Thread Marc Zyngier
+Mark On 30/08/16 11:35, majun (F) wrote: > > > 在 2016/8/30 16:50, Marc Zyngier 写道: >> On 30/08/16 05:17, MaJun wrote: >>> From: Ma Jun >>> >>> During system booting, if the interrupt which has no action registered >>> is triggered, it would cause system panic when try to access the >>> action

Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-08-30 Thread majun (F)
在 2016/8/30 16:50, Marc Zyngier 写道: > On 30/08/16 05:17, MaJun wrote: >> From: Ma Jun >> >> During system booting, if the interrupt which has no action registered >> is triggered, it would cause system panic when try to access the >> action member. > > And why would that

Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-08-30 Thread majun (F)
在 2016/8/30 16:50, Marc Zyngier 写道: > On 30/08/16 05:17, MaJun wrote: >> From: Ma Jun >> >> During system booting, if the interrupt which has no action registered >> is triggered, it would cause system panic when try to access the >> action member. > > And why would that interrupt be enabled?

Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-08-30 Thread Marc Zyngier
On 30/08/16 05:17, MaJun wrote: > From: Ma Jun > > During system booting, if the interrupt which has no action registered > is triggered, it would cause system panic when try to access the > action member. And why would that interrupt be enabled? If you enable a PPI before

Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-08-30 Thread Marc Zyngier
On 30/08/16 05:17, MaJun wrote: > From: Ma Jun > > During system booting, if the interrupt which has no action registered > is triggered, it would cause system panic when try to access the > action member. And why would that interrupt be enabled? If you enable a PPI before registering a

[PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-08-29 Thread MaJun
From: Ma Jun During system booting, if the interrupt which has no action registered is triggered, it would cause system panic when try to access the action member. Signed-off-by: Ma Jun --- kernel/irq/chip.c | 20 1 files

[PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-08-29 Thread MaJun
From: Ma Jun During system booting, if the interrupt which has no action registered is triggered, it would cause system panic when try to access the action member. Signed-off-by: Ma Jun --- kernel/irq/chip.c | 20 1 files changed, 16 insertions(+), 4 deletions(-) diff