freebsd-skq/sys/ofed/include
John Baldwin 188458ea7c Currently the Linux character device mmap handling only supports mmap
operations that map a single page that has an associated vm_page_t.
This does not permit mapping larger regions (such as a PCI memory
BAR) and it does not permit mapping addresses beyond the top of RAM
(such as a 64-bit BAR located above the top of RAM).

Instead of using a single OBJT_DEVICE object and passing the physaddr via
the offset as a hack, create a new sglist and OBJT_SG object for each
mmap request. The requested memory attribute is applied to the object
thus affecting all pages mapped by the request.

Reviewed by:	hselasky, np
MFC after:	1 week
Sponsored by:	Chelsio
Differential Revision:	https://reviews.freebsd.org/D3386
2015-09-03 18:27:39 +00:00
..
asm Update the OFED Linux compatibility layer and 2014-10-15 13:40:29 +00:00
linux Currently the Linux character device mmap handling only supports mmap 2015-09-03 18:27:39 +00:00
net Fix compilation of LINT-NOINET kernel target after r278886. 2015-02-17 21:59:15 +00:00
rdma Update the infiniband stack to Mellanox's OFED version 2.1. 2015-02-17 08:40:27 +00:00