History

IB/hfi1: Add CSRs for CONFIG_SDMA_VERBOSITY

3 CSRs needed by the CONFIG_SDMA_VERBOSITY code were removed during the CSR clean up. Adding these CSRs back to resolve 0-day build failure: https://lists.01.org/pipermail/kbuild-all/2015-August/011919.html

Jubin John committed 11 years ago

Commit 6fd8eda1 parent b6364012 files · +5 −2Browse files

Unified · Split

2 files
  1. drivers/staging/rdma/hfi1/chip_registers.h +3 −0
  2. drivers/staging/rdma/hfi1/sdma.c +2 −2
drivers/staging/rdma/hfi1/chip_registers.h+3−0
@@ -1285,5 +1285,8 @@ · 1284 unmodified lines
12851285 #define PCIE_CFG_REG_PL106_GEN3_EQ_PSET_REQ_VEC_SHIFT 8
12861286 #define PCIE_CFG_REG_PL106_GEN3_EQ_EVAL2MS_DISABLE_SMASK 0x20ull
12871287 #define PCIE_CFG_REG_PL106_GEN3_EQ_PHASE23_EXIT_MODE_SMASK 0x10ull
1288+#define CCE_INT_BLOCKED (CCE + 0x000000110C00)
1289+#define SEND_DMA_IDLE_CNT (TXE + 0x000000200040)
1290+#define SEND_DMA_DESC_FETCHED_CNT (TXE + 0x000000200058)
12881291
12891292 #endif /* DEF_CHIP_REG */
drivers/staging/rdma/hfi1/sdma.c+2−2
@@ -1769,7 +1769,7 @@ void sdma_dumpstate(struct sdma_engine *sde) · 1768 unmodified lines
17691769 sdma_dumpstate_helper(SD(ENG_ERR_MASK));
17701770
17711771 for (i = 0; i < CCE_NUM_INT_CSRS; ++i) {
1772− sdma_dumpstate_helper2(CCE_INT_STATUS));
1772+ sdma_dumpstate_helper2(CCE_INT_STATUS);
17731773 sdma_dumpstate_helper2(CCE_INT_MASK);
17741774 sdma_dumpstate_helper2(CCE_INT_BLOCKED);
17751775 }
@@ -1777,7 +1777,7 @@ void sdma_dumpstate(struct sdma_engine *sde) · 1 unmodified line
17771777 sdma_dumpstate_helper(SD(TAIL));
17781778 sdma_dumpstate_helper(SD(HEAD));
17791779 sdma_dumpstate_helper(SD(PRIORITY_THLD));
1780− sdma_dumpstate_helper(SD(IDLE_CNT);
1780+ sdma_dumpstate_helper(SD(IDLE_CNT));
17811781 sdma_dumpstate_helper(SD(RELOAD_CNT));
17821782 sdma_dumpstate_helper(SD(DESC_CNT));
17831783 sdma_dumpstate_helper(SD(DESC_FETCHED_CNT));