Re: [Xen-devel] [PATCH v5 02/16] x86/hvm: remove multiple open coded 'chunking' loops

2015-07-02 Thread Andrew Cooper
On 02/07/15 16:55, Paul Durrant wrote: >> -Original Message- >> From: Andrew Cooper [mailto:andrew.coop...@citrix.com] >> Sent: 02 July 2015 16:38 >> To: Paul Durrant; xen-de...@lists.xenproject.org >> Cc: Keir (Xen.org); Jan Beulich >> Subject: Re: [PATCH v5 02/16] x86/hvm: remove multiple

Re: [Xen-devel] [PATCH v5 02/16] x86/hvm: remove multiple open coded 'chunking' loops

2015-07-02 Thread Paul Durrant
> -Original Message- > From: Andrew Cooper [mailto:andrew.coop...@citrix.com] > Sent: 02 July 2015 16:38 > To: Paul Durrant; xen-de...@lists.xenproject.org > Cc: Keir (Xen.org); Jan Beulich > Subject: Re: [PATCH v5 02/16] x86/hvm: remove multiple open coded > 'chunking' loops > > On 30/06/

Re: [Xen-devel] [PATCH v5 02/16] x86/hvm: remove multiple open coded 'chunking' loops

2015-07-02 Thread Andrew Cooper
On 30/06/15 14:05, Paul Durrant wrote: > ...in hvmemul_read/write() > > Add hvmemul_phys_mmio_access() and hvmemul_linear_mmio_access() functions > to reduce code duplication. > > NOTE: This patch also introduces a change in 'chunking' around a page > boundary. Previously (for example) an 8 b

[Xen-devel] [PATCH v5 02/16] x86/hvm: remove multiple open coded 'chunking' loops

2015-06-30 Thread Paul Durrant
...in hvmemul_read/write() Add hvmemul_phys_mmio_access() and hvmemul_linear_mmio_access() functions to reduce code duplication. NOTE: This patch also introduces a change in 'chunking' around a page boundary. Previously (for example) an 8 byte access at the last byte of a page would g