Linux-mediatek Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Arınç ÜNAL" <arinc.unal@arinc9.com>
To: AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>,
	Linux regressions mailing list <regressions@lists.linux.dev>,
	Paolo Abeni <pabeni@redhat.com>
Cc: devicetree@vger.kernel.org, Conor Dooley <conor+dt@kernel.org>,
	linux-kernel@vger.kernel.org,
	Daniel Golle <daniel@makrotopia.org>,
	linux-mediatek@lists.infradead.org,
	Matthias Brugger <matthias.bgg@gmail.com>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Frank Wunderlich <linux@fw-web.de>, Rob Herring <robh@kernel.org>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] arm64: dts: mt7622: fix switch probe on bananapi-r64
Date: Wed, 26 Jun 2024 06:07:04 +0300	[thread overview]
Message-ID: <d4009f46-618c-46c3-8f35-a8db9150862e@arinc9.com> (raw)
In-Reply-To: <4647181b-e5a0-4f6e-9aba-1bcde763d678@collabora.com>

On 25/06/2024 11.49, AngeloGioacchino Del Regno wrote:
> Il 25/06/24 10:17, Arınç ÜNAL ha scritto:
>> On 25/06/2024 09.57, Linux regression tracking (Thorsten Leemhuis) wrote:
>>> On 25.06.24 08:17, Arınç ÜNAL wrote:
>>>> On 25/06/2024 08.56, Linux regression tracking (Thorsten Leemhuis) wrote:
>>>>> On 17.06.24 13:08, Arınç ÜNAL wrote:
>>>>>> On 17/06/2024 11:33, Linux regression tracking (Thorsten Leemhuis)
>>>>>> wrote:
>>>>>> [...]
>>>>>> I've submitted a patch series that fixes the regression. Angelo argued
>>>>>> against the way the regression is fixed. I've very clearly argued
>>>>>> back why
>>>>>> I find Angelo's approach wrong. There's been no response back. I don't
>>>>>> understand why reverting the patch is the likely outcome
>>>>>
>>>>> Long story short: because that how things like that are handled in the
>>>>> Linux kernel project, as Linus wants it like that. See some of the
>>>>> quotes from https://docs.kernel.org/process/handling-regressions.html
>>>>> for details.
>>>>>
>>>>>> whilst the
>>>>>> standing argument points towards applying the said patch series. If a
>>>>>> revert happens before this discussion with Angelo finalises, this
>>>>>> will set
>>>>>> a precedent that will tell maintainers that they can have their way
>>>>>> by just
>>>>>> not replying to the ongoing discussions.
>>>>>>
>>>>>> That said, the decision of resolving the regression by either
>>>>>> reverting the
>>>>>> patch or applying the patch series shall not depend on whether or not
>>>>>> Angelo is pleased but rather there're no counter-arguments left on the
>>>>>> points brought, meaning the decision shall be made depending on the
>>>>>> argument that stands.
>>>>>>
>>>>>> Therefore, I suggest that unless Angelo responds back with a
>>>>>> counter-argument in the window of a week or two, as you've described, my
>>>>>> patch series shall be applied.
>>>>>
>>>>> It looks more and more like we are stuck here (or was there progress and
>>>>> I just missed it?) while the 6.10 final is slowly getting closer. Hence:
>>>>
>>>> There hasn't been progress at all. I believe I have clearly described the
>>>> way out of this issue.
>>>>
>>>>> AngeloGioacchino, should we ask the net maintainers to revert
>>>>> 868ff5f4944aa9 ("net: dsa: mt7530-mdio: read PHY address of switch from
>>>>> device tree") for now to resolve this regression? Reminder, there is
>>>>> nothing wrong with that commit per se afaik, it just exposes a problem
>>>>> that needs to be fixed first before it can be reapplied.
>>>>
>>>> Are you suggesting the patch shall be reverted first, then the DT patch
>>>> applied, then the reverted patch applied back?
>>>
>>> Yeah.
>>>
> 
> Sorry, I've lost your reply in the long stack of emails that I get every day.
> 
> I'm not suggesting to revert the patch, but to fix it such that it does not
> break devices using old devicetrees, as it was the case before.
> 
> Even though, in a way, when you update the kernel, you do also update the
> devicetrees with it just because it's almost effortless to do so, doing that
> is not mandatory.
> 
> ...and that's why the driver, which was - in a way - faulty before, getting
> the switch to work even though the devicetree node was wrong, must still be
> compatible.
> 
> I do want to apply the devicetree fix, but I also do *not* want to see *driver*
> changes that go against the backward compatibility rule of devicetree when this
> is not strictly necessary (when it is - it's okay to make an exception)...
> 
> ...and this is not one of the cases in which it's strictly necessary.

I understand that you receive emails often. It seems you've not read my
point of view in the previous emails because of it, so it is preventing us
from having a proper discussion to come to a mutual agreement. I don't
intend to repeat myself for it to be lost in your inbox again.

I'm hoping that you manage to read this; Daniel has been working on a patch
[1] to make old device trees not hosted on the Linux repository with PHY
address wrongfully described as "0" work.

As I see the extend of the reported regression is limited to the BPI-R64
board, fixing the device tree source file for it - and mt7622-rfb1.dts as
the only remaining DTS file with wrong PHY address described in the Linux
repository - is enough to resolve the regression. Then Daniel's patch can
come in to address the device tree source files I've described above.
Although I don't find that patch necessary, I won't stand against it.

So I suggest to apply my DT patch series [2] without taking any other steps
to resolve the reported regression.

[1] https://lore.kernel.org/all/11f5f127d0350e72569c36f9060b6e642dfaddbb.1714514208.git.daniel@makrotopia.org/
[2] https://lore.kernel.org/all/20240314-for-mediatek-mt7531-phy-address-v1-0-52f58db01acd@arinc9.com/

Arınç


  reply	other threads:[~2024-06-26  3:07 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-16 20:48 [PATCH] arm64: dts: mt7622: fix switch probe on bananapi-r64 Frank Wunderlich
2024-05-17  2:17 ` Arınç ÜNAL
2024-05-17  6:27   ` Frank Wunderlich
2024-05-23 10:44     ` Linux regression tracking (Thorsten Leemhuis)
2024-05-31  5:40       ` Thorsten Leemhuis
2024-05-31  6:10         ` Arınç ÜNAL
2024-06-06  8:26           ` Thorsten Leemhuis
2024-06-06  9:01             ` Arınç ÜNAL
2024-06-06  9:34               ` Thorsten Leemhuis
2024-06-07 14:03             ` Paolo Abeni
2024-06-07 14:15               ` Thorsten Leemhuis
2024-06-11 11:30                 ` Thorsten Leemhuis
2024-06-11 11:38                   ` Arınç ÜNAL
2024-06-11 12:28                     ` AngeloGioacchino Del Regno
2024-06-11 12:56                       ` Arınç ÜNAL
2024-06-11 13:03                         ` AngeloGioacchino Del Regno
2024-06-11 18:15                           ` Arınç ÜNAL
2024-06-17  8:33                             ` Linux regression tracking (Thorsten Leemhuis)
2024-06-17 11:08                               ` Arınç ÜNAL
2024-06-25  5:56                                 ` Linux regression tracking (Thorsten Leemhuis)
2024-06-25  6:17                                   ` Arınç ÜNAL
2024-06-25  6:57                                     ` Linux regression tracking (Thorsten Leemhuis)
2024-06-25  8:17                                       ` Arınç ÜNAL
2024-06-25  8:49                                         ` AngeloGioacchino Del Regno
2024-06-26  3:07                                           ` Arınç ÜNAL [this message]
2024-06-25  8:51                                   ` AngeloGioacchino Del Regno
2024-07-01  6:16                                     ` Linux regression tracking (Thorsten Leemhuis)
2024-07-01  7:02                                       ` Aw: " Frank Wunderlich
2024-07-01  7:44                                       ` Arınç ÜNAL
2024-07-01  8:04                                         ` Linux regression tracking (Thorsten Leemhuis)
2024-07-01  8:15                                           ` Arınç ÜNAL
2024-07-30  9:41                                             ` AngeloGioacchino Del Regno
2024-07-30 11:22                                               ` arinc.unal
2024-07-30 11:38                                                 ` arinc.unal
2024-07-30 16:04                                                 ` Krzysztof Kozlowski
2024-07-30 16:22                                                   ` Daniel Golle
2024-07-30 16:38                                                   ` Arınç ÜNAL
2024-07-31  5:29                                                     ` Krzysztof Kozlowski
2024-07-31  7:55                                                       ` Arınç ÜNAL
2024-05-31  6:12     ` Arınç ÜNAL
2024-05-31  6:18       ` Frank Wunderlich
2024-05-31  6:27         ` Arınç ÜNAL
2024-05-17 13:17 ` Rob Herring (Arm)

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=d4009f46-618c-46c3-8f35-a8db9150862e@arinc9.com \
    --to=arinc.unal@arinc9.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=conor+dt@kernel.org \
    --cc=daniel@makrotopia.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux@fw-web.de \
    --cc=matthias.bgg@gmail.com \
    --cc=pabeni@redhat.com \
    --cc=regressions@lists.linux.dev \
    --cc=robh@kernel.org \
    /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