diff options
| author | Sudeep Dutt <[email protected]> | 2015-09-29 18:15:55 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-10-04 12:54:54 +0100 |
| commit | f1a2d865e78d00a4b6d364a8e341b6ebe4f10228 (patch) | |
| tree | 15f7765db8a71d53251d9619f2ee0cb3e2840959 /tools/perf/scripts/python/bin | |
| parent | 168ef015ca053e34c1d66c61c3c3f2cbaadbb20a (diff) | |
misc: mic: SCIF remote memory map/unmap interface
This patch implements the SCIF mmap/munmap interface. A similar
capability is provided to kernel clients via the
scif_get_pages()/scif_put_pages() APIs. The SCIF mmap interface
queries to check if a window is valid and then remaps the local
virtual address to the remote physical pages. These mappings are
subsequently destroyed upon receipt of the VMA close operation or
scif_get_pages(). This functionality allows SCIF users to directly
access remote memory without any driver interaction once the mappings
are created thereby providing bare-metal PCIe latency. These mappings
are zapped to avoid RMA accesses from user space, if a Coprocessor is
reset.
Reviewed-by: Ashutosh Dixit <[email protected]>
Reviewed-by: Nikhil Rao <[email protected]>
Signed-off-by: Sudeep Dutt <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions