hv_uio_generic: map ringbuffer phys addr
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 14 Sep 2018 16:10:19 +0000 (09:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Sep 2018 18:33:24 +0000 (20:33 +0200)
commit9da197f1df40c838f0f06abf94cd23b4ed81e522
tree06c55d63c9ce570aceab05bbd918b4f1ee535404
parentbfddabfa230452cea32aae82f9cd85ab22601acf
hv_uio_generic: map ringbuffer phys addr

The ring buffer is contiguous IOVA and is mapped via phys addr
for sysfs file. Use same method for the UIO mapping.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio_hv_generic.c