Re: [Xen-devel] [PATCH for-4.12 v3 4/5] xen/arm: Implement Set/Way operations

2018-12-18 Thread Julien Grall
Hi Andrew, On 12/14/18 9:31 PM, Andrew Cooper wrote: On 14/12/2018 03:58, Julien Grall wrote: Set/Way operations are used to perform maintenance on a given cache. At the moment, Set/Way operations are not trapped and therefore a guest OS will directly act on the local cache. However, a vCPU may

Re: [Xen-devel] [PATCH for-4.12 v3 4/5] xen/arm: Implement Set/Way operations

2018-12-17 Thread Stefano Stabellini
On Mon, 17 Dec 2018, Julien Grall wrote: > Hi, > > On 14/12/2018 21:22, Stefano Stabellini wrote: > > On Fri, 14 Dec 2018, Julien Grall wrote: > > > + > > > +/* > > > + * The full P2M may require some cleaning (e.g when emulation > > > + * set/way). As the action can take a long time,

Re: [Xen-devel] [PATCH for-4.12 v3 4/5] xen/arm: Implement Set/Way operations

2018-12-17 Thread Julien Grall
Hi, On 14/12/2018 21:22, Stefano Stabellini wrote: On Fri, 14 Dec 2018, Julien Grall wrote: + +/* + * The full P2M may require some cleaning (e.g when emulation + * set/way). As the action can take a long time, it requires + * preemption. So this is deferred until we return to t

Re: [Xen-devel] [PATCH for-4.12 v3 4/5] xen/arm: Implement Set/Way operations

2018-12-14 Thread Andrew Cooper
On 14/12/2018 03:58, Julien Grall wrote: > Set/Way operations are used to perform maintenance on a given cache. > At the moment, Set/Way operations are not trapped and therefore a guest > OS will directly act on the local cache. However, a vCPU may migrate to > another pCPU in the middle of the pro

Re: [Xen-devel] [PATCH for-4.12 v3 4/5] xen/arm: Implement Set/Way operations

2018-12-14 Thread Stefano Stabellini
On Fri, 14 Dec 2018, Julien Grall wrote: > Set/Way operations are used to perform maintenance on a given cache. > At the moment, Set/Way operations are not trapped and therefore a guest > OS will directly act on the local cache. However, a vCPU may migrate to > another pCPU in the middle of the pro

[Xen-devel] [PATCH for-4.12 v3 4/5] xen/arm: Implement Set/Way operations

2018-12-14 Thread Julien Grall
Set/Way operations are used to perform maintenance on a given cache. At the moment, Set/Way operations are not trapped and therefore a guest OS will directly act on the local cache. However, a vCPU may migrate to another pCPU in the middle of the processor. This will result to have cache with stall