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

Will Deacon will.deacon at arm.com
Mon Dec 21 04:21:48 PST 2015


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



More information about the linux-arm-kernel mailing list