Re: [PATCH V2] arm64: traps: disable irq in die()

2017-07-21 Thread qiaozhou
On 2017年07月21日 16:32, Will Deacon wrote: On Fri, Jul 21, 2017 at 07:38:42AM +, Zhou Qiao(周侨) wrote: Could you please help to take a look and give some comments? Thanks in advance. I've queued this on the arm64 for-next/fixes/core branch. Got it. Thanks! Will Best Regards Qiao

Re: [PATCH V2] arm64: traps: disable irq in die()

2017-07-21 Thread qiaozhou
On 2017年07月21日 16:32, Will Deacon wrote: On Fri, Jul 21, 2017 at 07:38:42AM +, Zhou Qiao(周侨) wrote: Could you please help to take a look and give some comments? Thanks in advance. I've queued this on the arm64 for-next/fixes/core branch. Got it. Thanks! Will Best Regards Qiao

Re: [PATCH V2] arm64: traps: disable irq in die()

2017-07-21 Thread Will Deacon
On Fri, Jul 21, 2017 at 07:38:42AM +, Zhou Qiao(周侨) wrote: > Could you please help to take a look and give some comments? Thanks in > advance. I've queued this on the arm64 for-next/fixes/core branch. Will

Re: [PATCH V2] arm64: traps: disable irq in die()

2017-07-21 Thread Will Deacon
On Fri, Jul 21, 2017 at 07:38:42AM +, Zhou Qiao(周侨) wrote: > Could you please help to take a look and give some comments? Thanks in > advance. I've queued this on the arm64 for-next/fixes/core branch. Will

RE: [PATCH V2] arm64: traps: disable irq in die()

2017-07-21 Thread 周侨
...@kernel.org; marc.zyng...@arm.com; andre.przyw...@arm.com; linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org Cc: Zhou Qiao Subject: [PATCH V2] arm64: traps: disable irq in die() In current die(), the irq is disabled for __die() handle, not including the possible panic() handling

RE: [PATCH V2] arm64: traps: disable irq in die()

2017-07-21 Thread 周侨
...@kernel.org; marc.zyng...@arm.com; andre.przyw...@arm.com; linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org Cc: Zhou Qiao Subject: [PATCH V2] arm64: traps: disable irq in die() In current die(), the irq is disabled for __die() handle, not including the possible panic() handling

[PATCH V2] arm64: traps: disable irq in die()

2017-07-07 Thread Qiao Zhou
In current die(), the irq is disabled for __die() handle, not including the possible panic() handling. Since the log in __die() can take several hundreds ms, new irq might come and interrupt current die(). If the process calling die() holds some critical resource, and some other process scheduled

[PATCH V2] arm64: traps: disable irq in die()

2017-07-07 Thread Qiao Zhou
In current die(), the irq is disabled for __die() handle, not including the possible panic() handling. Since the log in __die() can take several hundreds ms, new irq might come and interrupt current die(). If the process calling die() holds some critical resource, and some other process scheduled