Re: [Xen-devel] [PATCH v2 4/6] xen/arm: make vpidr per vcpu

2018-02-20 Thread Stefano Stabellini
On Tue, 20 Feb 2018, Julien Grall wrote: > Hi Stefano, > > On 19/02/18 21:58, Stefano Stabellini wrote: > > On big.LITTLE systems not all cores have the same midr. Instead of > > storing only one vpidr per domain, make it per vcpu and initialize it to > > the value of the midr of the pcpu where

Re: [Xen-devel] [PATCH v2 4/6] xen/arm: make vpidr per vcpu

2018-02-20 Thread Julien Grall
Hi Stefano, On 19/02/18 21:58, Stefano Stabellini wrote: On big.LITTLE systems not all cores have the same midr. Instead of storing only one vpidr per domain, make it per vcpu and initialize it to the value of the midr of the pcpu where the vcpu will run. This way, assuming that the vcpu has

[Xen-devel] [PATCH v2 4/6] xen/arm: make vpidr per vcpu

2018-02-19 Thread Stefano Stabellini
On big.LITTLE systems not all cores have the same midr. Instead of storing only one vpidr per domain, make it per vcpu and initialize it to the value of the midr of the pcpu where the vcpu will run. This way, assuming that the vcpu has been created with the right pcpu affinity, the guest will be