diff --git a/hif/src/ce/ce_main.c b/hif/src/ce/ce_main.c index 7581cb0d60..408fd80d38 100644 --- a/hif/src/ce/ce_main.c +++ b/hif/src/ce/ce_main.c @@ -1113,7 +1113,7 @@ void hif_enable_fastpath(struct hif_opaque_softc *hif_ctx) HIF_INFO("%s, srng rings do not support fastpath", __func__); return; } - HIF_INFO("%s, Enabling fastpath mode", __func__); + HIF_DBG("%s, Enabling fastpath mode", __func__); scn->fastpath_mode_on = true; } @@ -1172,7 +1172,7 @@ void ce_h2t_tx_ce_cleanup(struct CE_handle *ce_hdl) return; if (sc->fastpath_mode_on && ce_state->htt_tx_data) { - HIF_INFO("%s %d Fastpath mode ON, Cleaning up HTT Tx CE", + HIF_DBG("%s %d Fastpath mode ON, Cleaning up HTT Tx CE", __func__, __LINE__); sw_index = src_ring->sw_index; write_index = src_ring->sw_index; @@ -1666,7 +1666,7 @@ static int hif_completion_thread_startup(struct HIF_CE_state *hif_state) attr = hif_state->host_ce_config[pipe_num]; if (attr.src_nentries) { /* pipe used to send to target */ - HIF_INFO_MED("%s: pipe_num:%d pipe_info:0x%p", + HIF_DBG("%s: pipe_num:%d pipe_info:0x%p", __func__, pipe_num, pipe_info); ce_send_cb_register(pipe_info->ce_hdl, hif_pci_ce_send_done, pipe_info, @@ -2499,17 +2499,17 @@ int hif_config_ce(struct hif_softc *scn) } scn->athdiag_procfs_inited = true; - HIF_INFO_MED("%s: ce_init done", __func__); + HIF_DBG("%s: ce_init done", __func__); init_tasklet_workers(hif_hdl); hif_fake_apps_init_ctx(scn); - HIF_TRACE("%s: X, ret = %d", __func__, rv); + HIF_DBG("%s: X, ret = %d", __func__, rv); #ifdef ADRASTEA_SHADOW_REGISTERS - HIF_INFO("%s, Using Shadow Registers instead of CE Registers", __func__); + HIF_DBG("%s, Using Shadow Registers instead of CE Registers", __func__); for (i = 0; i < NUM_SHADOW_REGISTERS; i++) { - HIF_INFO("%s Shadow Register%d is mapped to address %x", + HIF_DBG("%s Shadow Register%d is mapped to address %x", __func__, i, (A_TARGET_READ(scn, (SHADOW_ADDRESS(i))) << 2)); } @@ -3010,7 +3010,7 @@ static inline void hif_config_rri_on_ddr(struct hif_softc *scn) low_paddr = BITS0_TO_31(paddr_rri_on_ddr); high_paddr = BITS32_TO_35(paddr_rri_on_ddr); - HIF_INFO("%s using srri and drri from DDR", __func__); + HIF_DBG("%s using srri and drri from DDR", __func__); WRITE_CE_DDR_ADDRESS_FOR_RRI_LOW(scn, low_paddr); WRITE_CE_DDR_ADDRESS_FOR_RRI_HIGH(scn, high_paddr); diff --git a/hif/src/dispatcher/dummy.c b/hif/src/dispatcher/dummy.c index dcd9ee8346..a1c6c74338 100644 --- a/hif/src/dispatcher/dummy.c +++ b/hif/src/dispatcher/dummy.c @@ -39,7 +39,7 @@ */ void hif_dummy_bus_prevent_linkdown(struct hif_softc *scn, bool flag) { - HIF_ERROR("wlan: %s pcie power collapse ignored", + HIF_DBG("wlan: %s pcie power collapse ignored", (flag ? "disable" : "enable")); } diff --git a/hif/src/hif_main.c b/hif/src/hif_main.c index 957b46ff91..ef40706723 100644 --- a/hif/src/hif_main.c +++ b/hif/src/hif_main.c @@ -544,7 +544,7 @@ QDF_STATUS hif_enable(struct hif_opaque_softc *hif_ctx, struct device *dev, scn->hif_init_done = true; - HIF_TRACE("%s: OK", __func__); + HIF_DBG("%s: OK", __func__); return QDF_STATUS_SUCCESS; } @@ -568,7 +568,7 @@ void hif_disable(struct hif_opaque_softc *hif_ctx, enum hif_disable_type type) scn->notice_send = false; - HIF_INFO("%s: X", __func__); + HIF_DBG("%s: X", __func__); } void hif_display_stats(struct hif_opaque_softc *hif_ctx) diff --git a/hif/src/hif_napi.c b/hif/src/hif_napi.c index 18e9bf8dc7..dbf9d64fea 100644 --- a/hif/src/hif_napi.c +++ b/hif/src/hif_napi.c @@ -140,7 +140,7 @@ int hif_napi_create(struct hif_opaque_softc *hif_ctx, goto hnc_err; } - HIF_INFO("%s: NAPI structures initialized, rc=%d", + HIF_DBG("%s: NAPI structures initialized, rc=%d", __func__, rc); } for (i = 0; i < hif->ce_count; i++) { @@ -186,7 +186,7 @@ int hif_napi_create(struct hif_opaque_softc *hif_ctx, * protection as there should be no-one around yet */ napid->ce_map |= (0x01 << i); - HIF_INFO("%s: NAPI id %d created for pipe %d", __func__, + HIF_DBG("%s: NAPI id %d created for pipe %d", __func__, napii->id, i); } NAPI_DEBUG("NAPI ids created for all applicable pipes"); @@ -242,7 +242,7 @@ int hif_napi_destroy(struct hif_opaque_softc *hif_ctx, if (hif->napi_data.state == HIF_NAPI_CONF_UP) { if (force) { napi_disable(&(napii->napi)); - HIF_INFO("%s: NAPI entry %d force disabled", + HIF_DBG("%s: NAPI entry %d force disabled", __func__, id); NAPI_DEBUG("NAPI %d force disabled", id); } else { @@ -265,7 +265,7 @@ int hif_napi_destroy(struct hif_opaque_softc *hif_ctx, napid->ce_map &= ~(0x01 << ce); napii->scale = 0; - HIF_INFO("%s: NAPI %d destroyed\n", __func__, id); + HIF_DBG("%s: NAPI %d destroyed\n", __func__, id); /* if there are no active instances and * if they are all destroyed, @@ -278,7 +278,7 @@ int hif_napi_destroy(struct hif_opaque_softc *hif_ctx, qdf_spinlock_destroy(&(napid->lock)); memset(napid, 0, sizeof(struct qca_napi_data)); - HIF_INFO("%s: no NAPI instances. Zapped.", + HIF_DBG("%s: no NAPI instances. Zapped.", __func__); } } @@ -323,7 +323,7 @@ int hif_napi_lro_flush_cb_register(struct hif_opaque_softc *hif_hdl, napii = &(napid->napis[i]); napii->lro_flush_cb = lro_flush_handler; napii->lro_ctx = data; - HIF_ERROR("Registering LRO for ce_id %d NAPI callback for %d flush_cb %p, lro_data %p\n", + HIF_DBG("Registering LRO for ce_id %d NAPI callback for %d flush_cb %p, lro_data %p\n", i, napii->id, napii->lro_flush_cb, napii->lro_ctx); rc++; @@ -359,7 +359,7 @@ void hif_napi_lro_flush_cb_deregister(struct hif_opaque_softc *hif_hdl, ce_state = scn->ce_id_to_state[i]; if ((ce_state != NULL) && (ce_state->htt_rx_data)) { napii = &(napid->napis[i]); - HIF_ERROR("deRegistering LRO for ce_id %d NAPI callback for %d flush_cb %p, lro_data %p\n", + HIF_DBG("deRegistering LRO for ce_id %d NAPI callback for %d flush_cb %p, lro_data %p\n", i, napii->id, napii->lro_flush_cb, napii->lro_ctx); qdf_spin_lock_bh(&napii->lro_unloading_lock); @@ -492,25 +492,25 @@ int hif_napi_event(struct hif_opaque_softc *hif_ctx, enum qca_napi_event event, case NAPI_EVT_INT_STATE: { int on = (data != ((void *)0)); - HIF_INFO("%s: recved evnt: STATE_CMD %d; v = %d (state=0x%0x)", + HIF_DBG("%s: recved evnt: STATE_CMD %d; v = %d (state=0x%0x)", __func__, event, on, prev_state); if (on) if (prev_state & HIF_NAPI_CONF_UP) { - HIF_INFO("%s: duplicate NAPI conf ON msg", + HIF_DBG("%s: duplicate NAPI conf ON msg", __func__); } else { - HIF_INFO("%s: setting state to ON", + HIF_DBG("%s: setting state to ON", __func__); napid->state |= HIF_NAPI_CONF_UP; } else /* off request */ if (prev_state & HIF_NAPI_CONF_UP) { - HIF_INFO("%s: setting state to OFF", + HIF_DBG("%s: setting state to OFF", __func__); napid->state &= ~HIF_NAPI_CONF_UP; } else { - HIF_INFO("%s: duplicate NAPI conf OFF msg", + HIF_DBG("%s: duplicate NAPI conf OFF msg", __func__); } break; @@ -640,7 +640,7 @@ int hif_napi_event(struct hif_opaque_softc *hif_ctx, enum qca_napi_event event, } } } else { - HIF_INFO("%s: no change in hif napi state (still %d)", + HIF_DBG("%s: no change in hif napi state (still %d)", __func__, prev_state); } @@ -1520,7 +1520,7 @@ static inline void hif_napi_bl_irq(struct qca_napi_data *napid, bool bl_flag) else irq_modify_status(napid->napis[i].irq, IRQ_NO_BALANCING, 0); - HIF_INFO("%s: bl_flag %d CE %d", __func__, bl_flag, i); + HIF_DBG("%s: bl_flag %d CE %d", __func__, bl_flag, i); } } diff --git a/hif/src/pcie/if_pci.c b/hif/src/pcie/if_pci.c index 3c3c21c28f..d03aa54111 100644 --- a/hif/src/pcie/if_pci.c +++ b/hif/src/pcie/if_pci.c @@ -2723,7 +2723,7 @@ static void hif_runtime_prevent_linkdown(struct hif_softc *scn, bool flag) */ void hif_pci_prevent_linkdown(struct hif_softc *scn, bool flag) { - HIF_ERROR("wlan: %s pcie power collapse", + HIF_DBG("wlan: %s pcie power collapse", (flag ? "disable" : "enable")); hif_runtime_prevent_linkdown(scn, flag); pld_wlan_pm_control(scn->qdf_dev->dev, flag); @@ -2731,7 +2731,7 @@ void hif_pci_prevent_linkdown(struct hif_softc *scn, bool flag) #else void hif_pci_prevent_linkdown(struct hif_softc *scn, bool flag) { - HIF_ERROR("wlan: %s pcie power collapse", + HIF_DBG("wlan: %s pcie power collapse", (flag ? "disable" : "enable")); hif_runtime_prevent_linkdown(scn, flag); } diff --git a/hif/src/snoc/if_snoc.c b/hif/src/snoc/if_snoc.c index f1eec33c7a..66f2f90f70 100644 --- a/hif/src/snoc/if_snoc.c +++ b/hif/src/snoc/if_snoc.c @@ -289,7 +289,7 @@ QDF_STATUS hif_snoc_enable_bus(struct hif_softc *ol_sc, /* the bus should remain on durring suspend for snoc */ hif_vote_link_up(GET_HIF_OPAQUE_HDL(ol_sc)); - HIF_TRACE("%s: X - hif_type = 0x%x, target_type = 0x%x", + HIF_DBG("%s: X - hif_type = 0x%x, target_type = 0x%x", __func__, hif_type, target_type); return QDF_STATUS_SUCCESS;