freebsd-skq/sys/ofed/include/linux
jhb 61b7ea7a3d 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
..
mlx4 Add SIOCGI2C ioctl support to the driver. Would work only on ConnectX-3 2015-05-27 13:42:28 +00:00
bitops.h find_next_bit() and find_next_zero_bit(): if the caller-specified offset 2015-05-10 22:04:42 +00:00
cache.h Add more functions to the Linux kernel compatibility layer. Add some 2015-01-19 20:39:48 +00:00
cdev.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
clocksource.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
compat.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
compiler.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
completion.h Fixes for the LinuxAPI completion wrappers: 2015-03-27 16:16:23 +00:00
delay.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
device.h Fix broken implementation of "kvasprintf()" function by adding missing 2015-07-03 11:16:20 +00:00
dma-attrs.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
dma-mapping.h Add more functions to the Linux kernel compatibility layer. Add some 2015-01-19 20:39:48 +00:00
dmapool.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
err.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
errno.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
etherdevice.h Add more functions to the Linux kernel compatibility layer. Add some 2015-01-19 20:39:48 +00:00
file.h fd: make rights a mandatory argument to fget_unlocked 2015-06-16 09:52:36 +00:00
fs.h Fixes for the LinuxAPI completion wrappers: 2015-03-27 16:16:23 +00:00
gfp.h Add more functions to the Linux kernel compatibility layer. Add some 2015-02-13 16:35:12 +00:00
hardirq.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
idr.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
if_arp.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
if_ether.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
if_vlan.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
in6.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
in.h ipv4_is_zeronet() and ipv4_is_loopback() expect an address in network 2015-08-07 18:30:11 +00:00
inetdevice.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
interrupt.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
io-mapping.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
io.h Add more functions to the Linux kernel compatibility layer. Add some 2015-01-19 20:39:48 +00:00
ioctl.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
jhash.h
jiffies.h msecs_to_jiffies() is implemented using tvtohz(9), which always returns a 2015-05-10 22:21:00 +00:00
kdev_t.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
kernel.h Define PTR_ALIGN() macro which will be needed coming Mellanox driver 2015-03-04 09:58:39 +00:00
kmod.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
kobject.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
kref.h Add more functions to the Linux kernel compatibility layer. Add some 2015-02-13 16:35:12 +00:00
kthread.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
ktime.h Add more functions to the Linux kernel compatibility layer. Add some 2015-01-19 20:39:48 +00:00
linux_compat.c Currently the Linux character device mmap handling only supports mmap 2015-09-03 18:27:39 +00:00
linux_idr.c Don't drop the idr lock before verifying that the newly-inserted element 2015-05-02 00:26:38 +00:00
linux_kmod.c Start importing the basic OFED linux compatibility layer changes made 2015-01-17 16:36:39 +00:00
linux_pci.c Start importing the basic OFED linux compatibility layer changes made 2015-01-17 16:36:39 +00:00
linux_radix.c - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
list.h Fixes and updates for the Linux compatibility layer: 2015-01-06 10:02:14 +00:00
lockdep.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
log2.h Macro fixes: 2015-02-23 12:54:46 +00:00
math64.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
miscdevice.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
mm.h Currently the Linux character device mmap handling only supports mmap 2015-09-03 18:27:39 +00:00
module.h Add missing linuxapi module dependencies and always use the FreeBSD 2015-01-19 21:53:00 +00:00
moduleparam.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
mutex.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
net.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
netdevice.h Update the OFED Linux compatibility layer and 2014-10-15 13:40:29 +00:00
notifier.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
page.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
pci.h Add more functions to the Linux kernel compatibility layer. Add some 2015-02-13 16:35:12 +00:00
poll.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
printk.h Define standard formatting strings to print GIDs 2015-02-16 21:26:16 +00:00
radix-tree.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
random.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
rbtree.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
rwlock.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
rwsem.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
scatterlist.h Update the OFED Linux compatibility layer and 2014-10-15 13:40:29 +00:00
sched.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
semaphore.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
slab.h Add more functions to the Linux kernel compatibility layer. Add some 2015-01-19 20:39:48 +00:00
socket.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
spinlock.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
string.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
sysfs.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
timer.h CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
types.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
uaccess.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
vmalloc.h Update the OFED Linux compatibility layer and 2014-10-15 13:40:29 +00:00
wait.h - Update the OFED Linux Emulation layer as a preparation for a 2014-08-27 13:21:53 +00:00
workqueue.h CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00