From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0D42A6FD9 for ; Sun, 29 Oct 2023 07:42:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DItgk7pG" Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83D61F7 for ; Sun, 29 Oct 2023 00:42:54 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-507c91582fdso4996099e87.2 for ; Sun, 29 Oct 2023 00:42:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698565372; x=1699170172; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=yjBOdlYGvhEcDW6xRq1FrzATl01dGcKVg1V762k/xiQ=; b=DItgk7pGqFyVcyyoCV+ELoV1vXcb9kWylh98iuuCbnN7CK2KgMQb9L60Njv/98IaPZ l5DFvfxU1tukTijJ3qcHEwrsedNXBu3pWVnnpqu6zoDGgpsrERCW08pJ0ym+Ta3HXVo/ WY9tkJnDOGavw9DBK+Wo/6o0smpYH8m7m1WNTZ827HSTz7x+0c6UiCtLea4aaJyl3Iwg q8gsjQxl7Q4am1MxQQLZkn3wIVh4GGG/OLiGFpWV+3U7vILK0wA/K3E1hNhcecU5dmat Msw3iHWsUyZihaHuebIuzY4h291FInPqRCdCEU9F2MKic3GsaANhuTibk4SNMRTc9cjf 1g4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698565372; x=1699170172; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yjBOdlYGvhEcDW6xRq1FrzATl01dGcKVg1V762k/xiQ=; b=CO5MkWHLxGYSapzV1ECiPQy4Y1qgNWDV70ZRFWyQHV6h6D7XUHtdjMlI1fQhE9xb0G osdqMjxXrbca0nuBMycSS3MFon49eDaK6jjp8LKgAvFn0TSTvPPsKdHxF1Jmeek1ahmY sR0qbKRO1mFoH1uFIyDO4qMVbr+fUnlX4rVfXeCl7EbLRhqi3aYSNOHjghy8VHlvbAAQ DqD1k6jS8F886VCO5ylB5f3k8Im57ZV98I/DX+90LTOV0OlZ4NW/6SlXQ9wDBDPls48q FqA55bduEKDmDEZIqsodm0dKeu/brfnGOy8XP+Ejc/VThl2/WEXwLaeTdI+I2HX5sVUd IT9Q== X-Gm-Message-State: AOJu0YxA5RdvQkMQrQLJtpyjWode08ZgokSA0T1irNLBCwXd81zxpOiK EEn1EJkKXIKjZuNyrOPtLCNLQg== X-Google-Smtp-Source: AGHT+IFSxLZ7Nig4K22Yf+gJsHRfL5dKhp8Fg81KWCjLI/yp493ViLKuALllEGy4UskZpC7+pdOGwg== X-Received: by 2002:ac2:47fa:0:b0:506:899d:1994 with SMTP id b26-20020ac247fa000000b00506899d1994mr4635086lfp.52.1698565372573; Sun, 29 Oct 2023 00:42:52 -0700 (PDT) Received: from [192.168.0.22] ([78.10.206.168]) by smtp.gmail.com with ESMTPSA id br16-20020a056512401000b005008c11ca78sm939169lfb.142.2023.10.29.00.42.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 29 Oct 2023 00:42:52 -0700 (PDT) Message-ID: <34c33fc5-7b54-4f5e-8af8-2dce062a7968@linaro.org> Date: Sun, 29 Oct 2023 08:42:50 +0100 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] dt-bindings: interrupt-controller: loongson,liointc: Fix warnings about liointc-2.0 Content-Language: en-US To: Huacai Chen Cc: Marc Zyngier , Binbin Zhou , Jonas Gorski , Jiaxun Yang , Binbin Zhou , Huacai Chen , Thomas Gleixner , 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, frowand.list@gmail.com References: <20230821061315.3416836-1-zhoubinbin@loongson.cn> <86wmxcejav.wl-maz@kernel.org> <86pm2ye2si.wl-maz@kernel.org> <87wmvh5vyb.wl-maz@kernel.org> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBV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RBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 26/10/2023 09:19, Huacai Chen wrote: > Hi, Krzysztof > > On Wed, Oct 25, 2023 at 3:16 PM Krzysztof Kozlowski > wrote: >> >> On 25/10/2023 03:56, Huacai Chen wrote: >>> Hi, Krzysztof, >>> >>> On Fri, Oct 20, 2023 at 8:18 PM Marc Zyngier wrote: >>>> >>>> On Fri, 20 Oct 2023 10:51:35 +0100, >>>> Binbin Zhou 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