Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2667211rwd; Mon, 22 May 2023 02:20:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4okSlAUTBwaSONCiRKlrTCh0n9Dh+UccmDP9KieUDt9hNhYiwZrJ/ounb1La9jRRFSse0b X-Received: by 2002:a05:6a00:1594:b0:641:558:8e2e with SMTP id u20-20020a056a00159400b0064105588e2emr14605148pfk.15.1684747242976; Mon, 22 May 2023 02:20:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684747242; cv=none; d=google.com; s=arc-20160816; b=g3e/wS9bkJ5n7Y7WDYCa0Mp1fd84IWLgYFob3mratLX/aQ94W45SBes4uzVagXmFaG rtOD3vCgU6MP1hzDIGKUun6RtCBX2sX6ybBQ2SEBcetwSV2vVOH/5Q1oAh4lIqALuXcE hHYrk1p1uhuGfKz/cAliTqbYVQ3NUUduE6hWjsIDh2Xs6hv+rWPYue6IUGeLj9PoabAS vHMMClaFFRiGKW/ECf0lw72XjQELl0mFS61pdazq1qZe/HV0I4PYjKwrH5ec23xzSgUV aMmqjJjxJjexN5rvfGEf73U/feSWTE7m2ZJdJPQtaE3L1Zds7u47+89QmEoofDkLP2gp HWSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=eQVOegJl51eIFKcm/UXynWNWviH4Mc9Y+Wdt28NxY4U=; b=ijazrEU8ixS23QP+PDD8t64MIw8CROytlBVlqheA0bEguUVk6Ml/AtJQMyF0BEBLBL LQIKXnJ4DFeriOSngFmzL9P+cDjN34c1Z4lJSZ/ozPXX8U0jV1SgKDwlyVOCAEgSf2Fe iRjF0VwbEsnXCT2afSS7b3kziGLIkyD2UsQtr//I18J+KY1KLvPbMZNl3uMYOOBaSQGV HrmEmjy5xBPkbfOcnpaGsPgkuDA92YGUlv9QLNMBsRqnlBwKJn4Lna7og5R7yOvcHLKj 8ZnLQ03VprqbHc2vVrn8/m+YNbde0uJhwm90FJPkA5XHwDemg2qnlTPNU1hJMD4+ifZR JS2Q== 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 i188-20020a6254c5000000b006434d66f94dsi2818888pfb.31.2023.05.22.02.20.25; Mon, 22 May 2023 02:20:42 -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 S232621AbjEVJBG (ORCPT + 99 others); Mon, 22 May 2023 05:01:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232608AbjEVJAZ (ORCPT ); Mon, 22 May 2023 05:00:25 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B83351BD for ; Mon, 22 May 2023 02:00:20 -0700 (PDT) Received: from loongson.cn (unknown [10.20.42.176]) by gateway (Coremail) with SMTP id _____8BxRPAjL2tkkN8KAA--.18827S3; Mon, 22 May 2023 17:00:19 +0800 (CST) Received: from [10.20.42.176] (unknown [10.20.42.176]) by localhost.localdomain (Coremail) with SMTP id AQAAf8BxFLUhL2tk89xuAA--.55826S3; Mon, 22 May 2023 17:00:17 +0800 (CST) Subject: Re: [PATCH V1 4/4] irqchip/loongson-liointc: Add IRQCHIP_SKIP_SET_WAKE flag To: loongson-kernel@lists.loongnix.cn Cc: Thomas Gleixner , Marc Zyngier , linux-kernel@vger.kernel.org, loongarch@lists.linux.dev, Lorenzo Pieralisi , Jiaxun Yang , Huacai Chen , Yinbo Zhu References: <20230520063818.27208-1-lvjianmin@loongson.cn> <20230520063818.27208-5-lvjianmin@loongson.cn> From: Jianmin Lv Message-ID: <853bc63c-24ec-a004-ea29-1c58f45ca996@loongson.cn> Date: Mon, 22 May 2023 17:00:17 +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-Language: en-US Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf8BxFLUhL2tk89xuAA--.55826S3 X-CM-SenderInfo: 5oymxthqpl0qxorr0wxvrqhubq/ X-Coremail-Antispam: 1Uk129KBjvJXoW7KrW8Zr1rAr15ArW7KF43trb_yoW8AF1Dpr 43A3WqkF4UJryUZanxKr4UJ3WUZan5XrZ7tay5KFyI9FyDGw1DJF1kZF13ur4fAw45GF12 9F4rGry8WF45CrUanT9S1TB71UUUUj7qnTZGkaVYY2UrUUUUj1kv1TuYvTs0mT0YCTnIWj qI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUIcSsGvfJTRUUU bq8YFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20EY4v20xvaj40_Wr0E3s 1l1IIY67AEw4v_Jrv_JF1l8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxSw2x7M28EF7xv wVC0I7IYx2IY67AKxVW5JVW7JwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxVW8JVWxJwA2z4 x0Y4vEx4A2jsIE14v26F4UJVW0owA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Cr1j6rxdM2kK e7AKxVWUAVWUtwAS0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI 0UMc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUtVWrXwAv7VC2z280 aVAFwI0_Gr0_Cr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcVAKI48JMxk0xIA0c2IEe2 xFo4CEbIxvr21lc7CjxVAaw2AFwI0_JF0_Jw1l42xK82IYc2Ij64vIr41l4I8I3I0E4IkC 6x0Yz7v_Jr0_Gr1l4IxYO2xFxVAFwI0_JF0_Jw1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s 026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1q6r43MIIYrxkI7VAKI48JMIIF 0xvE2Ix0cI8IcVAFwI0_Xr0_Ar1lIxAIcVC0I7IYx2IY6xkF7I0E14v26r4j6F4UMIIF0x vE42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVW8JVWxJwCI42IY6I8E87Iv 6xkF7I0E14v26r4j6r4UJbIYCTnIWIevJa73UjIFyTuYvjxU4Xo7DUUUU X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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 2023/5/20 下午4:43, Huacai Chen wrote: > Hi, Jianmin, > > On Sat, May 20, 2023 at 2:38 PM Jianmin Lv wrote: >> >> From: Yinbo Zhu >> >> Liointc doesn't require specific logic to work with wakeup IRQs, >> and no irq_set_wake callback is needed. To allow registered IRQs >> from liointc to be used as a wakeup-source, and ensure irq_set_irq_wake() >> works well, the flag IRQCHIP_SKIP_SET_WAKE should be added. > Maybe using LIOINTC instead of Liointc/liointc is better in commit > message. Except this small issue, for the whole series, > Reviewed-by: Huacai Chen > Ok, I'll change it, thanks. >> >> Signed-off-by: Yinbo Zhu >> Signed-off-by: Jianmin Lv >> --- >> drivers/irqchip/irq-loongson-liointc.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/irqchip/irq-loongson-liointc.c b/drivers/irqchip/irq-loongson-liointc.c >> index 9a9c2bf048a3..dbd1ccce0fb2 100644 >> --- a/drivers/irqchip/irq-loongson-liointc.c >> +++ b/drivers/irqchip/irq-loongson-liointc.c >> @@ -291,6 +291,7 @@ static int liointc_init(phys_addr_t addr, unsigned long size, int revision, >> ct->chip.irq_mask = irq_gc_mask_disable_reg; >> ct->chip.irq_mask_ack = irq_gc_mask_disable_reg; >> ct->chip.irq_set_type = liointc_set_type; >> + ct->chip.flags = IRQCHIP_SKIP_SET_WAKE; >> >> gc->mask_cache = 0; >> priv->gc = gc; >> -- >> 2.31.1 >> >> > _______________________________________________ > Loongson-kernel mailing list -- loongson-kernel@lists.loongnix.cn > To unsubscribe send an email to loongson-kernel-leave@lists.loongnix.cn >