Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp868818rdb; Sun, 3 Sep 2023 14:48:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGo78Rx2wSeXXIqu8XdCuVKVGFscC4FarRmDOuhpkSWU4G6/UwO2RHkqcEOHzh1putjp8BZ X-Received: by 2002:a05:6358:9182:b0:13c:b1a4:3807 with SMTP id j2-20020a056358918200b0013cb1a43807mr9216578rwa.14.1693777694818; Sun, 03 Sep 2023 14:48:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693777694; cv=none; d=google.com; s=arc-20160816; b=vIW3YDJc65FuSzB2DYSZdAMioxqjqpg2AYqkEy72wPm1K9tnflLT9rxz4KdP0TFqDv /h38TCo9tF3ZVtnF8MQwOP7uaf+V0q9bGJTbmEpg3/hXkLdScwDGotwoPgi3QFiy/moY Y9lZoV42khov3C/6ZqDXzz3LOvEAEt4DMWH9k7SgRXxk61vpflvk25Lc9vwGsgy1i6we r+P7VA5Ya10g02ydBgoilKS+ZFYF2o8YM9YGDXYS9ra8QXZ0Z0AlhZr1iky94ajJka+H K07uz+YLjar+yyZHn9C///vSivFf92b9CyCmRDwMTZPj8LfDd2EJZONSOmhCVMtgq0hO 8fMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=cHYLs8DcBk0YIpTlTc0006L+vikmoDhdUWymvDNBJXM=; fh=BmUhT+wQxoqaX/86/Gup3cvTgj5hbU7JsQ/yMgmvMYE=; b=vUCwOlwrl3m2nhQFr85xc2BrApvsKceS2yGXNKF5jR0zEush5sgScHnd4+ZgImgDd2 nJFSrNbP5UQahhMmrNVtWG7MMZ40iBv/9YBjzIZp9g0LG2Dkq1Rl7KWaA6J+rkxRgpUU 70quy306p23n5oIItlb1ngJ0FPqMgEZp2P2e9GSmoPLx9Hn4Vs/Fh+F7sDrfIGp1noB5 aDxG64C6IPTuVS+95EP+GIyZfe2W3GQ4ZfbBxgUgz4Yct8emfOOG23Gu00DYreyTqZVn mFmq0nFnMu8OODYhHgsteZl4O0w95OiYZ0Jb3nkmLepL4z3i8xN+GPn5pd9klp36AwKO FIOA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l126-20020a632584000000b0056a1aa02267si6699429pgl.658.2023.09.03.14.48.01; Sun, 03 Sep 2023 14:48:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351660AbjIBGdY (ORCPT + 99 others); Sat, 2 Sep 2023 02:33:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231330AbjIBGdX (ORCPT ); Sat, 2 Sep 2023 02:33:23 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F125D10FB; Fri, 1 Sep 2023 23:33:17 -0700 (PDT) Received: from loongson.cn (unknown [10.20.42.66]) by gateway (Coremail) with SMTP id _____8CxRugq1_JktvgdAA--.7874S3; Sat, 02 Sep 2023 14:33:14 +0800 (CST) Received: from [10.20.42.66] (unknown [10.20.42.66]) by localhost.localdomain (Coremail) with SMTP id AQAAf8BxXSMp1_Jkrn9pAA--.39724S3; Sat, 02 Sep 2023 14:33:13 +0800 (CST) Subject: Re: [PATCH v2] dt-bindings: interrupt-controller: loongson,liointc: Fix warnings about liointc-2.0 To: Binbin Zhou , Jiaxun Yang Cc: Krzysztof Kozlowski , Huacai Chen , Binbin Zhou , Huacai Chen , Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , loongson-kernel@lists.loongnix.cn, devicetree@vger.kernel.org, Thomas Bogendoerfer , linux-mips@vger.kernel.org, diasyzhang@tencent.com, linux-kernel@vger.kernel.org References: <20230821061315.3416836-1-zhoubinbin@loongson.cn> <6ba31912-6738-6156-d5f4-3c8d3a3ca7bc@linaro.org> <3412e871-ae2b-bed0-88fb-2272f9db3af0@linaro.org> From: Jianmin Lv Message-ID: <3ed7bddd-2c86-90e0-a8bf-0b322bb92bd9@loongson.cn> Date: Sat, 2 Sep 2023 14:32:07 +0800 User-Agent: Mozilla/5.0 (X11; Linux loongarch64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-CM-TRANSID: AQAAf8BxXSMp1_Jkrn9pAA--.39724S3 X-CM-SenderInfo: 5oymxthqpl0qxorr0wxvrqhubq/ X-Coremail-Antispam: 1Uk129KBj93XoW7Aw1rXFykuw13JFWkWFyrZrc_yoW8Xw1rpr WrGas0kr4DZF4vv3WxX3yFkas0qr93ArZrKrn8G34DZan8CFyjqFs8Kr1rZrn8uw4xuw42 qFWvk3W8G3yrCFXCm3ZEXasCq-sJn29KB7ZKAUJUUUU3529EdanIXcx71UUUUU7KY7ZEXa sCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29KBjDU 0xBIdaVrnRJUUUPab4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2 IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48v e4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI 0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVCY1x0267AK xVW8Jr0_Cr1UM2kKe7AKxVWUAVWUtwAS0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07 AIYIkI8VC2zVCFFI0UMc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWU AVWUtwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcVAKI4 8JMxk0xIA0c2IEe2xFo4CEbIxvr21lc7CjxVAaw2AFwI0_Jw0_GFyl42xK82IYc2Ij64vI r41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1l4IxYO2xFxVAFwI0_JF0_Jw1lx2IqxVAqx4xG67 AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r4a6rW5MIIY rxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_JFI_Gr1lIxAIcVC0I7IYx2IY6xkF7I0E14 v26r4j6F4UMIIF0xvE42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVWUJVW8 JwCI42IY6I8E87Iv6xkF7I0E14v26r4j6r4UJbIYCTnIWIevJa73UjIFyTuYvjxU2-VyUU UUU X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Each IRQ source of liointc may be routed to different IRQ source of cpuintc, for implementing this, bit mapping between liointc and cpuintc is required, and the mapping information is used for liointc IRQ routing register setting. It seems that interrupt-map can not pass the mapping to driver in current driver/of code,  so the mapping is used in a non-standard way(of cause, underscore style may be changed in dts and driver). IMO, hardcode routing completely in driver is not flexible and not recommended, and if possible, keep current map unchanged please. Jianmin Thanks. On 2023/8/31 上午9:47, Binbin Zhou wrote: > cc Jianmin Lv. > > Hi all: > > Jianmin knows Loongson interrupt controllers well, he may have other > suggestions. > > Thanks. > Binbin > > On Wed, Aug 30, 2023 at 11:31 PM Jiaxun Yang wrote: >> >> >> 在 2023/8/30 22:35, Krzysztof Kozlowski 写道: >>>> What's the best way, in your opinion, to overhaul this property? As we don't >>>> really care backward compatibility of DTBs on those systems we can just >>>> redesign it. >>> Deprecate the property in the bindings, allow driver to work with or >>> without it and finally drop it entirely from DTS. >> I'd love to have such configuration flexibility so I'd be sad to see it go. >> + Huacai and Binbin, what's your opinion? >> >> If dropping such functionality in kernel is a must go, we can hardcode >> to route all downstream interrupt to the first pin that passed to DT. >> >> Thanks >> - Jiaxun >>> Best regards, >>> Krzysztof >>>