|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v8 6/8] xen/arm: introduce GNTTABOP_cache_flush
>>> On 20.10.14 at 17:24, <Ian.Campbell@xxxxxxxxxx> wrote:
> On Mon, 2014-10-20 at 10:48 +0100, Stefano Stabellini wrote:
>>
>> @@ -574,6 +576,25 @@ struct gnttab_swap_grant_ref {
>> typedef struct gnttab_swap_grant_ref gnttab_swap_grant_ref_t;
>> DEFINE_XEN_GUEST_HANDLE(gnttab_swap_grant_ref_t);
>>
>> +/*
>> + * Issue one or more cache maintenance operations on a portion of a
>> + * page granted to the calling domain by a foreign domain.
>> + */
>> +struct gnttab_cache_flush {
>> + union {
>> + uint64_t dev_bus_addr;
>> + grant_ref_t ref;
>> + } a;
>> + uint16_t offset; /* offset from start of grant */
>> + uint16_t length; /* size within the grant */
>
> So are these not valid when used with dev_bus_addr? I can see that being
> the case for offset, but length too?
Both ought to be valid, and dev_bus_addr should be page aligned.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |