public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net v2] tg3: Add PowerEdge R740xd to AER quirk list
@ 2026-04-04 22:50 Oskar Ray-Frayssinet
  2026-04-04 23:03 ` Andrew Lunn
  0 siblings, 1 reply; 4+ messages in thread
From: Oskar Ray-Frayssinet @ 2026-04-04 22:50 UTC (permalink / raw)
  To: pavan.chebbi
  Cc: mchan, andrew+netdev, davem, edumazet, kuba, pabeni, horms,
	lszubowi, netdev, linux-kernel, Oskar Ray-Frayssinet

The PowerEdge R740xd is a variant of the R740 that also triggers
a fatal PCIe AER event during system reboot. Add it to the DMI
list to apply the same workaround.

Fixes: e0efe83ed325 ("tg3: Disable tg3 PCIe AER on system reboot")

Signed-off-by: Oskar Ray-Frayssinet <rayfraytech@gmail.com>
---
v2: Also add "R740XD vSAN Ready Node" DMI name as reported in
    bugzilla #221279 by Thomas Berger
v1: Add "PowerEdge R740xd" DMI name

 drivers/net/ethernet/broadcom/tg3.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c
index 73a4b569b03e..2b95c97e8161 100644
--- a/drivers/net/ethernet/broadcom/tg3.c
+++ b/drivers/net/ethernet/broadcom/tg3.c
@@ -18216,6 +18216,18 @@ static const struct dmi_system_id tg3_restart_aer_quirk_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "PowerEdge R740"),
 		},
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "PowerEdge R740xd"),
+		},
+	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "R740XD vSAN Ready Node"),
+		},
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
-- 
2.43.0


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

* Re: [PATCH net v2] tg3: Add PowerEdge R740xd to AER quirk list
  2026-04-04 22:50 [PATCH net v2] tg3: Add PowerEdge R740xd to AER quirk list Oskar Ray-Frayssinet
@ 2026-04-04 23:03 ` Andrew Lunn
  2026-04-05 10:56   ` Oskar Ray-Frayssinet
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Lunn @ 2026-04-04 23:03 UTC (permalink / raw)
  To: Oskar Ray-Frayssinet
  Cc: pavan.chebbi, mchan, andrew+netdev, davem, edumazet, kuba, pabeni,
	horms, lszubowi, netdev, linux-kernel

On Sun, Apr 05, 2026 at 12:50:23AM +0200, Oskar Ray-Frayssinet wrote:
> The PowerEdge R740xd is a variant of the R740 that also triggers
> a fatal PCIe AER event during system reboot. Add it to the DMI
> list to apply the same workaround.
> 
> Fixes: e0efe83ed325 ("tg3: Disable tg3 PCIe AER on system reboot")
> 
> Signed-off-by: Oskar Ray-Frayssinet <rayfraytech@gmail.com>
> ---
> v2: Also add "R740XD vSAN Ready Node" DMI name as reported in
>     bugzilla #221279 by Thomas Berger
> v1: Add "PowerEdge R740xd" DMI name

https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html

says: 

 * don’t repost your patches within one 24h period

> @@ -18216,6 +18216,18 @@ static const struct dmi_system_id tg3_restart_aer_quirk_table[] = {
>  			DMI_MATCH(DMI_PRODUCT_NAME, "PowerEdge R740"),
>  		},
>  	},
> +	{
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "PowerEdge R740xd"),
> +		},
> +	},
> +	{
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "R740XD vSAN Ready Node"),
> +		},
> +	},
>  	{
>  		.matches = {
>  			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),

When you look at tg3_restart_aer_quirk_table[] they are all Dell. Are
there any Dell systems which actually work? Would it make sense to
mark all Dell systems as broken and enable the quirk? Then there is no
need to play whack-a-mole.

     Andrew

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

* Re: [PATCH net v2] tg3: Add PowerEdge R740xd to AER quirk list
  2026-04-04 23:03 ` Andrew Lunn
@ 2026-04-05 10:56   ` Oskar Ray-Frayssinet
  2026-04-05 23:49     ` Andrew Lunn
  0 siblings, 1 reply; 4+ messages in thread
From: Oskar Ray-Frayssinet @ 2026-04-05 10:56 UTC (permalink / raw)
  To: Andrew Lunn
  Cc: pavan.chebbi, mchan, andrew+netdev, davem, edumazet, kuba, pabeni,
	horms, lszubowi, netdev, linux-kernel

On Sun, Apr 05, 2026 at 01:03:00AM +0200, Andrew Lunn wrote:
> When you look at tg3_restart_aer_quirk_table[] they are all Dell.
> Are there any Dell systems which actually work? Would it make sense
> to mark all Dell systems as broken and enable the quirk?

That's a good point. I don't know if there are Dell systems where
the quirk would cause harm. Do you know if it's safe to apply the
quirk to all Dell systems, or should we be cautious and keep the
per-model approach?

Best regards,
Oskar Ray-Frayssinet

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

* Re: [PATCH net v2] tg3: Add PowerEdge R740xd to AER quirk list
  2026-04-05 10:56   ` Oskar Ray-Frayssinet
@ 2026-04-05 23:49     ` Andrew Lunn
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Lunn @ 2026-04-05 23:49 UTC (permalink / raw)
  To: Oskar Ray-Frayssinet
  Cc: pavan.chebbi, mchan, andrew+netdev, davem, edumazet, kuba, pabeni,
	horms, lszubowi, netdev, linux-kernel

On Sun, Apr 05, 2026 at 12:56:11PM +0200, Oskar Ray-Frayssinet wrote:
> On Sun, Apr 05, 2026 at 01:03:00AM +0200, Andrew Lunn wrote:
> > When you look at tg3_restart_aer_quirk_table[] they are all Dell.
> > Are there any Dell systems which actually work? Would it make sense
> > to mark all Dell systems as broken and enable the quirk?
> 
> That's a good point. I don't know if there are Dell systems where
> the quirk would cause harm. Do you know if it's safe to apply the
> quirk to all Dell systems, or should we be cautious and keep the
> per-model approach?

You might want to ask on the PCI list.

As far as i see, with 30 seconds for searching and reading
documentation, AER, Advanced Error Reporting is an optional feature of
PCIe. Since it is optional, it seems like disabling it during shutdown
should not have any negative effects. Except for systems where it
actually works, and there are real errors during shutdown and
resume. It will be harder to debug such errors since you don't get the
advanced error report.

      Andrew

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

end of thread, other threads:[~2026-04-05 23:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-04 22:50 [PATCH net v2] tg3: Add PowerEdge R740xd to AER quirk list Oskar Ray-Frayssinet
2026-04-04 23:03 ` Andrew Lunn
2026-04-05 10:56   ` Oskar Ray-Frayssinet
2026-04-05 23:49     ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox