From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Huacai Chen <chenhuacai@kernel.org>
Cc: Marc Zyngier <maz@kernel.org>,
Binbin Zhou <zhoubb.aaron@gmail.com>,
Jonas Gorski <jonas.gorski@gmail.com>,
Jiaxun Yang <jiaxun.yang@flygoat.com>,
Binbin Zhou <zhoubinbin@loongson.cn>,
Huacai Chen <chenhuacai@loongson.cn>,
Thomas Gleixner <tglx@linutronix.de>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
loongson-kernel@lists.loongnix.cn, devicetree@vger.kernel.org,
Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
linux-mips@vger.kernel.org, diasyzhang@tencent.com,
linux-kernel@vger.kernel.org, frowand.list@gmail.com
Subject: Re: [PATCH v2] dt-bindings: interrupt-controller: loongson,liointc: Fix warnings about liointc-2.0
Date: Sun, 29 Oct 2023 08:42:50 +0100 [thread overview]
Message-ID: <34c33fc5-7b54-4f5e-8af8-2dce062a7968@linaro.org> (raw)
In-Reply-To: <CAAhV-H7Kwb9xT8R0TTbqEhrLUEcnxkTcEy=RhAxD3basBvWxKA@mail.gmail.com>
On 26/10/2023 09:19, Huacai Chen wrote:
> Hi, Krzysztof
>
> On Wed, Oct 25, 2023 at 3:16 PM Krzysztof Kozlowski
> <krzysztof.kozlowski@linaro.org> wrote:
>>
>> On 25/10/2023 03:56, Huacai Chen wrote:
>>> Hi, Krzysztof,
>>>
>>> On Fri, Oct 20, 2023 at 8:18 PM Marc Zyngier <maz@kernel.org> wrote:
>>>>
>>>> On Fri, 20 Oct 2023 10:51:35 +0100,
>>>> Binbin Zhou <zhoubb.aaron@gmail.com> wrote:
>>>>>
>>>>> Hi Krzysztof & Marc:
>>>>>
>>>>> Sorry for the interruption.
>>>>> As said before, we tried to use the 'interrupt-map attribute' in our
>>>>> Loongson liointc dts(i), but there are some unfriendly points.
>>>>> Do you have any other different suggestions?
>>>>
>>>> I don't have any suggestion, but if you are still thinking of adding
>>>> some extra crap to the of_irq_imap_abusers[] array, the answer is a
>>>> firm 'NO'.
>>> Excuse me, but as described before, 'interrupt-map' cannot be used for
>>> liointc unless adding it to of_irq_imap_abusers[], can we still use
>>> 'parent_int_map' in this case? Or just change it to 'parent-int-map'
>>> to satisfy the naming style?
>>
>> Why do you respond to me? You received firm 'NO' about
>> of_irq_imap_abusers, so how adhering to naming style or violating naming
>> style has anything to do with it?
> I'm sorry but of_irq_imap_abusers is to make 'interrupt-map' to work,
> without of_irq_imap_abusers we can only use the existing
> 'parent_int_map'. We need your response because we want to know
> whether you can accept the existing method since the other approach
> has received 'NO'. And, changing 'parent_int_map' to 'parent-int-map'
> can be a little better, at least it satisfies the naming style.
Indeed, interrupt-map might not fit here. I don't know whether your
custom property - purely for runtime performance purpose - will be
accepted. Initial description of this field suggested that it is OS
policy, not hardware choice. But sure, propose something with
justification, so we can review it. The proposal must not break ABI, so
you must support both parent_int_map and parent-int-map (or whatever we
call it) properties. The first we will probably deprecate.
The way this property was sneaked into kernel bypassing review is still
disappointing.
Best regards,
Krzysztof
next prev parent reply other threads:[~2023-10-29 7:42 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-21 6:13 [PATCH v2] dt-bindings: interrupt-controller: loongson,liointc: Fix warnings about liointc-2.0 Binbin Zhou
2023-08-22 4:44 ` Huacai Chen
2023-08-22 5:44 ` Krzysztof Kozlowski
2023-08-22 8:13 ` Binbin Zhou
2023-08-22 8:30 ` Krzysztof Kozlowski
2023-08-24 11:32 ` Binbin Zhou
2023-08-25 12:56 ` Krzysztof Kozlowski
2023-08-30 3:59 ` Jiaxun Yang
2023-08-30 13:44 ` Marc Zyngier
2023-08-30 15:25 ` Jiaxun Yang
2023-09-04 8:54 ` Marc Zyngier
2023-10-16 11:26 ` Binbin Zhou
2023-10-17 15:05 ` Jonas Gorski
2023-10-18 6:57 ` Binbin Zhou
2023-10-18 9:38 ` Jonas Gorski
2023-10-18 14:33 ` Huacai Chen
2023-10-20 9:51 ` Binbin Zhou
2023-10-20 12:18 ` Marc Zyngier
2023-10-25 1:56 ` Huacai Chen
2023-10-25 7:16 ` Krzysztof Kozlowski
2023-10-26 7:19 ` Huacai Chen
2023-10-29 7:42 ` Krzysztof Kozlowski [this message]
2023-10-30 9:56 ` Binbin Zhou
2023-08-30 14:35 ` Krzysztof Kozlowski
2023-08-30 15:31 ` Jiaxun Yang
2023-08-31 1:47 ` Binbin Zhou
2023-09-02 6:32 ` Jianmin Lv
2023-09-04 7:40 ` Krzysztof Kozlowski
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=34c33fc5-7b54-4f5e-8af8-2dce062a7968@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=chenhuacai@kernel.org \
--cc=chenhuacai@loongson.cn \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=diasyzhang@tencent.com \
--cc=frowand.list@gmail.com \
--cc=jiaxun.yang@flygoat.com \
--cc=jonas.gorski@gmail.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=loongson-kernel@lists.loongnix.cn \
--cc=maz@kernel.org \
--cc=robh+dt@kernel.org \
--cc=tglx@linutronix.de \
--cc=tsbogend@alpha.franken.de \
--cc=zhoubb.aaron@gmail.com \
--cc=zhoubinbin@loongson.cn \
/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).