ARM: KVM: perform hypervisor init on all online CPUs

In order to support KVM on a SMP host, it is necessary
to initialize the hypervisor on all CPUs, mostly by making
sure each CPU gets its own hypervisor stack and runs the
HYP init code.

Note that this code doesn't handle CPU hotplug yet.

As part of this patch, create_hyp_mappings() and remove_hyp_mappings()
are reworked to take kernel addresses instead of unsigned long
parameters, making the code a bit cleaner.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
4 files changed