[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] x86/hvm: increase struct hvm_vcpu_io's mmio_large_read[]


  • To: Jan Beulich <JBeulich@xxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxx>
  • From: Keir Fraser <keir.xen@xxxxxxxxx>
  • Date: Wed, 27 Jun 2012 15:50:01 +0100
  • Delivery-date: Wed, 27 Jun 2012 14:50:38 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: Ac1UdCD8zUotw42i9kKToGdVC98Dww==
  • Thread-topic: [Xen-devel] [PATCH] x86/hvm: increase struct hvm_vcpu_io's mmio_large_read[]

On 27/06/2012 14:38, "Jan Beulich" <JBeulich@xxxxxxxx> 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 <jbeulich@xxxxxxxx>

Acked-by: Keir Fraser <keir@xxxxxxx>

> --- 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@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.