Subject: [PATCH v8 9/4] arm64: remove irq_count and do_softirq_own_stack()

From: [email-masked] (Will Deacon)
Date: Mon, 21 Dec 2015 12:21:48 +0000

On Mon, Dec 21, 2015 at 12:19:32PM +0000, James Morse wrote:
> Will Deacon wrote:
> >> > +   mrs     x26, sp_el0             // already masked
> >>
> >> Nit: How about using 'get_thread_info x26'?
> > 
> > Something like the following?
> 
> Looks fine - I guess you're cleverly leaving the the el0_irq case to be
> covered by get_thread_info in kernel_entry?

Yup. tsk is always valid for exceptions taken from el0, afaict.

Will