Re: [Xen-devel] [PATCH 1/2] xen/arm32: Introduce alternative runtime patching

2017-03-27 Thread Wei Chen
Hi Julien, On 2017/3/24 18:48, Julien Grall wrote: > On 03/17/2017 06:35 AM, Wei Chen wrote: >> Hi Julien, > > Hi Wei, > > Sorry for the late answer, I missed that e-mail. > >> On 2017/3/17 6:24, Julien Grall wrote: >>> On 03/16/2017 09:53 AM, Wei Chen wrote: > > [...] > +/* + * Decode t

Re: [Xen-devel] [PATCH 1/2] xen/arm32: Introduce alternative runtime patching

2017-03-24 Thread Julien Grall
On 03/17/2017 06:35 AM, Wei Chen wrote: Hi Julien, Hi Wei, Sorry for the late answer, I missed that e-mail. On 2017/3/17 6:24, Julien Grall wrote: On 03/16/2017 09:53 AM, Wei Chen wrote: [...] +/* + * Decode the branch offset from a branch instruction's imm field. + * The branch offset

Re: [Xen-devel] [PATCH 1/2] xen/arm32: Introduce alternative runtime patching

2017-03-21 Thread Konrad Rzeszutek Wilk
On Mon, Mar 20, 2017 at 06:45:18AM +, Wei Chen wrote: > Hi Konrad, > > On 2017/3/17 22:34, Konrad Rzeszutek Wilk wrote: > > On Thu, Mar 16, 2017 at 05:53:38PM +0800, Wei Chen wrote: > >> This patch is based on the implementation of ARM64, it introduces > >> alternative runtime patching to ARM3

Re: [Xen-devel] [PATCH 1/2] xen/arm32: Introduce alternative runtime patching

2017-03-19 Thread Wei Chen
Hi Konrad, On 2017/3/17 22:34, Konrad Rzeszutek Wilk wrote: > On Thu, Mar 16, 2017 at 05:53:38PM +0800, Wei Chen wrote: >> This patch is based on the implementation of ARM64, it introduces >> alternative runtime patching to ARM32. This allows to patch assembly >> instruction at runtime to either f

Re: [Xen-devel] [PATCH 1/2] xen/arm32: Introduce alternative runtime patching

2017-03-17 Thread Konrad Rzeszutek Wilk
On Thu, Mar 16, 2017 at 05:53:38PM +0800, Wei Chen wrote: > This patch is based on the implementation of ARM64, it introduces > alternative runtime patching to ARM32. This allows to patch assembly > instruction at runtime to either fix hardware bugs or optimize for > certain hardware features on AR

Re: [Xen-devel] [PATCH 1/2] xen/arm32: Introduce alternative runtime patching

2017-03-16 Thread Wei Chen
Hi Julien, On 2017/3/17 6:24, Julien Grall wrote: > Hi Wei, > > On 03/16/2017 09:53 AM, Wei Chen wrote: >> This patch is based on the implementation of ARM64, it introduces >> alternative runtime patching to ARM32. This allows to patch assembly >> instruction at runtime to either fix hardware bugs

Re: [Xen-devel] [PATCH 1/2] xen/arm32: Introduce alternative runtime patching

2017-03-16 Thread Julien Grall
Hi Wei, On 03/16/2017 09:53 AM, Wei Chen wrote: This patch is based on the implementation of ARM64, it introduces alternative runtime patching to ARM32. This allows to patch assembly instruction at runtime to either fix hardware bugs or optimize for certain hardware features on ARM32 platform.

[Xen-devel] [PATCH 1/2] xen/arm32: Introduce alternative runtime patching

2017-03-16 Thread Wei Chen
This patch is based on the implementation of ARM64, it introduces alternative runtime patching to ARM32. This allows to patch assembly instruction at runtime to either fix hardware bugs or optimize for certain hardware features on ARM32 platform. Xen hypervisor is using ARM execution state only on