|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v2 0/7] xen/arm: run on real hardware
Hi all,
this is a collection of fixes that I wrote trying to run Xen on a real
Versatile Express Cortex A15 machine.
Changes in v2:
- rework the first patch to fix vgic emulation;
- fix code style in head.S;
- more comments in head.S;
- always hook xen_fixmap in the pagetable but fill in the console fixmap
only if EARLY_UART_ADDRESS;
- detect the processor ID and call a processor specific initialization
function;
- move the ACTLR initialization to the CortexA15 initialization
function;
- move the ACTLR_* defines to processor-ca15.h;
- use preprocessor definitions in kick_cpus;
- do not manually increment the base address register, use an offset
instead;
- move kick_cpus to proc-ca15.S;
- add a comment to described why we need a DSB at the beginning of
write_pte;
- do not issue ISB within write_pte, call isb() afterwards whenever
appropriate;
- issue DSB after DCCMVAC in write_pte to make sure that the data flush
is completed before proceeding;
- make flush_xen_dcache_va take a void* as argument;
- introduce flush_xen_dcache_va_range;
- return always at least 1 cpu from device_tree_cpus;
- skip nodes with names that don't start with "cpu".
Stefano Stabellini (7):
xen/arm: pass the correct bit-per-interrupt argument to vgic_irq_rank
xen/arm: setup the fixmap in head.S
pl011: set baud and clock_hz to the right defaults for Versatile Express
xen/arm: set the SMP bit in the ACTLR register
xen/arm: wake up secondary cpus
xen/arm: flush D-cache and I-cache when appropriate
xen/arm: get the number of cpus from device tree
xen/arch/arm/Makefile | 1 +
xen/arch/arm/early_printk.c | 5 +-
xen/arch/arm/gic.c | 4 +-
xen/arch/arm/gic.h | 4 +-
xen/arch/arm/head.S | 67 ++++++++++++++++++++++---------
xen/arch/arm/mm.c | 20 ++++++++-
xen/arch/arm/mode_switch.S | 28 +++++++++++++
xen/arch/arm/proc-ca15.S | 28 +++++++++++++
xen/arch/arm/setup.c | 9 +++-
xen/arch/arm/smpboot.c | 2 +
xen/arch/arm/vgic.c | 25 ++++++------
xen/common/device_tree.c | 19 +++++++++
xen/drivers/char/pl011.c | 4 +-
xen/include/asm-arm/cpregs.h | 1 +
xen/include/asm-arm/page.h | 51 ++++++++++++++++++++++-
xen/include/asm-arm/platform_vexpress.h | 17 ++++++++
xen/include/asm-arm/processor-ca15.h | 45 +++++++++++++++++++++
xen/include/asm-arm/processor.h | 3 +
xen/include/xen/device_tree.h | 1 +
19 files changed, 285 insertions(+), 49 deletions(-)
Cheers,
Stefano
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |