mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: netdev-bot+sashiko@kernel.org, davem@davemloft.net,
	edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
	horms@kernel.org, linusw@kernel.org, luizluca@gmail.com,
	alvin.sipraga@analog.com, olteanv@gmail.com,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	kernel@pengutronix.de
Subject: Re: [PATCH net-next v2 08/10] net: dsa: realtek: rtl8365mb: program the PCP of untagged frames
Date: Mon, 16 Nov 2026 15:06:10 +0100	[thread overview]
Message-ID: <e3e3ec6c-1242-4072-a251-8571add37013@lunn.ch> (raw)
In-Reply-To: <avsJ-gmYVHqx48ON@pengutronix.de>

> Restoring the old PCP does not help here. A write can fail for two
> reasons. One is a register access the regmap configuration rejects;
> that is a driver bug and shows up on every call, not something to
> recover from at runtime. The other is an MDIO bus error, and then the
> restore goes over the same failing bus, and the state of the switch is
> unknown whatever the driver does. Reordering the writes does not help
> either: either order leaves one field new and one old on failure. So
> v3 keeps the code as it is.

The LLM often does comment about MDIO errors, but they pretty much
never happen, and there is no recovery. So i agree, this can be
ignored.

	Andrew

  reply	other threads:[~2026-11-16 14:06 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-12  8:37 [PATCH net-next v2 00/10] net: dsa: realtek: rtl8365mb: DCB ingress QoS offload Oleksij Rempel
2026-11-12  8:37 ` [PATCH net-next v2 01/10] net: ieee8021q: print traffic type and queue count with %u Oleksij Rempel
2026-11-12  8:37 ` [PATCH net-next v2 02/10] net: ieee8021q: add pcp_to_tt() Oleksij Rempel
2026-11-14 19:56   ` Luiz Angelo Daros de Luca
2026-11-12  8:37 ` [PATCH net-next v2 03/10] net: ieee8021q: clarify the tt_to_tc() traffic-class mapping Oleksij Rempel
2026-11-12  8:37 ` [PATCH net-next v2 04/10] net: ieee8021q: add tt_to_pcp() Oleksij Rempel
2026-11-14 19:59   ` Luiz Angelo Daros de Luca
2026-11-12  8:37 ` [PATCH net-next v2 05/10] net: dsa: realtek: rtl8365mb: describe the ports of each chip Oleksij Rempel
2026-11-12 15:08   ` Alvin Šipraga
2026-11-16 13:36     ` Oleksij Rempel
2026-11-12 20:38   ` Linus Walleij
2026-11-15 23:01   ` netdev-bot+sashiko
2026-11-12  8:37 ` [PATCH net-next v2 06/10] net: dsa: realtek: rtl8365mb: store the egress queue count per chip Oleksij Rempel
2026-11-12  8:37 ` [PATCH net-next v2 07/10] net: dsa: realtek: rtl8365mb: add QoS baseline and DCB default prio Oleksij Rempel
2026-11-12 20:31   ` Linus Walleij
2026-11-14 20:15     ` Luiz Angelo Daros de Luca
2026-11-12  8:37 ` [PATCH net-next v2 08/10] net: dsa: realtek: rtl8365mb: program the PCP of untagged frames Oleksij Rempel
2026-11-12 20:33   ` Linus Walleij
2026-11-14 20:18   ` Luiz Angelo Daros de Luca
2026-11-15 23:01   ` netdev-bot+sashiko
2026-11-16 13:49     ` Oleksij Rempel
2026-11-16 14:06       ` Andrew Lunn [this message]
2026-11-12  8:37 ` [PATCH net-next v2 09/10] net: dsa: realtek: rtl8365mb: offload DCB apptrust Oleksij Rempel
2026-11-12 20:35   ` Linus Walleij
2026-11-14 20:26     ` Luiz Angelo Daros de Luca
2026-11-12  8:37 ` [PATCH net-next v2 10/10] net: dsa: realtek: rtl8365mb: report the DCB DSCP-to-priority map Oleksij Rempel
2026-11-12 20:36   ` Linus Walleij
2026-11-14 20:28   ` Luiz Angelo Daros de Luca
2026-11-13 12:24 ` [PATCH net-next v2 00/10] net: dsa: realtek: rtl8365mb: DCB ingress QoS offload Alvin Šipraga
2026-11-14 20:39   ` Luiz Angelo Daros de Luca

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e3e3ec6c-1242-4072-a251-8571add37013@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=alvin.sipraga@analog.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=horms@kernel.org \
    --cc=kernel@pengutronix.de \
    --cc=kuba@kernel.org \
    --cc=linusw@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luizluca@gmail.com \
    --cc=netdev-bot+sashiko@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=o.rempel@pengutronix.de \
    --cc=olteanv@gmail.com \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®