From mboxrd@z Thu Jan 1 00:00:00 1970 From: jungseoklee85@gmail.com (Jungseok Lee) Date: Mon, 21 Dec 2015 23:06:21 +0900 Subject: [PATCH v8 9/4] arm64: remove irq_count and do_softirq_own_stack() In-Reply-To: <20151221122148.GK23092@arm.com> References: <1449226948-14251-1-git-send-email-james.morse@arm.com> <1450454507-8907-1-git-send-email-james.morse@arm.com> <68E0E2C7-A4C2-45C2-95C5-842FA807F918@gmail.com> <20151221113021.GH23092@arm.com> <20151221122148.GK23092@arm.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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