Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1255069

[PATCH 1/4] net: thunderx: Remove PF soft reset.

From David Daney <ddaney.cavm@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 1/4] net: thunderx: Remove PF soft reset.
Date 2015-10-24 02:20 +0200
Message-ID <qmUIW-vG-3@gated-at.bofh.it> (permalink)
References <qmUIW-vG-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Sunil Goutham <sgoutham@cavium.com>

In some silicon revisions, the soft reset clobbers PCI config space,
so quit doing the reset.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David Daney <david.daney@cavium.com>
---
 drivers/net/ethernet/cavium/thunder/nic_main.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/net/ethernet/cavium/thunder/nic_main.c b/drivers/net/ethernet/cavium/thunder/nic_main.c
index b3a5947..d6e3219 100644
--- a/drivers/net/ethernet/cavium/thunder/nic_main.c
+++ b/drivers/net/ethernet/cavium/thunder/nic_main.c
@@ -305,9 +305,6 @@ static void nic_init_hw(struct nicpf *nic)
 {
 	int i;
 
-	/* Reset NIC, in case the driver is repeatedly inserted and removed */
-	nic_reg_write(nic, NIC_PF_SOFT_RESET, 1);
-
 	/* Enable NIC HW block */
 	nic_reg_write(nic, NIC_PF_CFG, 0x3);
 
-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] net: thunderx: Support pass-2 revision hardware. David Daney <ddaney.cavm@gmail.com> - 2015-10-24 02:20 +0200
  [PATCH 1/4] net: thunderx: Remove PF soft reset. David Daney <ddaney.cavm@gmail.com> - 2015-10-24 02:20 +0200
  [PATCH 3/4] net: thunderx: Rewrite silicon revision tests. David Daney <ddaney.cavm@gmail.com> - 2015-10-24 02:20 +0200
  [PATCH 4/4] net: thunderx: Incorporate pass2 silicon CPI index configuration changes David Daney <ddaney.cavm@gmail.com> - 2015-10-24 02:20 +0200
  [PATCH 2/4] net: thunderx: Fix incorrect subsystem devid of VF on pass2 silicon David Daney <ddaney.cavm@gmail.com> - 2015-10-24 02:20 +0200
  Re: [PATCH 0/4] net: thunderx: Support pass-2 revision hardware. David Miller <davem@davemloft.net> - 2015-10-26 02:10 +0100

csiph-web