Re: [Xen-devel] [PATCH 16/18] xen/arm: Isolate the SError between the context switch of 2 vCPUs

2017-03-23 Thread Stefano Stabellini
On Thu, 23 Mar 2017, Wei Chen wrote: > Hi Julien, > > On 2017/3/22 20:29, Julien Grall wrote: > > Hi Wei, > > > > On 22/03/17 08:53, Wei Chen wrote: > >> Hi Stefano, > >> > >> On 2017/3/21 5:46, Stefano Stabellini wrote: > >>> On Mon, 13 Mar 2017, Wei Chen wrote: > If there is a pending

Re: [Xen-devel] [PATCH 16/18] xen/arm: Isolate the SError between the context switch of 2 vCPUs

2017-03-23 Thread Wei Chen
Hi Julien, On 2017/3/22 20:29, Julien Grall wrote: > Hi Wei, > > On 22/03/17 08:53, Wei Chen wrote: >> Hi Stefano, >> >> On 2017/3/21 5:46, Stefano Stabellini wrote: >>> On Mon, 13 Mar 2017, Wei Chen wrote: If there is a pending SError while we are doing context switch, if the SError

Re: [Xen-devel] [PATCH 16/18] xen/arm: Isolate the SError between the context switch of 2 vCPUs

2017-03-22 Thread Julien Grall
Hi Wei, On 22/03/17 08:53, Wei Chen wrote: Hi Stefano, On 2017/3/21 5:46, Stefano Stabellini wrote: On Mon, 13 Mar 2017, Wei Chen wrote: If there is a pending SError while we are doing context switch, if the SError handle option is "FORWARD", We have to guranatee this serror to be caught by

Re: [Xen-devel] [PATCH 16/18] xen/arm: Isolate the SError between the context switch of 2 vCPUs

2017-03-22 Thread Wei Chen
Hi Stefano, On 2017/3/21 5:46, Stefano Stabellini wrote: > On Mon, 13 Mar 2017, Wei Chen wrote: >> If there is a pending SError while we are doing context switch, if the >> SError handle option is "FORWARD", We have to guranatee this serror to >> be caught by current vCPU, otherwise it will be

Re: [Xen-devel] [PATCH 16/18] xen/arm: Isolate the SError between the context switch of 2 vCPUs

2017-03-20 Thread Stefano Stabellini
On Mon, 13 Mar 2017, Wei Chen wrote: > If there is a pending SError while we are doing context switch, if the > SError handle option is "FORWARD", We have to guranatee this serror to > be caught by current vCPU, otherwise it will be caught by next vCPU and > be forwarded to this wrong vCPU. > >

[Xen-devel] [PATCH 16/18] xen/arm: Isolate the SError between the context switch of 2 vCPUs

2017-03-13 Thread Wei Chen
If there is a pending SError while we are doing context switch, if the SError handle option is "FORWARD", We have to guranatee this serror to be caught by current vCPU, otherwise it will be caught by next vCPU and be forwarded to this wrong vCPU. We don't want to export serror_op accessing to