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

Jungseok Lee jungseoklee85 at gmail.com
Mon Dec 21 06:06:21 PST 2015


On Dec 21, 2015, at 9:21 PM, Will Deacon wrote:
> 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.


Good idea! I like the change.

Best Regards
Jungseok Lee



More information about the linux-arm-kernel mailing list