Dominique Martinet
e64d89cd48
hfi: bases for user_exp_rcv
...
This implements a skeleton setup function and call it on ioctl
Many missing points:
- missing pci mapping to make setup work
- no clear (passed to linux, so will likely bug out)
- missing locks/safe-guards
Conflicts:
kernel/Makefile.build.in
2018-06-13 00:31:35 +09:00
Dominique Martinet
2dc85ee417
user_sdma: fix use of uninitialized variable (vl)
...
This defines a single field in hfi1_pportdata, getting offset
from dwarf headers -- need to compute that at configure time
2018-06-13 00:31:35 +09:00
Aram Santogidis
076e6b9b12
Enabled _sdma_txadd_daddr()
2018-06-13 00:31:30 +09:00
Aram Santogidis
74a636a612
Updated structs to use completion{} and wait_queue_head_t{} and added struct size checkes in hfi1_aio_write()
2018-06-13 00:31:30 +09:00
Aram Santogidis
c4ca4ae3ab
Updated struct hfi1_devdata and confirmed its size
2018-06-13 00:31:30 +09:00
Aram Santogidis
b024a486b9
Updated hfi1_filedata {} and confirmed its size against the original on Linux
...
Conflicts:
kernel/include/hfi1/hfi.h
2018-06-13 00:31:30 +09:00
Aram Santogidis
fe4c461f2f
Updated kcalloc/kmalloc calls and enabled sdma_select_user_engine dependencies
...
Conflicts:
kernel/include/hfi1/ihk_hfi1_common.h
2018-06-13 00:31:29 +09:00
Aram Santogidis
64e2639adc
* The relevant files have been modified in order to compile with McKernel.
...
Conflicts:
kernel/Makefile.build.in
2018-06-13 00:31:29 +09:00
Aram Santogidis
14b360e867
* Added the original files of the driver as a basis for comparison
...
Conflicts:
kernel/include/hfi1/sdma.h
kernel/sdma.c
kernel/user_sdma.c
2018-06-13 00:31:29 +09:00