From patchwork Fri Jun 16 12:03:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 109096 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1310494vqr; Fri, 16 Jun 2023 05:38:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6XefPXw9Xnk091h2oeHI7QRJSyx69d7gYdliMNfiaWmRJgf3IS5E8fB27z8JV4zcsJxzNw X-Received: by 2002:a92:c94a:0:b0:335:8dd:cf16 with SMTP id i10-20020a92c94a000000b0033508ddcf16mr2192073ilq.9.1686919133656; Fri, 16 Jun 2023 05:38:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686919133; cv=none; d=google.com; s=arc-20160816; b=j9wO5Ajf0YLfC/2/kiRr0XeoXqo4rNudqkCk+8R2cqVpoON3vipQC5X8cQsFhMJmiO gmOSCVBty9yPCuS3k22A5bLLRQvGt3Za9m7zrobCcKaAiti8f6612kLQPtvU4Nsv+1q+ 9ji3gBX/ZCMl/IxvFMYETZEbWVf+7/nQMUHi9cuJvXB2Qt7xlQZJTeOb+Q56Un+jzNg5 7C+GPF5bKn8hYzEzGq2kko9OK/H79kAN9oVn6YauBRDpl1sXkQh/4tAudZNtMxC6B/fR 17RJeeD8Gj9GN/8yB0tawKpJa03DjIlZiO7EaAIWBTcaMtgHL20mueEljpFro7SiNRR7 ieaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=UjMg9W2029+6XwcA4Xug4OSXNP1m2xFIw7T+baEWEVU=; b=0Qrr/JPeRk/yeEFiI5mtnmy0Mhha6i49nLYfwMUOaXVB0eHTVWA0VbA19dGX3cHLZL Od2X2xIP/vlujDJDR91c6UCgOrck05b3X5fMNKAi4sCFRbcEUabgqZopO31R6gU43LHu IdA++u8+YBB2cnbNqU9iVK7qgzarzlvhRtiAeH79PaRcdJJXi4NFG60I0hXCPr7zoqGd qQuLWPHte5HNK7xiBqW+nBXEG7Lc7aMfa0Br6vcZHnBMflefuxKX8tDLK9FISLIsgJA1 D3amrVzbrc51AsqcZowElAY0PYcfm4FtSeVAgRmScVnUVIz1PJGmx5ZuRhKPuU9ipIMv 4Etw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=uKprTJ1Z; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g66-20020a636b45000000b00534866eb2c2si830415pgc.835.2023.06.16.05.38.38; Fri, 16 Jun 2023 05:38:53 -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; dkim=pass header.i=@linutronix.de header.s=2020 header.b=uKprTJ1Z; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345077AbjFPMDR (ORCPT + 99 others); Fri, 16 Jun 2023 08:03:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234512AbjFPMDL (ORCPT ); Fri, 16 Jun 2023 08:03:11 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96F9AE4 for ; Fri, 16 Jun 2023 05:03:10 -0700 (PDT) Date: Fri, 16 Jun 2023 12:03:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1686916989; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UjMg9W2029+6XwcA4Xug4OSXNP1m2xFIw7T+baEWEVU=; b=uKprTJ1Z1ts3v4s7Y05cSCd8BaWuTR+00laMS4fofnLHfaBs4IIq+EJ/KvEWkCnGXIqyfJ umlq/eRz9KRjnR8hvReE+HdFRJdr3ae5I2jcDzj3VAP1RL6lfGLqNcp13ZLXRYa+uiyb0d Ny3ZDNTsiPaPx5pP5my0Fh5Xba5IkUvguJn5L3sJElogvq/tKNnmpjBM6koZdTsiHJwRyt oImpa33HJy+0upGO+ome9DvBNwE+Pfpu3UTxylq800ly1nSZbx7cWacyWdURh1vDJ6TEPH qvdQMNzDmiToOE5Cs+iP9HiMIpQTICVXIuSaPunv+ocl8+EbPdwBJL1KVb+Frg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1686916989; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UjMg9W2029+6XwcA4Xug4OSXNP1m2xFIw7T+baEWEVU=; b=AwMrgbRrrB9C6mhs8XRE0Ls+icUuvhsdkybqKjU4eadxQT1sFRTdevca2dh10tTv1Il/uK Ed7ffMDNKe5NMLCg== From: "irqchip-bot for Yinbo Zhu" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-kernel@vger.kernel.org Subject: [irqchip: irq/irqchip-next] irqchip/loongson-liointc: Add IRQCHIP_SKIP_SET_WAKE flag Cc: Huacai Chen , Yinbo Zhu , Jianmin Lv , Marc Zyngier , tglx@linutronix.de In-Reply-To: <20230614115936.5950-5-lvjianmin@loongson.cn> References: <20230614115936.5950-5-lvjianmin@loongson.cn> MIME-Version: 1.0 Message-ID: <168691698876.404.4049861054836666260.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768680047831339265?= X-GMAIL-MSGID: =?utf-8?q?1768862917239062222?= The following commit has been merged into the irq/irqchip-next branch of irqchip: Commit-ID: e01f9882f6fdbe0fa8ae39fe7691db2964e9fda6 Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/e01f9882f6fdbe0fa8ae39fe7691db2964e9fda6 Author: Yinbo Zhu AuthorDate: Wed, 14 Jun 2023 19:59:35 +08:00 Committer: Marc Zyngier CommitterDate: Fri, 16 Jun 2023 12:59:28 +01:00 irqchip/loongson-liointc: Add IRQCHIP_SKIP_SET_WAKE flag 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. Reviewed-by: Huacai Chen Signed-off-by: Yinbo Zhu Signed-off-by: Jianmin Lv Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20230614115936.5950-5-lvjianmin@loongson.cn --- 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 5dd9db8..e4b33ae 100644 --- a/drivers/irqchip/irq-loongson-liointc.c +++ b/drivers/irqchip/irq-loongson-liointc.c @@ -295,6 +295,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;