From mboxrd@z Thu Jan 1 00:00:00 1970 From: horms@verge.net.au (Simon Horman) Date: Sat, 22 Oct 2011 11:20:16 +0900 Subject: Possible regression in kexec on ARM ARMv6 and ARMv7 cores In-Reply-To: <20111021091524.GB30168@mudshark.cambridge.arm.com> References: <20111020042444.GA20260@verge.net.au> <20111020070105.GA28548@mudshark.cambridge.arm.com> <20111020080823.GA2716@verge.net.au> <20111021083426.GA16088@verge.net.au> <20111021084641.GA30168@mudshark.cambridge.arm.com> <20111021085958.GC21850@verge.net.au> <20111021091524.GB30168@mudshark.cambridge.arm.com> Message-ID: <20111022022016.GA9208@verge.net.au> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Oct 21, 2011 at 10:15:24AM +0100, Will Deacon wrote: > On Fri, Oct 21, 2011 at 09:59:58AM +0100, Simon Horman wrote: > > On Fri, Oct 21, 2011 at 09:46:41AM +0100, Will Deacon wrote: > > > The more difficult case is when you want to offline the secondary CPUs into > > > a pen and then boot them in the new kernel. I did get some of this working, > > > but there are outstanding issues with whether the pen should be at a fixed > > > location or not. If not, then we need a way to tell the new kernel where it > > > is, which may involve updating the DT blob... > > > > Is the implication that the (working) callback method does not > > give the second kernel any secondary CPUs? > > What the callback does it up to you. You just need to make sure that you can > cope with the kernel disappearing later on, so you'll probably need some > hardware mechanism for offlining a CPU (for example, placing it in SRAM > or cutting the power). Thanks, it seems that I now have a bit of work to do implementing a callback.