[PATCH 0/7] arm64 kexec kernel patches V3
Mark Rutland
mark.rutland at arm.com
Tue Oct 7 07:06:23 PDT 2014
On Tue, Oct 07, 2014 at 02:43:20PM +0100, Vivek Goyal wrote:
> On Thu, Oct 02, 2014 at 03:59:55PM -0700, Geoff Levand wrote:
> > Hi Vivek,
> >
> > On Thu, 2014-10-02 at 15:08 -0400, Vivek Goyal wrote:
> > > On Tue, Sep 30, 2014 at 02:27:56PM -0700, Geoff Levand wrote:
> > > > For a running system you can check the device tree:
> > > >
> > > > cat /proc/device-tree/cpus/cpu\@0/enable-method | hexdump -C
> > > >
> > >
> > > So system I have supports spin-table method for cpu bringup. How do I
> > > test your patches with that system. Are there any patches on your
> > > spin-table branch which can make it working?
> >
> > If possible, check if there is a firmware update that supports PSCI.
> >
> > My spin-table patches are now out of date, and fixing those up is
> > now low priority.
>
> So psci method for cpu bring up is more popular as comapred to
> spin-table one?
PSCI is the preferred method, and it is what we expect to see in server
machines featuring EL3. There are implementation in KVM and Xen, and on
physical machines (Juno so ar) with the ARM Trusted Firmware. The Linux
bootwrapper features a trivial (pre-v1) implementation, and there has
been work to implement PSCI in U-Boot.
The spin-table mechanism has no provision for returning CPUs to the
firmware, so it's not possible to hotplug CPUs. Vendors are using during
bringup so firmware and kernel can be developed in parallel, but I would
expect that for enterprise products PSCI should be available.
Thanks,
Mark.
More information about the linux-arm-kernel
mailing list