From: gadiyar@ti.com (Anand Gadiyar) Date: Tue, 9 Nov 2010 22:35:52 +0530 Subject: [PATCH] ARM: Temporary fix for broken arch reboot In-Reply-To: <1289320692.11461.21.camel@e102109-lin.cambridge.arm.com> References: <20101109131838.GF2869@n2100.arm.linux.org.uk> <1289320692.11461.21.camel@e102109-lin.cambridge.arm.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Catalin Marinas wrote: > 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? > I didn't try connecting with a debugger - will try this. > > > 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'? > I'm fairly certain the other CPUs did not print 'stopping'. Will double check. - Anand