Re: [PATCH v7 5/10] KVM: arm/arm64: preserve host MDCR_EL2 value

2019-03-25 Thread Amit Daniel Kachhap
Hi, On 3/26/19 1:34 AM, Kristina Martsenko wrote: On 19/03/2019 08:30, Amit Daniel Kachhap wrote: Save host MDCR_EL2 value during kvm HYP initialisation and restore after every switch from host to guest. There should not be any change in functionality due to this. The value of mdcr_el2 is now

Re: [PATCH v7 5/10] KVM: arm/arm64: preserve host MDCR_EL2 value

2019-03-25 Thread Kristina Martsenko
On 19/03/2019 08:30, Amit Daniel Kachhap wrote: > Save host MDCR_EL2 value during kvm HYP initialisation and restore > after every switch from host to guest. There should not be any > change in functionality due to this. > > The value of mdcr_el2 is now stored in struct kvm_cpu_context as > both h

[PATCH v7 5/10] KVM: arm/arm64: preserve host MDCR_EL2 value

2019-03-19 Thread Amit Daniel Kachhap
Save host MDCR_EL2 value during kvm HYP initialisation and restore after every switch from host to guest. There should not be any change in functionality due to this. The value of mdcr_el2 is now stored in struct kvm_cpu_context as both host and guest can now use this field in a common way. Signe