summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorDevesh Sharma <devesh.sharma@emulex.com>2014-09-05 19:35:40 +0530
committerRoland Dreier <roland@purestorage.com>2014-10-10 09:43:01 -0700
commit1b76d38332271d5a0468ae5e465c5ea534c473c6 (patch)
treeac7fb58ebad72710e11a385a1d0d5f3c2e54994e /drivers/input
parentbf67472ca1fac19c81367601bd4ba7d17bdc9f6e (diff)
downloadop-kernel-dev-1b76d38332271d5a0468ae5e465c5ea534c473c6.zip
op-kernel-dev-1b76d38332271d5a0468ae5e465c5ea534c473c6.tar.gz
RDMA/ocrdma: Convert kernel VA to PA for mmap in user
In some platforms, when iommu is enabled, the bus address returned by dma_alloc_coherent is different than the physical address. ocrdma should use physical address for mmap-ing the queue memory for the applications. This patch adds the use of virt_to_phys() at all such places where kernel buffer is mapped to user process context. Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud