On 10/11/2018 03:44 AM, Rock Lee wrote:
On Thu, Oct 11, 2018 at 4:12 PM Dan Carpenter wrote:
On Thu, Oct 11, 2018 at 11:24:49AM +0800, Rock Lee wrote:
Hi
I tested direct io with a ion allocated buffer, got a -EFAULT
error. It turned out that ion_mmap() set VM_IO & VM_PFNMAP, but
check_vm
On Thu, Oct 11, 2018 at 4:12 PM Dan Carpenter wrote:
>
> On Thu, Oct 11, 2018 at 11:24:49AM +0800, Rock Lee wrote:
> > Hi
> > I tested direct io with a ion allocated buffer, got a -EFAULT
> > error. It turned out that ion_mmap() set VM_IO & VM_PFNMAP, but
> > check_vma_flags() (do_direct_IO()
On Thu, Oct 11, 2018 at 11:24:49AM +0800, Rock Lee wrote:
> Hi
> I tested direct io with a ion allocated buffer, got a -EFAULT
> error. It turned out that ion_mmap() set VM_IO & VM_PFNMAP, but
> check_vma_flags() (do_direct_IO() calls it) doesn't allow that VMA has
> these flags set. Could you
Hi
I tested direct io with a ion allocated buffer, got a -EFAULT
error. It turned out that ion_mmap() set VM_IO & VM_PFNMAP, but
check_vma_flags() (do_direct_IO() calls it) doesn't allow that VMA has
these flags set. Could you give me any hit that could solve this
issue?
--
Cheers,
Rock
_