Re: [PATCH v3 3/4] arm64: Make debug exception handlers visible from RCU

2019-08-01 Thread Will Deacon
Hi Masami, On Thu, Aug 01, 2019 at 02:32:25PM +0900, Masami Hiramatsu wrote: > On Wed, 31 Jul 2019 18:26:03 +0100 > Will Deacon wrote: > > On Thu, Jul 25, 2019 at 05:16:15PM +0900, Masami Hiramatsu wrote: > > > diff --git a/arch/arm64/mm/fault.c b/arch/arm64/mm/fault.c > > > index 9568c116ac7f..e

Re: [PATCH v3 3/4] arm64: Make debug exception handlers visible from RCU

2019-07-31 Thread Masami Hiramatsu
Hi Will, On Wed, 31 Jul 2019 18:26:03 +0100 Will Deacon wrote: > On Thu, Jul 25, 2019 at 05:16:15PM +0900, Masami Hiramatsu wrote: > > Make debug exceptions visible from RCU so that synchronize_rcu() > > correctly track the debug exception handler. > > > > This also introduces sanity checks for

Re: [PATCH v3 3/4] arm64: Make debug exception handlers visible from RCU

2019-07-31 Thread Will Deacon
On Thu, Jul 25, 2019 at 05:16:15PM +0900, Masami Hiramatsu wrote: > Make debug exceptions visible from RCU so that synchronize_rcu() > correctly track the debug exception handler. > > This also introduces sanity checks for user-mode exceptions as same > as x86's ist_enter()/ist_exit(). > > The de

[PATCH v3 3/4] arm64: Make debug exception handlers visible from RCU

2019-07-25 Thread Masami Hiramatsu
Make debug exceptions visible from RCU so that synchronize_rcu() correctly track the debug exception handler. This also introduces sanity checks for user-mode exceptions as same as x86's ist_enter()/ist_exit(). The debug exception can interrupt in idle task. For example, it warns if we put a kpro