]> rtime.felk.cvut.cz Git - jailhouse.git/commit
arm: attribute virtual IDs to the cell cpus
authorJean-Philippe Brucker <jean-philippe.brucker@arm.com>
Wed, 9 Jul 2014 16:18:12 +0000 (17:18 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 19 Dec 2014 10:04:07 +0000 (11:04 +0100)
commit653ffb750a23bb478168269dea3a8ef08b64f3c7
tree6909b95f98e7f50d9cf2fb8a71afecd247d55e98
parent187bf71fc1e381d089b2403c24baa97376453547
arm: attribute virtual IDs to the cell cpus

To handle SMP guests, the cells need to be assigned virtual CPU IDs
through the VMPIDR register. For the moment, those IDs are simply
generated incrementally on each CPU.

This change will allow to use the same guest code in different cells.

Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
[Jan: add "arm_" prefix, uninline arm_cpu_virt2phys]
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/arm/control.c
hypervisor/arch/arm/gic-v3.c
hypervisor/arch/arm/include/asm/cell.h
hypervisor/arch/arm/include/asm/percpu.h
hypervisor/arch/arm/include/asm/processor.h
hypervisor/arch/arm/include/asm/sysregs.h
hypervisor/arch/arm/setup.c