netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/17] sfc: Ignore parity errors in the other port's SRAM
@ 2010-04-28 19:25 Ben Hutchings
  2010-04-28 19:27 ` [PATCH 02/17] sfc: Consistently report short MCDI responses as EIO Ben Hutchings
                   ` (16 more replies)
  0 siblings, 17 replies; 34+ messages in thread
From: Ben Hutchings @ 2010-04-28 19:25 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, linux-net-drivers

From: Steve Hodgson <shodgson@solarflare.com>

Siena has a separate SRAM bank for each port.  On single-port boards
these can be merged together, so each port has an interrupt flag for
parity errors in the other port's SRAM.  Currently we do not enable
such merging and should mask this interrupt source.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
---
 drivers/net/sfc/nic.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/net/sfc/nic.c b/drivers/net/sfc/nic.c
index b06f8e3..664fd6c 100644
--- a/drivers/net/sfc/nic.c
+++ b/drivers/net/sfc/nic.c
@@ -1563,6 +1563,8 @@ void efx_nic_init_common(struct efx_nic *efx)
 			     FRF_AZ_ILL_ADR_INT_KER_EN, 1,
 			     FRF_AZ_RBUF_OWN_INT_KER_EN, 1,
 			     FRF_AZ_TBUF_OWN_INT_KER_EN, 1);
+	if (efx_nic_rev(efx) >= EFX_REV_SIENA_A0)
+		EFX_SET_OWORD_FIELD(temp, FRF_CZ_SRAM_PERR_INT_P_KER_EN, 1);
 	EFX_INVERT_OWORD(temp);
 	efx_writeo(efx, &temp, FR_AZ_FATAL_INTR_KER);
 
-- 
1.6.2.5


-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.


^ permalink raw reply related	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2010-04-28 19:46 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-28 19:25 [PATCH 01/17] sfc: Ignore parity errors in the other port's SRAM Ben Hutchings
2010-04-28 19:27 ` [PATCH 02/17] sfc: Consistently report short MCDI responses as EIO Ben Hutchings
2010-04-28 19:45   ` David Miller
2010-04-28 19:27 ` [PATCH 03/17] sfc: Handle serious errors in exactly one interrupt handler Ben Hutchings
2010-04-28 19:45   ` David Miller
2010-04-28 19:27 ` [PATCH 04/17] sfc: Stop masking out XGMII faults over reconfigures Ben Hutchings
2010-04-28 19:45   ` David Miller
2010-04-28 19:28 ` [PATCH 05/17] sfc: Reconfigure the XAUI serdes after an EM reset Ben Hutchings
2010-04-28 19:45   ` David Miller
2010-04-28 19:28 ` [PATCH 06/17] sfc: Extend the legacy interrupt workarounds Ben Hutchings
2010-04-28 19:45   ` David Miller
2010-04-28 19:28 ` [PATCH 07/17] sfc: Log specific message for failure of NVRAM self-test Ben Hutchings
2010-04-28 19:45   ` David Miller
2010-04-28 19:28 ` [PATCH 08/17] sfc: Read MEM_STAT for SRM_PERR as well as MEM_PERR errors Ben Hutchings
2010-04-28 19:45   ` David Miller
2010-04-28 19:29 ` [PATCH 09/17] sfc: Enable IPv6 RSS using random key for Toeplitz hash Ben Hutchings
2010-04-28 19:46   ` David Miller
2010-04-28 19:29 ` [PATCH 10/17] sfc: Update MCDI protocol definitions Ben Hutchings
2010-04-28 19:46   ` David Miller
2010-04-28 19:29 ` [PATCH 11/17] sfc: Set PERIODIC_NOEVENT flag for MC_CMD_MAC_STATS Ben Hutchings
2010-04-28 19:46   ` David Miller
2010-04-28 19:29 ` [PATCH 12/17] sfc: Break NAPI processing after one ring-full of TX completions Ben Hutchings
2010-04-28 19:46   ` David Miller
2010-04-28 19:29 ` [PATCH 13/17] sfc: Add necessary parentheses to macro definitions in net_driver.h Ben Hutchings
2010-04-28 19:46   ` David Miller
2010-04-28 19:30 ` [PATCH 14/17] sfc: Clean up efx_nic::irq_zero_count Ben Hutchings
2010-04-28 19:46   ` David Miller
2010-04-28 19:30 ` [PATCH 15/17] sfc: Add Siena PHY BIST and cable diagnostic support Ben Hutchings
2010-04-28 19:46   ` David Miller
2010-04-28 19:30 ` [PATCH 16/17] sfc: Test only the first pair of TX queues Ben Hutchings
2010-04-28 19:46   ` David Miller
2010-04-28 19:30 ` [PATCH 17/17] sfc: Create multiple " Ben Hutchings
2010-04-28 19:46   ` David Miller
2010-04-28 19:45 ` [PATCH 01/17] sfc: Ignore parity errors in the other port's SRAM David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).