diff options
author | Steve Wise <swise@opengridcomputing.com> | 2015-07-22 14:14:17 -0500 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-07-24 11:34:17 -0400 |
commit | 49fa63d8c2f95b636cc31a7164aeac0309dfa3c9 (patch) | |
tree | 62dfa1931b937c76d58a25bb67c62505067085e0 /drivers/infiniband/ulp | |
parent | d8b2ba7c5928173fe1c12bd2545f5ed85d1c3c7a (diff) |
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/ulp')
0 files changed, 0 insertions, 0 deletions