]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Cache registers during state change
authorMichael J. Ruhl <michael.j.ruhl@intel.com>
Tue, 21 Mar 2017 00:24:51 +0000 (17:24 -0700)
committerDoug Ledford <dledford@redhat.com>
Wed, 5 Apr 2017 18:45:09 +0000 (14:45 -0400)
commitdfa08748a07d3a08b3d140c3f1a3364b0318fdb9
tree7367b484a621a78648b02406aa2e33c519fa02b1
parentd87acdd065af7d7e8de132d0d99db625fe275a4a
IB/hfi1: Cache registers during state change

When the LCB is going offline, inopportune port queries can cause
benign error messages to be logged.  To deal with this, cache the
registers just before setting the LCB to offline, allowing queries to
return without eliciting the error.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/chip.c