From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Thu, 10 Dec 2015 10:31:27 +0000 Subject: [PATCH] arm64: annotate irq off before schedule In-Reply-To: References: <1449645829-1070-1-git-send-email-ming.lei@canonical.com> <20151209105501.GC26759@e104818-lin.cambridge.arm.com> Message-ID: <20151210103126.GB21134@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Dec 10, 2015 at 02:04:41PM +0800, Ming Lei wrote: > On Wed, Dec 9, 2015 at 6:55 PM, Catalin Marinas wrote: > > On Wed, Dec 09, 2015 at 03:23:49PM +0800, Ming Lei wrote: > >> diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S > >> index 7ed3d75..4769190 100644 > >> --- a/arch/arm64/kernel/entry.S > >> +++ b/arch/arm64/kernel/entry.S > >> @@ -634,6 +634,9 @@ work_pending: > >> bl do_notify_resume > >> b ret_to_user > >> work_resched: > >> +#ifdef CONFIG_TRACE_IRQFLAGS > >> + bl trace_hardirqs_off > >> +#endif > >> bl schedule > > > > I think Will already queued a similar patch, though he hasn't pushed it > > out yet. > > I tested the misc-patches branch of Will's tree on kerne.org, and looks > the locpdep warning still can be observed. That's the wrong tree. Try the arm64 for-next queue: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core Will