Re: [PATCH v2 15/36] KVM: arm64: Move userspace system registers into separate function

2017-12-14 Thread Christoffer Dall
On Mon, Dec 11, 2017 at 10:14:23AM +, Marc Zyngier wrote: > On 07/12/17 17:06, Christoffer Dall wrote: > > There's a semantic difference between the EL1 registers that control > > operation of a kernel running in EL1 and EL1 registers that only control > > userspace execution in EL0. Since we

Re: [PATCH v2 15/36] KVM: arm64: Move userspace system registers into separate function

2017-12-11 Thread Marc Zyngier
On 07/12/17 17:06, Christoffer Dall wrote: > There's a semantic difference between the EL1 registers that control > operation of a kernel running in EL1 and EL1 registers that only control > userspace execution in EL0. Since we can defer saving/restoring the > latter, move them into their own func

[PATCH v2 15/36] KVM: arm64: Move userspace system registers into separate function

2017-12-07 Thread Christoffer Dall
There's a semantic difference between the EL1 registers that control operation of a kernel running in EL1 and EL1 registers that only control userspace execution in EL0. Since we can defer saving/restoring the latter, move them into their own function. We also take this chance to rename the funct