aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ocrdma/ocrdma_main.c
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2015-07-22 14:14:17 -0500
committerDoug Ledford <dledford@redhat.com>2015-07-24 11:34:17 -0400
commit49fa63d8c2f95b636cc31a7164aeac0309dfa3c9 (patch)
tree62dfa1931b937c76d58a25bb67c62505067085e0 /drivers/infiniband/hw/ocrdma/ocrdma_main.c
parentIB/core: Destroy ocrdma_dev_id IDR on module exit (diff)
downloadlinux-dev-49fa63d8c2f95b636cc31a7164aeac0309dfa3c9.tar.xz
linux-dev-49fa63d8c2f95b636cc31a7164aeac0309dfa3c9.zip
RDMA/cxgb3: fail get_dma_mr on 64 bit arches
T3 HW only supports 32 bit MRs. If the system uses 64 bit memory addresses, then a registered 32 bit MR will wrap and write to the wrong memory when used with addresses > 4GB. To prevent this, simply fail to allocate an MR on 64 bit machines (other means of registering memory are still available and software can still work, we just don't allow this means of memory registration). Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma/ocrdma_main.c')
0 files changed, 0 insertions, 0 deletions