Re: [Xen-devel] [PATCH 15/18] xen/arm: Introduce a helper to synchronize SError

2017-03-22 Thread Wei Chen
Hi Stefano, On 2017/3/21 5:44, Stefano Stabellini wrote: > On Mon, 20 Mar 2017, Stefano Stabellini wrote: >> On Mon, 13 Mar 2017, Wei Chen wrote: >>> We may have to isolate the SError between the context switch of >>> 2 vCPUs or may have to prevent slipping hypervisor SError to guest. >> >> I

Re: [Xen-devel] [PATCH 15/18] xen/arm: Introduce a helper to synchronize SError

2017-03-20 Thread Stefano Stabellini
On Mon, 20 Mar 2017, Stefano Stabellini wrote: > On Mon, 13 Mar 2017, Wei Chen wrote: > > We may have to isolate the SError between the context switch of > > 2 vCPUs or may have to prevent slipping hypervisor SError to guest. > > I thought the problem is not the risk of slipping hypervisor

Re: [Xen-devel] [PATCH 15/18] xen/arm: Introduce a helper to synchronize SError

2017-03-20 Thread Stefano Stabellini
On Mon, 13 Mar 2017, Wei Chen wrote: > We may have to isolate the SError between the context switch of > 2 vCPUs or may have to prevent slipping hypervisor SError to guest. I thought the problem is not the risk of slipping hypervisor SErrors to guest, but the risk of slipping previous guest

[Xen-devel] [PATCH 15/18] xen/arm: Introduce a helper to synchronize SError

2017-03-13 Thread Wei Chen
We may have to isolate the SError between the context switch of 2 vCPUs or may have to prevent slipping hypervisor SError to guest. So we need a helper to synchronize SError before context switching or returning to guest. This function will be used by the later patches in this series, we use "#if