Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp14689156rwb; Mon, 28 Nov 2022 04:04:48 -0800 (PST) X-Google-Smtp-Source: AA0mqf7Yx7R4FqhjtJtsGR8C5PrldDgKhQ9cqZefuPiFSL+zavI+zkGJHLlNO0NrovDbpvz6a/3i X-Received: by 2002:a17:902:9881:b0:188:62b8:2278 with SMTP id s1-20020a170902988100b0018862b82278mr37450010plp.96.1669637087902; Mon, 28 Nov 2022 04:04:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669637087; cv=none; d=google.com; s=arc-20160816; b=oMtwZg5Wp3J49h27WRtfG6btovXj6pFFGQj36jpcYFqSwil13RCAK47Tvf6O0Sy+Lf PnrHbGE/oTLqQ5o3P38CqzkzYxCx4NwiIUyfVJ+mvTuZQZPz7Q4ekFPxH6Lp7nKqt7RB Ga2RMPBs0/EIazkt9zwX4V7HkALcXkJt8kRkUey7z77c/Z66jHtk4Y/zbOdTDht0QaE/ NbhyTP7cas0OajtLiZi7QeqUGb7n/HZF0XI2Gy78RSn0/VKXenxh9ztwDBOkkkbZQd3U GJ7ZzsELfEGUPgyQHvvBgtnkyWQys/V/C5OaeZ/5MEmb7AhR5uYnc+vxAtMLkc7PBnCQ AraQ== 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=J7Dj4YRn/F1RC7Yk4YJJYULL90/HqhKhsQ2qPWq7Zzo=; b=hJfgLLKFEe99t8EOLJSSSPUrqBFr96cgdZye2ZVgCJpaS9XEvGPBJ9tsH6KrfzjQ3c UOAADHzkd8BkxVRGQ6UFwOl+mGRhSvXmNgqwH4ft785hzhz9gTcUbs1VK9IPCYa4Ph5b lQm4mr7/u2agjyn8CcI+ZwHWOTVKr07GQL2wNIOr7SEl5NxkXWEP3po2gnoWgwfr/w8P 3FKH3b3ws/pBy5z31lwXdnywsi/NYI0J3mbTTEA6VJTng180sqLjWBeOKZu5r2VooQuB +ZfUrgyYi5fTsIN20kAHBLWL/YdHwPqeBLPyx93sKRA06P+JDMQTt1gs/FjE7au2bpGt Gm0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=bdVhoYal; dkim=neutral (no key) header.i=@linutronix.de header.b=7iXMX0Fv; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h4-20020a636c04000000b00461bf5f86fdsi12379112pgc.403.2022.11.28.04.04.29; Mon, 28 Nov 2022 04:04:47 -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; dkim=pass header.i=@linutronix.de header.s=2020 header.b=bdVhoYal; dkim=neutral (no key) header.i=@linutronix.de header.b=7iXMX0Fv; 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 S231374AbiK1LyQ (ORCPT + 84 others); Mon, 28 Nov 2022 06:54:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231304AbiK1LyC (ORCPT ); Mon, 28 Nov 2022 06:54:02 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64608BE24 for ; Mon, 28 Nov 2022 03:54:01 -0800 (PST) Date: Mon, 28 Nov 2022 11:53:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1669636439; 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=J7Dj4YRn/F1RC7Yk4YJJYULL90/HqhKhsQ2qPWq7Zzo=; b=bdVhoYal1btiDi1BptSWh3gjNbTxnasoVQJh7zDMSv8UsIdqwYnxwS8zDlhNul9f9ycjC3 ZRQItryCUsLtctS9+dCnO/a2JOpyBNQQ4lqgc4RgiJ1d4NfyNj6MCmwgnf5lQjcxV9UkSq 3lyXcpep8KinPeBopN5NWACPmRYBmswnwumiAtbYgEqqBiWCvJ+UbmqAkHycthTQKXellM zG0heZqxvyNOv3LwLrHVvNJCHbepPok5ywrXWsgo85/WKY4KGmMy0cC2fjENm5YaItf6Mc UqpJXg9OUhWB294+xz69qQeW3v7Y/fPMjrpYEdqE0+lzlT+bn8e+zLto7b9qTg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1669636439; 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=J7Dj4YRn/F1RC7Yk4YJJYULL90/HqhKhsQ2qPWq7Zzo=; b=7iXMX0Fv8iTqfeMyuA+BcfvUXOfoK5ruXkzH+yEygzMciMDAyxp/hNZXC6sg1G/TZVssCj TRRADpRncnT1eKDA== From: "irqchip-bot for Samuel Holland" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-kernel@vger.kernel.org Subject: [irqchip: irq/irqchip-next] irqchip/sifive-plic: Support wake IRQs Cc: Samuel Holland , Marc Zyngier , tglx@linutronix.de In-Reply-To: <20221126194805.19431-1-samuel@sholland.org> References: <20221126194805.19431-1-samuel@sholland.org> MIME-Version: 1.0 Message-ID: <166963643864.4906.15315016442741987261.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 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 The following commit has been merged into the irq/irqchip-next branch of irqchip: Commit-ID: f5259b045c19f6e997bd12d53a5f76663537c1fd Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/f5259b045c19f6e997bd12d53a5f76663537c1fd Author: Samuel Holland AuthorDate: Sat, 26 Nov 2022 13:48:05 -06:00 Committer: Marc Zyngier CommitterDate: Mon, 28 Nov 2022 09:44:24 irqchip/sifive-plic: Support wake IRQs The PLIC does not define any special method for marking interrupts as wakeup-capable, so it should have the IRQCHIP_SKIP_SET_WAKE flag set. Signed-off-by: Samuel Holland Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20221126194805.19431-1-samuel@sholland.org --- drivers/irqchip/irq-sifive-plic.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-sifive-plic.c b/drivers/irqchip/irq-sifive-plic.c index 2f47848..ff47bd0 100644 --- a/drivers/irqchip/irq-sifive-plic.c +++ b/drivers/irqchip/irq-sifive-plic.c @@ -187,7 +187,8 @@ static struct irq_chip plic_edge_chip = { .irq_set_affinity = plic_set_affinity, #endif .irq_set_type = plic_irq_set_type, - .flags = IRQCHIP_AFFINITY_PRE_STARTUP, + .flags = IRQCHIP_SKIP_SET_WAKE | + IRQCHIP_AFFINITY_PRE_STARTUP, }; static struct irq_chip plic_chip = { @@ -201,7 +202,8 @@ static struct irq_chip plic_chip = { .irq_set_affinity = plic_set_affinity, #endif .irq_set_type = plic_irq_set_type, - .flags = IRQCHIP_AFFINITY_PRE_STARTUP, + .flags = IRQCHIP_SKIP_SET_WAKE | + IRQCHIP_AFFINITY_PRE_STARTUP, }; static int plic_irq_set_type(struct irq_data *d, unsigned int type)