summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rdma/hfi1/chip.c
diff options
context:
space:
mode:
authorMike Marciniszyn2016-02-03 23:31:05 +0100
committerDoug Ledford2016-03-11 02:37:46 +0100
commitc7cb7635d91d9126431159ee7f90b7137c908e89 (patch)
tree183672d5233ea575dc1e019dff40734e9f26b68e /drivers/staging/rdma/hfi1/chip.c
parentstaging/rdma/hfi1: cleanup messages on qsfp_read() failure (diff)
downloadkernel-qcow2-linux-c7cb7635d91d9126431159ee7f90b7137c908e89.tar.gz
kernel-qcow2-linux-c7cb7635d91d9126431159ee7f90b7137c908e89.tar.xz
kernel-qcow2-linux-c7cb7635d91d9126431159ee7f90b7137c908e89.zip
staging/rdma/hfi1: Fix QSFP memory read/write across 128 byte boundary
The QSFP memory cache reads both lower and upper page 0H in one shot, which leads to the address counter wrapping around to the beginning of lower page 00H at byte 128, as defined by SFF-8636. This patch fixes this by modifying the underlying QSFP read and writes to avoid this wrap around. Reviewed-by: Dean Luick <dean.luick@intel.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Easwar Hariharan <easwar.hariharan@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/staging/rdma/hfi1/chip.c')
0 files changed, 0 insertions, 0 deletions