All of lore.kernel.org
 help / color / mirror / Atom feed
From: ming.lei@canonical.com (Ming Lei)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: annotate irq off before schedule
Date: Thu, 10 Dec 2015 14:04:41 +0800	[thread overview]
Message-ID: <CACVXFVOg5Gr9=EKtZq8306Q7G4oKqsNBV8Gdqaoi1C8DCCgucQ@mail.gmail.com> (raw)
In-Reply-To: <20151209105501.GC26759@e104818-lin.cambridge.arm.com>

On Wed, Dec 9, 2015 at 6:55 PM, Catalin Marinas <catalin.marinas@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.

Thanks,

>
> --
> Catalin
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2015-12-10  6:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-09  7:23 [PATCH] arm64: annotate irq off before schedule Ming Lei
2015-12-09 10:55 ` Catalin Marinas
2015-12-10  6:04   ` Ming Lei [this message]
2015-12-10 10:31     ` Will Deacon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACVXFVOg5Gr9=EKtZq8306Q7G4oKqsNBV8Gdqaoi1C8DCCgucQ@mail.gmail.com' \
    --to=ming.lei@canonical.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.