base-hw: make ARMv7/v8 hypervisor smp ready

* Introduce hypervisor-stack per CPU
* Introduce host world context per CPU
* Mark EL2 translation table memory as inner shareable
* The VMID is not bound to a single VCPU, but to the Vm_session as a whole
* Set affinity of the VCPU accordingly
* Add VMPIDR to VM state

Ref #3926
This commit is contained in:
Stefan Kalkowski
2020-09-11 14:43:29 +02:00
committed by Christian Helmuth
parent 1d826a2c48
commit 7298b00013
22 changed files with 350 additions and 321 deletions

View File

@@ -50,6 +50,7 @@ struct Genode::Vm_state : Genode::Cpu_state_modes
Genode::uint32_t tls2 { 0 };
Genode::uint32_t tls3 { 0 };
Genode::uint32_t cpacr { 0 };
Genode::uint32_t vmpidr { 0 };
/**
* Fpu registers