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

2019-07-24 Thread Masami Hiramatsu
On Tue, 23 Jul 2019 18:07:56 +0100 James Morse wrote: > Hi, > > On 22/07/2019 08:48, 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

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

2019-07-23 Thread James Morse
Hi, On 22/07/2019 08:48, 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 debug exception

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

2019-07-22 Thread Paul E. McKenney
On Mon, Jul 22, 2019 at 04:48:58PM +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

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

2019-07-22 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