From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] x86/hvm: increase struct hvm_vcpu_io's mmio_large_read[] Date: Wed, 27 Jun 2012 15:50:01 +0100 Message-ID: References: <4FEB290B020000780008C3BB@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4FEB290B020000780008C3BB@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich , xen-devel List-Id: xen-devel@lists.xenproject.org On 27/06/2012 14:38, "Jan Beulich" wrote: > Since the emulator now supports a few 256-bit memory operations, this > array needs to follow (and the comments should, too). > > To limit growth, re-order the mmio_large_write_* fields so that the > two mmio_large_*_bytes fields end up adjacent to each other. > > Signed-off-by: Jan Beulich Acked-by: Keir Fraser > --- a/xen/include/asm-x86/hvm/vcpu.h > +++ b/xen/include/asm-x86/hvm/vcpu.h > @@ -59,13 +59,13 @@ struct hvm_vcpu_io { > unsigned long mmio_gva; > unsigned long mmio_gpfn; > > - /* We may read up to m128 as a number of device-model transactions. */ > + /* We may read up to m256 as a number of device-model transactions. */ > paddr_t mmio_large_read_pa; > - uint8_t mmio_large_read[16]; > + uint8_t mmio_large_read[32]; > unsigned int mmio_large_read_bytes; > - /* We may write up to m128 as a number of device-model transactions. */ > - paddr_t mmio_large_write_pa; > + /* We may write up to m256 as a number of device-model transactions. */ > unsigned int mmio_large_write_bytes; > + paddr_t mmio_large_write_pa; > }; > > #define VMCX_EADDR (~0ULL) > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel