xtensa: support DMA_ATTR_NO_KERNEL_MAPPING attribute
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 15 Feb 2018 00:12:54 +0000 (16:12 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Wed, 11 Jul 2018 18:13:33 +0000 (11:13 -0700)
commitadbfa4e6f99689511f1079452508d9d22417544c
treef4dc68dbca63090aa995105ac8a87f182eb8e05f
parent3f2bbf443e21584887f954328ceee8515d7691e7
xtensa: support DMA_ATTR_NO_KERNEL_MAPPING attribute

An application that doesn't need kernel mapping of the DMA memory it
allocates may specify DMA_ATTR_NO_KERNEL_MAPPING attribute to allocation
function. Support this attribute and return address of the first struct
page that covers the allocation.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/pci-dma.c