Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp218858pxp; Wed, 9 Mar 2022 01:15:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJygS6Sj8IX0riRXTlzK3d1SfdSbCyJLbqqTVymLRXsl2LRbz3z0rmrPLsIVAErHRcpROu+w X-Received: by 2002:a17:907:3f9b:b0:6da:6f2b:4b1c with SMTP id hr27-20020a1709073f9b00b006da6f2b4b1cmr16617072ejc.765.1646817323269; Wed, 09 Mar 2022 01:15:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646817323; cv=none; d=google.com; s=arc-20160816; b=0Sfkml5lu7YSwo8drQT+MxtFpERluLDXFII3ISMKxEwyRat98D2osnpB14auoaLIMI Ne2BkNrSusWospoM4/xreuU/+UkOgPzFaVEvUa8rzLYzI3EaNm67ANNOI2qXY7F0usE2 E33UqMsh0hbQhveGZtmSA+lLqHZoHl7Idn4rFPMEXfNzjyIuq12SJ71wJX5X8Hteri8V P/QI78EoXMoN2OOwj/NdeVfDamZwwCK37zboSCqLaf6hDcZHMhMXKsAuK5kcSXXVqcyQ EdqzeA23JHoRAnuqdfCSWbR5GJ8NcmyOfJJICrG4B644/kCTR0OO323vbQmMJL9mWEJd eZwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-filter; bh=842LdYH0yqJi6R7VzcOicAOnRY7ATWHGZyxpTw5H/1Q=; b=jcxu/mY0pMAmHOGLMeM7QjquSK1UX2qgF9qnfosmCsDpt8zH7HjvCJzXg0rENsoYIw evYtnbgBxMqILhcBuodGfhCTznUDj7PaCSBYxhl+Gkmi+r3rcpkb7RkFfB2LSrw2deJK 5c+DQ7SIJeXfDrQr44yXTNfBF9qv7XQGUkDu+XKVoTvA5UqG8Tm7/GQbxqb9GQO16PIV h+15Gldbyuo+XI/jFywlyxISOQfIaIOW/vW+ZkPmurks6VTV2ZlDCGFjD9qmpgFZY9Aq wX4PVUb83movSoc1jYwlbon3HTejQtWZMDe2KlrHq1masobVcgAac9Y/Rdsq03ODiBWU 03Gg== 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 z22-20020a1709063a1600b006d02210d9fasi793489eje.890.2022.03.09.01.15.00; Wed, 09 Mar 2022 01:15:23 -0800 (PST) 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 S231679AbiCIJBM (ORCPT + 99 others); Wed, 9 Mar 2022 04:01:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231688AbiCIJBK (ORCPT ); Wed, 9 Mar 2022 04:01:10 -0500 Received: from mxout01.lancloud.ru (mxout01.lancloud.ru [45.84.86.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F06F8483A0; Wed, 9 Mar 2022 01:00:07 -0800 (PST) Received: from LanCloud DKIM-Filter: OpenDKIM Filter v2.11.0 mxout01.lancloud.ru 111E120DCBD4 Received: from LanCloud Received: from LanCloud Received: from LanCloud Message-ID: <45fa6cff-948f-93e0-388c-42da30e70efb@omp.ru> Date: Wed, 9 Mar 2022 12:00:03 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH V3] ata: pata_pxa: Use platform_get_irq() to get the interrupt Content-Language: en-US To: Sergei Shtylyov , Damien Le Moal , CC: , , , References: <20220309072834.2081944-1-chi.minghao@zte.com.cn> <4ce9ad67-7102-1ad8-2726-5e96aecfde80@opensource.wdc.com> From: Sergey Shtylyov Organization: Open Mobile Platform In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [192.168.11.198] X-ClientProxiedBy: LFEXT02.lancloud.ru (fd00:f066::142) To LFEX1907.lancloud.ru (fd00:f066::207) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY 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 On 09.03.2022 11:55, Sergei Shtylyov wrote: >>> From: Minghao Chi >>> >>> platform_get_resource(pdev, IORESOURCE_IRQ, ..) relies on static >>> allocation of IRQ resources in DT core code, this causes an issue >>> when using hierarchical interrupt domains using "interrupts" property >>> in the node as this bypasses the hierarchical setup and messes up the >>> irq chaining. >>> >>> In preparation for removal of static setup of IRQ resource from DT core >>> code use platform_get_irq(). >>> >>> v1->v2: >>>      - Use more specific in the subject: ata: pata_pxa: >>>      - Switch to returning 'irq' >>> v2->v3: >>>      - drop the unlikely() >> >> Looks good. FYI, the changelog above should be placed under the "---" >> after your Signed-off-by so that it does not stay as part of the commit >> message. No need to resend, I will remove this when applying. >> >> Sergey, >> >> Review OK ? > >    Yes. Ugh, replied from the wrong account. I had provided my Reviewed-by: tag already... >    Although, strictly speaking, we still need to check for IRQ0 as well... The platform_get_irq() patch preventing IRQ0 hasn't landed still... MBR, Sergey