On Fri, May 21, 2010 at 12:42 PM, Felipe Contreras
<felipe.contre...@gmail.com> wrote:
> Although I'm still worried that VM_IO != write-combine, but I guess
> it's a safe assumption to do for now.

small update we missed:

The original code is ignoring VM_IO buffers as well:

static int memory_sync_vma(unsigned long start, u32 len,
                           enum dsp_flushtype ftype)
{
...
                if (vma->vm_flags & (VM_IO | VM_PFNMAP))
                        return -EINVAL;
...
}

So the new code is actually behaving in exactly the same manner
(besides the error code, which is now -EFAULT and not -EINVAL).
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to