devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marc Zyngier <maz@kernel.org>
To: John Crispin <john@phrozen.org>
Cc: Sander Vanheule <sander@svanheule.net>,
	Rob Herring <robh+dt@kernel.org>,
	Birger Koblitz <mail@birger-koblitz.de>,
	Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>,
	Bjorn Helgaas <bhelgaas@google.com>,
	Bert Vermeulen <bert@biot.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	Frank Rowand <frowand.list@gmail.com>
Subject: Re: realtek,rtl-intc IRQ mapping broken on 5.16-rc1
Date: Mon, 22 Nov 2021 10:33:55 +0000	[thread overview]
Message-ID: <874k847a3w.wl-maz@kernel.org> (raw)
In-Reply-To: <9c169aad-3c7b-2ffb-90a2-1ca791a3f411@phrozen.org>

On Sun, 21 Nov 2021 21:11:15 +0000,
John Crispin <john@phrozen.org> wrote:
> 
> 
> 
> On 21.11.21 21:33, Sander Vanheule wrote:
> > Alternatively, a second compatible could perhaps be introduced and the current
> > one would be deprecated, using (2) to prevent breaking 5.16+ kernels. I don't
> > think that's really worth the effort though.
> > 
> > Best,
> 
> Hey,
> 
> I think that what Marc proposed as (1) is the clean solution. We want
> to describe the HW as it exists. Yes we have zero docs, and the RLT
> 2.6 sdk kernel is a pain to extract info from, yet we should move fwd
> with a clean implementation.
> 
> breaking pseudo owrt dts ABI is imho acceptable. owrt users are well
> able to reflash their units from uboot, they are at the end flying
> without wings on bleeding edge. asking for some backward compat for a
> de-facto broken dts mapping of the HW is imho a no-go.

I'm afraid this ship has sailed a long time ago. As I found out, there
are a number of drivers having perpetuated the same horror:

+       "CBEA,platform-spider-pic",
+       "sti,platform-spider-pic",
+       "realtek,rtl-intc",
+       "fsl,ls1021a-extirq",
+       "fsl,ls1043a-extirq",
+       "fsl,ls1088a-extirq",
+       "renesas,rza1-irqc",

We can't just change the bindings for those. For the first two, the DT
is provided by the FW. For the others, there are numerous systems in
the wild, and we can't break them (DT and kernel must be upgradable
independently).

I've posted a quirk patch[1], and I'd appreciate any feedback on
whether it fixes your problem.

Thanks,

	M.

[1] https://lore.kernel.org/r/20211122103032.517923-1-maz@kernel.org

-- 
Without deviation from the norm, progress is not possible.

      reply	other threads:[~2021-11-22 10:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-18 15:56 realtek,rtl-intc IRQ mapping broken on 5.16-rc1 Sander Vanheule
2021-11-18 19:19 ` Marc Zyngier
2021-11-18 19:45   ` Sander Vanheule
2021-11-19 14:48     ` Marc Zyngier
2021-11-19 19:09       ` Birger Koblitz
2021-11-21 20:33       ` Sander Vanheule
2021-11-21 21:11         ` John Crispin
2021-11-22 10:33           ` Marc Zyngier [this message]

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=874k847a3w.wl-maz@kernel.org \
    --to=maz@kernel.org \
    --cc=bert@biot.com \
    --cc=bhelgaas@google.com \
    --cc=devicetree@vger.kernel.org \
    --cc=frowand.list@gmail.com \
    --cc=john@phrozen.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lorenzo.pieralisi@arm.com \
    --cc=mail@birger-koblitz.de \
    --cc=robh+dt@kernel.org \
    --cc=sander@svanheule.net \
    --cc=tglx@linutronix.de \
    /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;
as well as URLs for NNTP newsgroup(s).