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

Re: [Xen-devel] [PATCH v13 1/9] iommu: introduce the concept of DFN...


On 10/3/18 12:00 AM, Paul Durrant wrote:
> ...meaning 'device DMA frame number' i.e. a frame number mapped in the IOMMU
> (rather than the MMU) and hence used for DMA address translation.
> This patch is a largely cosmetic change that substitutes the terms 'gfn'
> and 'gaddr' for 'dfn' and 'daddr' in all the places where the frame number
> or address relate to a device rather than the CPU.
> The parts that are not purely cosmetic are:
>   - the introduction of a type-safe declaration of dfn_t and definition of
>     INVALID_DFN to make the substitution of gfn_x(INVALID_GFN) mechanical.
>   - the introduction of __dfn_to_daddr and __daddr_to_dfn (and type-safe
>     variants without the leading __) with some use of the former.
> Subsequent patches will convert code to make use of type-safe DFNs.
> Signed-off-by: Paul Durrant<paul.durrant@xxxxxxxxxx>
> Acked-by: Jan Beulich<jbeulich@xxxxxxxx>
> Reviewed-by: Kevin Tian<kevin.tian@xxxxxxxxx>
> Acked-by: Julien Grall<julien.grall@xxxxxxx>
> ---
> Cc: Wei Liu<wei.liu2@xxxxxxxxxx>
> Cc: Suravee Suthikulpanit<suravee.suthikulpanit@xxxxxxx>
> Cc: Stefano Stabellini<sstabellini@xxxxxxxxxx>

Acked-by: Suravee Suthikulpanit <suravee.suthikulpanit@xxxxxxx>

Xen-devel mailing list



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