[PATCH] arm64: annotate irq off before schedule

Will Deacon will.deacon at arm.com
Thu Dec 10 02:31:27 PST 2015


On Thu, Dec 10, 2015 at 02:04:41PM +0800, Ming Lei wrote:
> On Wed, Dec 9, 2015 at 6:55 PM, Catalin Marinas <catalin.marinas at arm.com> 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



More information about the linux-arm-kernel mailing list