From: Simon Horman <horms@verge.net.au>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: Possible regression due to "tick: broadcast: Prevent livelock from event handler"
Date: Wed, 29 Jul 2015 02:23:48 +0000 [thread overview]
Message-ID: <20150729022348.GA13360@verge.net.au> (raw)
In-Reply-To: <alpine.DEB.2.11.1507031640060.3916@nanos>
Hi Thomas,
On Fri, Jul 03, 2015 at 04:53:49PM +0200, Thomas Gleixner wrote:
> On Fri, 3 Jul 2015, Wolfram Sang wrote:
> > > So this is a single core machine and uses the em_sti timer w/o the
> > > broadcast nonsense. In Simons case it looks like em_sti is used as
> > > broadcast device.
> >
> > We use the same board. Just my kernel has SMP=n.
> >
> > > Though the issues you see in the highres=n case might be the same as
> > > the ones Simon is observing.
> >
> > I hope so. One good thing about the issue I see is that it is 100%
> > reproducable.
> >
> > > So in that nohz=y highres=n case, does adding idle=poll on the command
> > > line fix the issue?
> >
> > Nope, still hangs.
>
> Ok. So it's unrelated to deep idle states. Any chance of poking with
> JTAG at the frozen box? If not, are there GPIOs which you could use to
> monitor certain state?
Sorry for the delay, it has taken me a while to secure a JTAG.
I now have one hooked up to my emev2/kzm9d board; though I must
confess I am not at all experienced in driving it.
As far as I can tell, and to be quite honest I would not be at all
surprised if I am mistaken, the CPUs are sitting here:
pc: 0xC001F7E8, which corresponds to cpu_v7_do_idle
Hooking up GDB I see:
#0 cpu_v7_do_idle () at arch/arm/mm/proc-v7.S:74
#1 0xc0010734 in arch_cpu_idle () at arch/arm/kernel/process.c:72
#2 0xc04c406c in schedule_preempt_disabled () at kernel/sched/core.c:3115
#3 0xc0055130 in cpu_idle_loop () at kernel/sched/idle.c:279
#4 cpu_startup_entry (state=CPUHP_OFFLINE) at kernel/sched/idle.c:301
#5 0xc04bf440 in rest_init () at init/main.c:412
#6 0xc061bc6c in start_kernel () at init/main.c:683
#7 0x4000807c in ?? ()
I am using the renesas-devel-20150729-v4.2-rc4 tag of the my renesas tree
which, as the name suggests, is based on v4.2-rc4.
WARNING: multiple messages have this Message-ID (diff)
From: horms@verge.net.au (Simon Horman)
To: linux-arm-kernel@lists.infradead.org
Subject: Possible regression due to "tick: broadcast: Prevent livelock from event handler"
Date: Wed, 29 Jul 2015 11:23:48 +0900 [thread overview]
Message-ID: <20150729022348.GA13360@verge.net.au> (raw)
In-Reply-To: <alpine.DEB.2.11.1507031640060.3916@nanos>
Hi Thomas,
On Fri, Jul 03, 2015 at 04:53:49PM +0200, Thomas Gleixner wrote:
> On Fri, 3 Jul 2015, Wolfram Sang wrote:
> > > So this is a single core machine and uses the em_sti timer w/o the
> > > broadcast nonsense. In Simons case it looks like em_sti is used as
> > > broadcast device.
> >
> > We use the same board. Just my kernel has SMP=n.
> >
> > > Though the issues you see in the highres=n case might be the same as
> > > the ones Simon is observing.
> >
> > I hope so. One good thing about the issue I see is that it is 100%
> > reproducable.
> >
> > > So in that nohz=y highres=n case, does adding idle=poll on the command
> > > line fix the issue?
> >
> > Nope, still hangs.
>
> Ok. So it's unrelated to deep idle states. Any chance of poking with
> JTAG at the frozen box? If not, are there GPIOs which you could use to
> monitor certain state?
Sorry for the delay, it has taken me a while to secure a JTAG.
I now have one hooked up to my emev2/kzm9d board; though I must
confess I am not at all experienced in driving it.
As far as I can tell, and to be quite honest I would not be at all
surprised if I am mistaken, the CPUs are sitting here:
pc: 0xC001F7E8, which corresponds to cpu_v7_do_idle
Hooking up GDB I see:
#0 cpu_v7_do_idle () at arch/arm/mm/proc-v7.S:74
#1 0xc0010734 in arch_cpu_idle () at arch/arm/kernel/process.c:72
#2 0xc04c406c in schedule_preempt_disabled () at kernel/sched/core.c:3115
#3 0xc0055130 in cpu_idle_loop () at kernel/sched/idle.c:279
#4 cpu_startup_entry (state=CPUHP_OFFLINE) at kernel/sched/idle.c:301
#5 0xc04bf440 in rest_init () at init/main.c:412
#6 0xc061bc6c in start_kernel () at init/main.c:683
#7 0x4000807c in ?? ()
I am using the renesas-devel-20150729-v4.2-rc4 tag of the my renesas tree
which, as the name suggests, is based on v4.2-rc4.
WARNING: multiple messages have this Message-ID (diff)
From: Simon Horman <horms@verge.net.au>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Wolfram Sang <wsa@the-dreams.de>,
Kevin Hilman <khilman@kernel.org>,
Tyler Baker <tyler.baker@linaro.org>,
Borislav Petkov <bp@alien8.de>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Magnus Damm <magnus.damm@gmail.com>,
linux-sh@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: Possible regression due to "tick: broadcast: Prevent livelock from event handler"
Date: Wed, 29 Jul 2015 11:23:48 +0900 [thread overview]
Message-ID: <20150729022348.GA13360@verge.net.au> (raw)
In-Reply-To: <alpine.DEB.2.11.1507031640060.3916@nanos>
Hi Thomas,
On Fri, Jul 03, 2015 at 04:53:49PM +0200, Thomas Gleixner wrote:
> On Fri, 3 Jul 2015, Wolfram Sang wrote:
> > > So this is a single core machine and uses the em_sti timer w/o the
> > > broadcast nonsense. In Simons case it looks like em_sti is used as
> > > broadcast device.
> >
> > We use the same board. Just my kernel has SMP=n.
> >
> > > Though the issues you see in the highres=n case might be the same as
> > > the ones Simon is observing.
> >
> > I hope so. One good thing about the issue I see is that it is 100%
> > reproducable.
> >
> > > So in that nohz=y highres=n case, does adding idle=poll on the command
> > > line fix the issue?
> >
> > Nope, still hangs.
>
> Ok. So it's unrelated to deep idle states. Any chance of poking with
> JTAG at the frozen box? If not, are there GPIOs which you could use to
> monitor certain state?
Sorry for the delay, it has taken me a while to secure a JTAG.
I now have one hooked up to my emev2/kzm9d board; though I must
confess I am not at all experienced in driving it.
As far as I can tell, and to be quite honest I would not be at all
surprised if I am mistaken, the CPUs are sitting here:
pc: 0xC001F7E8, which corresponds to cpu_v7_do_idle
Hooking up GDB I see:
#0 cpu_v7_do_idle () at arch/arm/mm/proc-v7.S:74
#1 0xc0010734 in arch_cpu_idle () at arch/arm/kernel/process.c:72
#2 0xc04c406c in schedule_preempt_disabled () at kernel/sched/core.c:3115
#3 0xc0055130 in cpu_idle_loop () at kernel/sched/idle.c:279
#4 cpu_startup_entry (state=CPUHP_OFFLINE) at kernel/sched/idle.c:301
#5 0xc04bf440 in rest_init () at init/main.c:412
#6 0xc061bc6c in start_kernel () at init/main.c:683
#7 0x4000807c in ?? ()
I am using the renesas-devel-20150729-v4.2-rc4 tag of the my renesas tree
which, as the name suggests, is based on v4.2-rc4.
next prev parent reply other threads:[~2015-07-29 2:23 UTC|newest]
Thread overview: 75+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-03 2:40 Possible regression due to "tick: broadcast: Prevent livelock from event handler" Simon Horman
2015-07-03 2:40 ` Simon Horman
2015-07-03 2:40 ` Simon Horman
2015-07-03 6:46 ` Geert Uytterhoeven
2015-07-03 6:46 ` Geert Uytterhoeven
2015-07-03 6:46 ` Geert Uytterhoeven
2015-07-03 9:23 ` Thomas Gleixner
2015-07-03 9:23 ` Thomas Gleixner
2015-07-03 9:23 ` Thomas Gleixner
2015-07-03 10:54 ` Wolfram Sang
2015-07-03 10:54 ` Wolfram Sang
2015-07-03 10:54 ` Wolfram Sang
2015-07-03 11:02 ` Russell King - ARM Linux
2015-07-03 11:02 ` Russell King - ARM Linux
2015-07-03 11:02 ` Russell King - ARM Linux
2015-07-03 11:07 ` Wolfram Sang
2015-07-03 11:07 ` Wolfram Sang
2015-07-03 11:07 ` Wolfram Sang
2015-07-03 11:13 ` Russell King - ARM Linux
2015-07-03 11:13 ` Russell King - ARM Linux
2015-07-03 11:13 ` Russell King - ARM Linux
2015-07-03 11:41 ` Wolfram Sang
2015-07-03 11:41 ` Wolfram Sang
2015-07-03 11:41 ` Wolfram Sang
2015-07-03 13:19 ` Thomas Gleixner
2015-07-03 13:19 ` Thomas Gleixner
2015-07-03 13:19 ` Thomas Gleixner
2015-07-03 13:32 ` Wolfram Sang
2015-07-03 13:32 ` Wolfram Sang
2015-07-03 13:32 ` Wolfram Sang
2015-07-03 14:17 ` Thomas Gleixner
2015-07-03 14:17 ` Thomas Gleixner
2015-07-03 14:17 ` Thomas Gleixner
2015-07-03 14:37 ` Wolfram Sang
2015-07-03 14:37 ` Wolfram Sang
2015-07-03 14:37 ` Wolfram Sang
2015-07-03 14:45 ` Sudeep Holla
2015-07-03 14:45 ` Sudeep Holla
2015-07-03 14:45 ` Sudeep Holla
2015-07-03 14:54 ` Thomas Gleixner
2015-07-03 14:54 ` Thomas Gleixner
2015-07-03 14:54 ` Thomas Gleixner
2015-07-03 14:57 ` Sudeep Holla
2015-07-03 14:57 ` Sudeep Holla
2015-07-03 14:57 ` Sudeep Holla
2015-07-03 14:53 ` Thomas Gleixner
2015-07-03 14:53 ` Thomas Gleixner
2015-07-03 14:53 ` Thomas Gleixner
2015-07-03 15:09 ` Wolfram Sang
2015-07-03 15:09 ` Wolfram Sang
2015-07-03 15:09 ` Wolfram Sang
2015-07-03 15:23 ` Thomas Gleixner
2015-07-03 15:23 ` Thomas Gleixner
2015-07-03 15:23 ` Thomas Gleixner
2015-07-03 15:40 ` Wolfram Sang
2015-07-03 15:40 ` Wolfram Sang
2015-07-03 15:40 ` Wolfram Sang
2015-07-03 15:53 ` Thomas Gleixner
2015-07-03 15:53 ` Thomas Gleixner
2015-07-03 15:53 ` Thomas Gleixner
2015-07-03 16:00 ` Wolfram Sang
2015-07-03 16:00 ` Wolfram Sang
2015-07-03 16:00 ` Wolfram Sang
2015-07-06 4:42 ` Magnus Damm
2015-07-06 4:42 ` Magnus Damm
2015-07-06 4:42 ` Magnus Damm
2015-07-29 2:23 ` Simon Horman [this message]
2015-07-29 2:23 ` Simon Horman
2015-07-29 2:23 ` Simon Horman
2015-07-03 17:02 ` Geert Uytterhoeven
2015-07-03 17:02 ` Geert Uytterhoeven
2015-07-03 17:02 ` Geert Uytterhoeven
2015-07-06 4:45 ` Magnus Damm
2015-07-06 4:45 ` Magnus Damm
2015-07-06 4:45 ` Magnus Damm
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=20150729022348.GA13360@verge.net.au \
--to=horms@verge.net.au \
--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.