staging/rdma/hfi1: Fix code to reset ASIC CSRs on FLR
authorEaswar Hariharan <easwar.hariharan@intel.com>
Mon, 26 Oct 2015 14:28:28 +0000 (10:28 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 08:16:54 +0000 (17:16 +0900)
commit7c03ed85678cec9792430bdd728d3565e4cce9ae
tree5d804ddd2725b170b4705a07a81356185dd3f19b
parent13a69f5299688074666e1f74b90ddc6beae43e6d
staging/rdma/hfi1: Fix code to reset ASIC CSRs on FLR

The ASIC registers were not reset on FLR, and the code to
protect the ASIC block against multiple initializations by
peer HFIs did not extend to multiple ASICs in a system. This
patch addresses this gap.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/chip.c
drivers/staging/rdma/hfi1/firmware.c