From: Vladimir Oltean <olteanv@gmail.com>
To: "Arınç ÜNAL" <arinc.unal@arinc9.com>
Cc: Daniel Golle <daniel@makrotopia.org>,
Landen Chao <Landen.Chao@mediatek.com>,
DENG Qingfang <dqfext@gmail.com>,
Sean Wang <sean.wang@mediatek.com>, Andrew Lunn <andrew@lunn.ch>,
Florian Fainelli <f.fainelli@gmail.com>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Russell King <linux@armlinux.org.uk>,
Frank Wunderlich <frank-w@public-files.de>,
Bartel Eerdekens <bartel.eerdekens@constell8.be>,
mithat.guner@xeront.com, erkin.bozoglu@xeront.com,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org
Subject: Re: [PATCH net v2 2/7] net: dsa: mt7530: fix trapping frames with multiple CPU ports on MT7530
Date: Tue, 13 Jun 2023 23:59:15 +0300 [thread overview]
Message-ID: <20230613205915.rmpuqq7ahmd7taeq@skbuf> (raw)
In-Reply-To: <4a2fb3ac-ccad-f56e-4951-e5a5cb80dd1b@arinc9.com>
On Tue, Jun 13, 2023 at 11:35:08PM +0300, Arınç ÜNAL wrote:
> On 13.06.2023 23:18, Vladimir Oltean wrote:
> > On Tue, Jun 13, 2023 at 08:58:33PM +0300, Arınç ÜNAL wrote:
> > > On 13.06.2023 20:39, Vladimir Oltean wrote:
> > > > Got it. Then this is really not a problem, and the commit message frames
> > > > it incorrectly.
> > >
> > > Actually this patch fixes the issue it describes. At the state of this
> > > patch, when multiple CPU ports are defined, port 5 is the active CPU port,
> > > CPU_PORT bits are set to port 6.
> > >
> > > Once "the patch that prefers port 6, I could easily find the exact name but
> > > your mail snipping makes it hard" is applied, this issue becomes redundant.
> >
> > Ok. Well, you don't get bonus points for fixing a problem in 2 different
> > ways, once is enough :)
>
> This is not the case here though.
>
> This patch fixes an issue that can be stumbled upon in two ways. This is for
> when multiple CPU ports are defined on the devicetree.
>
> As I explained to Russell, the first is the CPU_PORT field not matching the
> active CPU port.
>
> The second is when port 5 becomes the only active CPU port. This can only
> happen with the changing the DSA conduit support.
>
> The "prefer port 6" patch only prevents the first way from happening. The
> latter still can happen. But this feature doesn't exist yet. Hence why I
> think we should apply this series as-is (after some patch log changes) and
> backport it without this patch on kernels older than 5.18.
>
> Arınç
I was following you until the last phrase. Why should we apply this series
as-is [ to net.git ], if this patch fixes a problem (the *only* problem in
lack of .port_change_master() support, aka for stable kernels) that is
already masked by a different patch targeted to net.git?
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-06-13 20:59 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20230611081547.26747-1-arinc.unal@arinc9.com>
[not found] ` <20230611081547.26747-2-arinc.unal@arinc9.com>
2023-06-13 15:08 ` [PATCH net v2 2/7] net: dsa: mt7530: fix trapping frames with multiple CPU ports on MT7530 Vladimir Oltean
2023-06-13 17:14 ` Arınç ÜNAL
2023-06-13 17:18 ` Vladimir Oltean
2023-06-13 17:24 ` Vladimir Oltean
2023-06-13 17:30 ` Arınç ÜNAL
2023-06-13 17:39 ` Vladimir Oltean
2023-06-13 17:58 ` Arınç ÜNAL
2023-06-13 18:12 ` Jakub Kicinski
2023-06-13 19:03 ` Arınç ÜNAL
2023-06-13 19:09 ` Arınç ÜNAL
2023-06-13 20:29 ` Jakub Kicinski
2023-06-13 18:29 ` Russell King (Oracle)
2023-06-13 18:46 ` Arınç ÜNAL
2023-06-13 20:46 ` Vladimir Oltean
2023-06-13 20:18 ` Vladimir Oltean
2023-06-13 20:35 ` Arınç ÜNAL
2023-06-13 20:59 ` Vladimir Oltean [this message]
2023-06-13 21:04 ` Arınç ÜNAL
2023-06-13 21:14 ` Vladimir Oltean
2023-06-14 7:03 ` Arınç ÜNAL
2023-06-14 7:29 ` Vladimir Oltean
2023-06-13 18:20 ` Russell King (Oracle)
2023-06-13 17:52 ` Aw: " Frank Wunderlich
[not found] ` <ZIXwc0V5Ye6xrpmn@shell.armlinux.org.uk>
[not found] ` <9d571682-7271-2a5e-8079-900d14a5d7cd@arinc9.com>
[not found] ` <ZIbuxohDqHA0S7QP@shell.armlinux.org.uk>
2023-06-13 17:07 ` [PATCH net v2 1/7] net: dsa: mt7530: fix trapping frames with multiple CPU ports on MT7531 Arınç ÜNAL
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=20230613205915.rmpuqq7ahmd7taeq@skbuf \
--to=olteanv@gmail.com \
--cc=Landen.Chao@mediatek.com \
--cc=andrew@lunn.ch \
--cc=angelogioacchino.delregno@collabora.com \
--cc=arinc.unal@arinc9.com \
--cc=bartel.eerdekens@constell8.be \
--cc=daniel@makrotopia.org \
--cc=davem@davemloft.net \
--cc=dqfext@gmail.com \
--cc=edumazet@google.com \
--cc=erkin.bozoglu@xeront.com \
--cc=f.fainelli@gmail.com \
--cc=frank-w@public-files.de \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux@armlinux.org.uk \
--cc=matthias.bgg@gmail.com \
--cc=mithat.guner@xeront.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sean.wang@mediatek.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