[PATCH] ARM: Temporary fix for broken arch reboot
santosh.shilimkar at ti.com
Wed Nov 10 00:55:21 EST 2010
> -----Original Message-----
> From: Catalin Marinas [mailto:catalin.marinas at arm.com]
> Sent: Tuesday, November 09, 2010 10:08 PM
> To: Russell King - ARM Linux
> Cc: Shilimkar, Santosh; linux-arm-kernel at lists.infradead.org; Gadiyar,
> Subject: Re: [PATCH] ARM: Temporary fix for broken arch reboot
> On Tue, 2010-11-09 at 13:18 +0000, Russell King - ARM Linux wrote:
> > On Tue, Nov 09, 2010 at 06:40:39PM +0530, Shilimkar, Santosh wrote:
> > > With commit 3d3f78d752bf, reboot seems to broken on ARM
> > > machines. CPU dies while doing flush_pmd_entry() as part of
> > > setup_mm_for_reboot()
> What do you mean by 'dies'? Can you still connect with a debugger or it
> got to some weird state?
It goes to some weird state. Basically the emulation connection dies,
and debugger gets disconnected.
> > > I know this is not the fix but intention is to report the
> > > issue and also provide temporary fix till it get fixed correctly
> > So you're now rebooting with the secondary CPUs still running. I guess
> > that the secondary CPUs end up crashing and don't restart.
> > I think more the question is why the CP15 cache clean/flush is hanging
> > with the other CPUs taken down. All the other CPUs will be doing is
> > sitting in a loop doing nothing.
> I can't think of anything. Did the other CPUs print 'stopping'?
No it doesn't not print anything.
More information about the linux-arm-kernel