Re: [RFC/PATCH 0/6] DSPBRIDGE: fix mem+cache API issues

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

 



On Fri, May 21, 2010 at 12:42 PM, Felipe Contreras
<felipe.contreras@xxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux