Re: [PATCH v5 3/6] xen/arm: introduce xen_is_dma_coherent

2014-10-24 Thread Ian Campbell
On Thu, 2014-10-23 at 18:27 +0100, Stefano Stabellini wrote: > Introduce a utility function to check whether a device is dma coherent. > The current implementation is suboptimal. Let's rework it later in > common arch/arm code. > > Use it to figure out whether we need to issue cache maintenance >

Re: [PATCH v5 3/6] xen/arm: introduce xen_is_dma_coherent

2014-10-24 Thread Ian Campbell
On Thu, 2014-10-23 at 18:27 +0100, Stefano Stabellini wrote: Introduce a utility function to check whether a device is dma coherent. The current implementation is suboptimal. Let's rework it later in common arch/arm code. Use it to figure out whether we need to issue cache maintenance

[PATCH v5 3/6] xen/arm: introduce xen_is_dma_coherent

2014-10-23 Thread Stefano Stabellini
Introduce a utility function to check whether a device is dma coherent. The current implementation is suboptimal. Let's rework it later in common arch/arm code. Use it to figure out whether we need to issue cache maintenance operations instead of checking on the existence of a particular dma_ops

[PATCH v5 3/6] xen/arm: introduce xen_is_dma_coherent

2014-10-23 Thread Stefano Stabellini
Introduce a utility function to check whether a device is dma coherent. The current implementation is suboptimal. Let's rework it later in common arch/arm code. Use it to figure out whether we need to issue cache maintenance operations instead of checking on the existence of a particular dma_ops