Displaying 5 results from an estimated 5 matches for "mtd_char".
Did you mean:
add_char
2020 Jun 03
2
[PATCH 4/6] vhost_vdpa: support doorbell mapping via mmap
..._flags |= VM_IO | VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP;
> return 0;
> }
> EXPORT_SYMBOL(remap_pfn_range);
>
>
> So things aren't going to work if you have a fixed PFN
> which is the case of the hardware device.
Looking at the implementation of some drivers e.g mtd_char. If I read
the code correctly, we can do this by providing get_unmapped_area method
and use physical address directly.
But start form CONFIG_MMU should be fine.? Do you prefer making
vhost_vdpa depends on CONFIG_MMU or just fail mmap when CONFIG_MMU is
not configured?
Thanks
>
>
>&...
2020 Jun 03
2
[PATCH 4/6] vhost_vdpa: support doorbell mapping via mmap
..._flags |= VM_IO | VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP;
> return 0;
> }
> EXPORT_SYMBOL(remap_pfn_range);
>
>
> So things aren't going to work if you have a fixed PFN
> which is the case of the hardware device.
Looking at the implementation of some drivers e.g mtd_char. If I read
the code correctly, we can do this by providing get_unmapped_area method
and use physical address directly.
But start form CONFIG_MMU should be fine.? Do you prefer making
vhost_vdpa depends on CONFIG_MMU or just fail mmap when CONFIG_MMU is
not configured?
Thanks
>
>
>&...
2020 Jun 03
0
[PATCH 4/6] vhost_vdpa: support doorbell mapping via mmap
...TDUMP;
> > return 0;
> > }
> > EXPORT_SYMBOL(remap_pfn_range);
> >
> >
> > So things aren't going to work if you have a fixed PFN
> > which is the case of the hardware device.
>
>
> Looking at the implementation of some drivers e.g mtd_char. If I read the
> code correctly, we can do this by providing get_unmapped_area method and use
> physical address directly.
>
> But start form CONFIG_MMU should be fine.? Do you prefer making vhost_vdpa
> depends on CONFIG_MMU or just fail mmap when CONFIG_MMU is not configured?
>...
2020 Jun 02
2
[PATCH 4/6] vhost_vdpa: support doorbell mapping via mmap
On 2020/6/2 ??12:56, Michael S. Tsirkin wrote:
> On Tue, Jun 02, 2020 at 03:22:49AM +0800, kbuild test robot wrote:
>> Hi Jason,
>>
>> I love your patch! Yet something to improve:
>>
>> [auto build test ERROR on vhost/linux-next]
>> [also build test ERROR on linus/master v5.7 next-20200529]
>> [if your patch is applied to the wrong git tree, please drop
2020 Jun 02
2
[PATCH 4/6] vhost_vdpa: support doorbell mapping via mmap
On 2020/6/2 ??12:56, Michael S. Tsirkin wrote:
> On Tue, Jun 02, 2020 at 03:22:49AM +0800, kbuild test robot wrote:
>> Hi Jason,
>>
>> I love your patch! Yet something to improve:
>>
>> [auto build test ERROR on vhost/linux-next]
>> [also build test ERROR on linus/master v5.7 next-20200529]
>> [if your patch is applied to the wrong git tree, please drop