summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorBhadram Varka <vbhadram@nvidia.com>2016-11-01 00:45:27 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-11-17 11:10:40 -0500
commit5494be36c9d67fa56d1d12416754f53731cc4ddc (patch)
tree7e06bd3f891b685cbdcc3336fe8a14ed9c359b8d /drivers/net
parent1917c088b25955e9244b4ba34ea48e3ee5c0db8c (diff)
nvidia: eqos: change pr_info to pr_debug
Bug 1828460 Change-Id: I0c78c129e6c7a82c0b35bcfd725bfbeee2654aa6 Signed-off-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-on: http://git-master/r/1245638 (cherry picked from commit 4e7b7bcb863380a2bcb8b256fee2ceb4961b83f7) Reviewed-on: http://git-master/r/1253179 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/nvidia/eqos/drv.c4
-rw-r--r--drivers/net/ethernet/nvidia/eqos/init.c18
2 files changed, 11 insertions, 11 deletions
diff --git a/drivers/net/ethernet/nvidia/eqos/drv.c b/drivers/net/ethernet/nvidia/eqos/drv.c
index 1ee3ca2fa..b9047e639 100644
--- a/drivers/net/ethernet/nvidia/eqos/drv.c
+++ b/drivers/net/ethernet/nvidia/eqos/drv.c
@@ -393,7 +393,7 @@ void handle_mac_intrs(struct eqos_prv_data *pdata, ULONG dma_isr)
393 pdata->xstats.pmt_irq_n++; 393 pdata->xstats.pmt_irq_n++;
394 eqos_status = S_MAC_ISR_PMTIS; 394 eqos_status = S_MAC_ISR_PMTIS;
395 MAC_PMTCSR_RD(mac_pmtcsr); 395 MAC_PMTCSR_RD(mac_pmtcsr);
396 pr_info("commonisr: PMTCSR : %#lx\n", mac_pmtcsr); 396 pr_debug("commonisr: PMTCSR : %#lx\n", mac_pmtcsr);
397 if (pdata->power_down) 397 if (pdata->power_down)
398 eqos_powerup(pdata->dev, EQOS_IOCTL_CONTEXT); 398 eqos_powerup(pdata->dev, EQOS_IOCTL_CONTEXT);
399 } 399 }
@@ -402,7 +402,7 @@ void handle_mac_intrs(struct eqos_prv_data *pdata, ULONG dma_isr)
402 if (GET_VALUE 402 if (GET_VALUE
403 (mac_isr, MAC_ISR_RGSMIIS_LPOS, MAC_ISR_RGSMIIS_HPOS) & 1) { 403 (mac_isr, MAC_ISR_RGSMIIS_LPOS, MAC_ISR_RGSMIIS_HPOS) & 1) {
404 MAC_PCS_RD(mac_pcs); 404 MAC_PCS_RD(mac_pcs);
405 pr_info("RGMII/SMII interrupt: MAC_PCS = %#lx\n", 405 pr_debug("RGMII/SMII interrupt: MAC_PCS = %#lx\n",
406 mac_pcs); 406 mac_pcs);
407#ifdef HWA_NV_1637630 407#ifdef HWA_NV_1637630
408 408
diff --git a/drivers/net/ethernet/nvidia/eqos/init.c b/drivers/net/ethernet/nvidia/eqos/init.c
index d051fe280..4a6675ec1 100644
--- a/drivers/net/ethernet/nvidia/eqos/init.c
+++ b/drivers/net/ethernet/nvidia/eqos/init.c
@@ -99,12 +99,12 @@ irqreturn_t EQOS_ISR_SW_EQOS_POWER(int irq, void *device_id)
99 CLK_CRTL0_RD(clk_ctrl); 99 CLK_CRTL0_RD(clk_ctrl);
100 100
101 if (clk_ctrl & BIT(31)) { 101 if (clk_ctrl & BIT(31)) {
102 pr_info("power_isr: phy_intr received\n"); 102 pr_debug("power_isr: phy_intr received\n");
103 return IRQ_NONE; 103 return IRQ_NONE;
104 } else { 104 } else {
105 MAC_ISR_RD(mac_isr); 105 MAC_ISR_RD(mac_isr);
106 MAC_IMR_RD(mac_imr); 106 MAC_IMR_RD(mac_imr);
107 pr_info("power_isr: power_intr received, MAC_ISR =%#lx, MAC_IMR =%#lx\n", 107 pr_debug("power_isr: power_intr received, MAC_ISR =%#lx, MAC_IMR =%#lx\n",
108 mac_isr, mac_imr); 108 mac_isr, mac_imr);
109 109
110 mac_isr = (mac_isr & mac_imr); 110 mac_isr = (mac_isr & mac_imr);
@@ -118,7 +118,7 @@ irqreturn_t EQOS_ISR_SW_EQOS_POWER(int irq, void *device_id)
118 & 1) { 118 & 1) {
119 pdata->xstats.pmt_irq_n++; 119 pdata->xstats.pmt_irq_n++;
120 MAC_PMTCSR_RD(mac_pmtcsr); 120 MAC_PMTCSR_RD(mac_pmtcsr);
121 pr_info("power_isr: PMTCSR : %#lx\n", mac_pmtcsr); 121 pr_debug("power_isr: PMTCSR : %#lx\n", mac_pmtcsr);
122 if (pdata->power_down) 122 if (pdata->power_down)
123 eqos_powerup(pdata->dev, EQOS_IOCTL_CONTEXT); 123 eqos_powerup(pdata->dev, EQOS_IOCTL_CONTEXT);
124 } 124 }
@@ -126,7 +126,7 @@ irqreturn_t EQOS_ISR_SW_EQOS_POWER(int irq, void *device_id)
126 /* RxLPI exit EEE interrupts */ 126 /* RxLPI exit EEE interrupts */
127 if (GET_VALUE(mac_isr, MAC_ISR_LPI_LPOS, MAC_ISR_LPI_HPOS) 127 if (GET_VALUE(mac_isr, MAC_ISR_LPI_LPOS, MAC_ISR_LPI_HPOS)
128 & 1) { 128 & 1) {
129 pr_info("power_isr: LPI intr received\n"); 129 pr_debug("power_isr: LPI intr received\n");
130 eqos_handle_eee_interrupt(pdata); 130 eqos_handle_eee_interrupt(pdata);
131#ifdef HWA_NV_1650337 131#ifdef HWA_NV_1650337
132 /* FIXME: remove once root cause of HWA_NV_1650337 is known */ 132 /* FIXME: remove once root cause of HWA_NV_1650337 is known */
@@ -135,7 +135,7 @@ irqreturn_t EQOS_ISR_SW_EQOS_POWER(int irq, void *device_id)
135 * MAC_ISR and need to still read MAC_LPI_CONTROL_STS 135 * MAC_ISR and need to still read MAC_LPI_CONTROL_STS
136 * register to get rid of interrupt storm issue. 136 * register to get rid of interrupt storm issue.
137 */ 137 */
138 pr_info("power_isr: LPIIS not set in MAC_ISR but still" 138 pr_debug("power_isr: LPIIS not set in MAC_ISR but still"
139 " reading MAC_LPI_CONTROL_STS\n"); 139 " reading MAC_LPI_CONTROL_STS\n");
140 eqos_handle_eee_interrupt(pdata); 140 eqos_handle_eee_interrupt(pdata);
141#endif 141#endif
@@ -583,7 +583,7 @@ static int tegra_eqos_max_state(struct thermal_cooling_device *tcd,
583{ 583{
584 struct eqos_prv_data *pdata = tcd->devdata; 584 struct eqos_prv_data *pdata = tcd->devdata;
585 585
586 pr_info("%s state=%d\n", __func__, pdata->therm_state.counter); 586 pr_debug("%s state=%d\n", __func__, pdata->therm_state.counter);
587 *state = TEGRA_EQOS_THERM_MAX_STATE; 587 *state = TEGRA_EQOS_THERM_MAX_STATE;
588 588
589 return 0; 589 return 0;
@@ -594,7 +594,7 @@ static int tegra_eqos_cur_state(struct thermal_cooling_device *tcd,
594{ 594{
595 struct eqos_prv_data *pdata = tcd->devdata; 595 struct eqos_prv_data *pdata = tcd->devdata;
596 596
597 pr_info("%s state=%d\n", __func__, pdata->therm_state.counter); 597 pr_debug("%s state=%d\n", __func__, pdata->therm_state.counter);
598 *state = (unsigned long)atomic_read(&pdata->therm_state); 598 *state = (unsigned long)atomic_read(&pdata->therm_state);
599 599
600 return 0; 600 return 0;
@@ -618,7 +618,7 @@ static int tegra_eqos_set_state(struct thermal_cooling_device *tcd,
618 return -ENODEV; 618 return -ENODEV;
619 } 619 }
620 620
621 pr_info("%s cur state=%d new state=%ld, recalibrating eqos pads\n", 621 pr_debug("%s cur state=%d new state=%ld, recalibrating eqos pads\n",
622 __func__, pdata->therm_state.counter, state); 622 __func__, pdata->therm_state.counter, state);
623 atomic_set(&pdata->therm_state, state); 623 atomic_set(&pdata->therm_state, state);
624 624
@@ -657,7 +657,7 @@ static int eqos_therm_init(struct eqos_prv_data *pdata)
657 if (pdata->cdev == NULL) 657 if (pdata->cdev == NULL)
658 return -ENODEV; 658 return -ENODEV;
659 659
660 pr_info("EQOS cooling dev registered\n"); 660 pr_debug("EQOS cooling dev registered\n");
661#endif 661#endif
662 return 0; 662 return 0;
663} 663}