IB/hfi1: Fix dc8051 multiple qword memory reads
authorDean Luick <dean.luick@intel.com>
Thu, 8 Dec 2016 03:32:22 +0000 (19:32 -0800)
committerDoug Ledford <dledford@redhat.com>
Sun, 11 Dec 2016 20:25:13 +0000 (15:25 -0500)
commitd7cf4ccf6fe52694142f65cce82decb3fe833f48
treecd7c44ab53d6efe1bdd35ddffedec2077bfaafa7
parent62aeddbf28fa63872e8f13f47177338b0f1fd8b5
IB/hfi1: Fix dc8051 multiple qword memory reads

When reading multiple dc8051 data memory locations
at once, the read enabled field must be toggled
at every address change.  Do that by writing only
the address first, then writing the enable.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/firmware.c