[PATCH v2] gpu: drm: armada: Adding new typedef vm_fault_t

Souptick Joarder jrdr.linux at gmail.com
Mon Jun 4 05:16:26 UTC 2018


On Wed, May 23, 2018 at 3:09 PM, Souptick Joarder <jrdr.linux at gmail.com> wrote:
> On Wed, May 16, 2018 at 10:05 AM, Souptick Joarder <jrdr.linux at gmail.com> wrote:
>> On Fri, May 11, 2018 at 2:52 PM, Russell King - ARM Linux
>> <linux at armlinux.org.uk> wrote:
>>> On Thu, May 10, 2018 at 08:34:48PM +0530, Souptick Joarder wrote:
>>>> Use new return type vm_fault_t for fault handler in
>>>> struct vm_operations_struct. For now, this is just
>>>> documenting that the function returns a VM_FAULT
>>>> value rather than an errno. Once all instances are
>>>> converted, vm_fault_t will become a distinct type.
>>>>
>>>> commit 1c8f422059ae ("mm: change return type to vm_fault_t")
>>>>
>>>> Previously vm_insert_pfn() returns err which driver
>>>> mapped into VM_FAULT_* type. The new function
>>>> vmf_insert_pfn() will replace this inefficiency by
>>>> returning VM_FAULT_* type.
>>>>
>>>> Signed-off-by: Souptick Joarder <jrdr.linux at gmail.com>
>>>> Reviewed-by: Matthew Wilcox <mawilcox at microsoft.com>
>>>
>>> Acked-by: Russell King <rmk+kernel at armlinux.org.uk>
>>>
>>> Thanks.
>>
>> If no further comment, we would like to get this patch in queue
>> for 4.18.
>
> We would like to get this patch in queue
> for 4.18.

We  would like to get this patch in 4.18.


More information about the dri-devel mailing list