Re: [PATCH 28/37] KVM: arm64: Move common VHE/non-VHE trap config in separate functions

2017-11-25 Thread Russell King - ARM Linux
On Sat, Nov 25, 2017 at 01:43:47PM +0300, Yury Norov wrote: > On Thu, Oct 12, 2017 at 12:41:32PM +0200, Christoffer Dall wrote: > > As we are about to be more lazy with some of the trap configuration > > register read/writes for VHE systems, move the logic that is currently > > shared between VHE a

Re: [PATCH 28/37] KVM: arm64: Move common VHE/non-VHE trap config in separate functions

2017-11-25 Thread Yury Norov
On Thu, Oct 12, 2017 at 12:41:32PM +0200, Christoffer Dall wrote: > As we are about to be more lazy with some of the trap configuration > register read/writes for VHE systems, move the logic that is currently > shared between VHE and non-VHE into a separate function which can be > called from eithe

[PATCH 28/37] KVM: arm64: Move common VHE/non-VHE trap config in separate functions

2017-10-12 Thread Christoffer Dall
As we are about to be more lazy with some of the trap configuration register read/writes for VHE systems, move the logic that is currently shared between VHE and non-VHE into a separate function which can be called from either the world-switch path or from vcpu_load/vcpu_put. Signed-off-by: Christ