xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/11] xen: arm: rework early bring up
@ 2013-09-27 10:16 Ian Campbell
  2013-09-27 10:20 ` [PATCH v3 01/11] xen: arm: Load xen under 4GB on 32-bit Ian Campbell
                   ` (10 more replies)
  0 siblings, 11 replies; 28+ messages in thread
From: Ian Campbell @ 2013-09-27 10:16 UTC (permalink / raw)
  To: xen-devel; +Cc: Julien Grall, Tim Deegan, Stefano Stabellini

The following reworks early bring up on ARM to use a separate set of
boot pagetables. This simplifies things by avoiding the need to bring up
all CPUs in lock step, which in turn allows us to do secondary CPU
bringup in C code.

Unfortunately the main bulk of this change is a single large patch which
is hard to decompose any further since it is basically pulling on the
thread and then knitting a new jumper from it.

With these changes Xen now absolutely requires that the bootloader calls
the hypervisor in HYP mode, the previous workarounds have been removed.
For use on models a bootwrapper is now required. See 
        git://xenbits.xen.org/people/ianc/boot-wrapper.git xen-arm32
        git://xenbits.xen.org/people/ianc/boot-wrapper-aarch64.git xen-arm64

I have implemented support for CPU bringup on the fastmodel vexpress
platforms (v7and v8) here. Julien reports that it works on a real
vexpress to.

I'm hoping that those of you with access to other platforms will
implement the required cpu_up platform hook, it should be pretty simple
in each case, I think. (Update: I've implemented exynos5 now)

It should now also be possible to implement PSCI, but I have not done
so.

Most of this is all acked but I had to rebase which involved some real
changes to reposting. I have retained acks...

Changes since v2:
      * rebased, resolved some conflicts due to e.g. Julien's
        logical_cpu work
      * dsb in smp_up_cpu wait loop (already reposted)
      * fixes to MIDR symbols (needed to be just U not UL, otherwise
        -Werror=overflow can complain, see patch for details)
      * Resolve the two TODOs:
              * Merge the arch_cpu_init loop into the existing
                smp_init_maps loop
              * Implemented exynos5 support (kept separate since it is
                new)

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2013-09-27 15:52 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-27 10:16 [PATCH v3 00/11] xen: arm: rework early bring up Ian Campbell
2013-09-27 10:20 ` [PATCH v3 01/11] xen: arm: Load xen under 4GB on 32-bit Ian Campbell
2013-09-27 10:20 ` [PATCH v3 02/11] xen: arm: build platform support only on the relevant arch Ian Campbell
2013-09-27 12:19   ` Julien Grall
2013-09-27 10:20 ` [PATCH v3 03/11] xen: arm: Log the raw MIDR on boot Ian Campbell
2013-09-27 10:20 ` [PATCH v3 04/11] xen: arm: make sure we stay within the memory bank during mm setup Ian Campbell
2013-09-27 10:20 ` [PATCH v3 05/11] xen: arm: add two new device tree helpers Ian Campbell
2013-09-27 10:20 ` [PATCH v3 06/11] xen: arm: implement arch/platform SMP and CPU initialisation framework Ian Campbell
2013-09-27 12:23   ` Julien Grall
2013-09-27 12:35     ` Ian Campbell
2013-09-27 10:20 ` [PATCH v3 07/11] xen: arm: implement smp initialisation callbacks for exynos5 Ian Campbell
2013-09-27 10:20 ` [PATCH v3 08/11] xen: arm: rewrite start of day page table and cpu bring up Ian Campbell
2013-09-27 12:30   ` Julien Grall
2013-09-27 12:37     ` Ian Campbell
2013-09-27 13:30   ` Julien Grall
2013-09-27 14:10     ` Ian Campbell
2013-09-27 14:21       ` Julien Grall
2013-09-27 14:23         ` Ian Campbell
2013-09-27 14:26           ` Ian Campbell
2013-09-27 14:21       ` Ian Campbell
2013-09-27 14:31         ` Julien Grall
2013-09-27 14:38           ` Ian Campbell
2013-09-27 15:17             ` Ian Campbell
2013-09-27 15:30               ` Julien Grall
2013-09-27 15:52                 ` Ian Campbell
2013-09-27 10:20 ` [PATCH v3 09/11] xen: arm: use symbolic names for MPIDR bits Ian Campbell
2013-09-27 10:20 ` [PATCH v3 10/11] xen: arm: configure TCR_EL2 for 40 bit physical address space Ian Campbell
2013-09-27 10:20 ` [PATCH v3 11/11] xen: arm: split cpu0's domheap mapping PTs out from xen_second Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).