Re: [PATCH] xen/gnttab: Use phys_addr_t to describe the grant frame base address

2014-01-28 Thread David Vrabel
On 28/01/14 01:03, Julien Grall wrote: > On ARM, address size can be 32 bits or 64 bits (if > CONFIG_ARCH_PHYS_ADDR_T_64BIT > is enabled). > We can't assume that the grant frame base address will always fits in an > unsigned long. Use phys_addr_t instead of unsigned long as argument for >

Re: [PATCH] xen/gnttab: Use phys_addr_t to describe the grant frame base address

2014-01-28 Thread Ian Campbell
On Tue, 2014-01-28 at 01:03 +, Julien Grall wrote: > On ARM, address size can be 32 bits or 64 bits (if > CONFIG_ARCH_PHYS_ADDR_T_64BIT > is enabled). > We can't assume that the grant frame base address will always fits in an > unsigned long. Use phys_addr_t instead of unsigned long as

Re: [PATCH] xen/gnttab: Use phys_addr_t to describe the grant frame base address

2014-01-28 Thread Ian Campbell
On Tue, 2014-01-28 at 01:03 +, Julien Grall wrote: On ARM, address size can be 32 bits or 64 bits (if CONFIG_ARCH_PHYS_ADDR_T_64BIT is enabled). We can't assume that the grant frame base address will always fits in an unsigned long. Use phys_addr_t instead of unsigned long as argument

Re: [PATCH] xen/gnttab: Use phys_addr_t to describe the grant frame base address

2014-01-28 Thread David Vrabel
On 28/01/14 01:03, Julien Grall wrote: On ARM, address size can be 32 bits or 64 bits (if CONFIG_ARCH_PHYS_ADDR_T_64BIT is enabled). We can't assume that the grant frame base address will always fits in an unsigned long. Use phys_addr_t instead of unsigned long as argument for

[PATCH] xen/gnttab: Use phys_addr_t to describe the grant frame base address

2014-01-27 Thread Julien Grall
On ARM, address size can be 32 bits or 64 bits (if CONFIG_ARCH_PHYS_ADDR_T_64BIT is enabled). We can't assume that the grant frame base address will always fits in an unsigned long. Use phys_addr_t instead of unsigned long as argument for gnttab_setup_auto_xlat_frames. Signed-off-by: Julien Grall

[PATCH] xen/gnttab: Use phys_addr_t to describe the grant frame base address

2014-01-27 Thread Julien Grall
On ARM, address size can be 32 bits or 64 bits (if CONFIG_ARCH_PHYS_ADDR_T_64BIT is enabled). We can't assume that the grant frame base address will always fits in an unsigned long. Use phys_addr_t instead of unsigned long as argument for gnttab_setup_auto_xlat_frames. Signed-off-by: Julien Grall