diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2019-01-19 16:29:54 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2019-02-19 22:05:35 +0100 |
commit | 32f139551954512bfdf9d558341af453bb8b12b4 (patch) | |
tree | d7fc878ae67aab3ab2300b3ca72e51f03ff3482b /arch/arc/boot | |
parent | ARM: KVM: Teach some form of type-safety to kvm_call_hyp (diff) | |
download | linux-32f139551954512bfdf9d558341af453bb8b12b4.tar.xz linux-32f139551954512bfdf9d558341af453bb8b12b4.zip |
arm/arm64: KVM: Statically configure the host's view of MPIDR
We currently eagerly save/restore MPIDR. It turns out to be
slightly pointless:
- On the host, this value is known as soon as we're scheduled on a
physical CPU
- In the guest, this value cannot change, as it is set by KVM
(and this is a read-only register)
The result of the above is that we can perfectly avoid the eager
saving of MPIDR_EL1, and only keep the restore. We just have
to setup the host contexts appropriately at boot time.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@arm.com>
Diffstat (limited to 'arch/arc/boot')
0 files changed, 0 insertions, 0 deletions