Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1AD27CDB484 for ; Wed, 18 Oct 2023 14:14:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MOAHAv9KgF+hqGatmayBvw9eWlpMbpTEkBbCYq2eo2k=; b=NtcJuz/bMQCMUK V3qZ6fa4H0FQUpEjAAV/M/bSgPZheGQj1VXcKteuv5o1BUdwMTGxWLyEG4LHhGXcnQFemwFv/ixB+ vOmZxRSWAsf8WAaVyWpR17TTwTP1gVqLv6qnmPz/7PCQOUE7540K1z3CxQZMwfT+pS3JQkgUuOEnt wGrM7D1bQrU3fDcrjCwFILX6z1zceQklDk2sBwPVLzFuUbBUduDuNZuZcRXpZzmUVAkOb3tM5CVUE oBJYZpxYSLiiNhBu1XWu70VuvXOECi/Idg2RAmN+rT4+OaDqtqEjnIKL2ezKxX2vCjMkfzIQoAN+7 3pRr66zqRdNf42DIbtzQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qt7JD-00Es44-0T; Wed, 18 Oct 2023 14:14:03 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qt7J4-00Erzd-2T for linux-arm-kernel@lists.infradead.org; Wed, 18 Oct 2023 14:13:56 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 6192F61802; Wed, 18 Oct 2023 14:13:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0F2DC433D9; Wed, 18 Oct 2023 14:13:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697638429; bh=rTVhYDE+rQI0sAnXEiLXrhwq8F5WMJ6T4HrQTI0D7ow=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GyP/EpUR48dZfhwzp4SG2wqbo7PqW+XRX8v95se9rjaGT/PkL/j0NyBR6HkPj38Op Adb0IBgp84yCPXpnH3KiJHpD91nh1nU1wBA8wZGzzPo3/UFiE30juYvRDyUiAacLMz GpCn9aN1quIHnEqzShNml3MQhQrXa9f+yXnhMX+BcBECJRknzXdxMtmTv6Uua2uTXw Hsunu+ov4KFsrD9lsuwTWGuZD7blHMji8ilS5f81AErbCqLbUxNJJFLdlzX6ifiUsm KHWcCxB5e8qutiwcbgupvjzgM3bHg0aod/5otCGlwfdUGBXvHLlpwP1/9wocalyHlS qWf2swF4dI5AQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Ben Wolsieffer , Marc Zyngier , Sasha Levin , tglx@linutronix.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH AUTOSEL 6.1 12/19] irqchip/stm32-exti: add missing DT IRQ flag translation Date: Wed, 18 Oct 2023 10:13:14 -0400 Message-Id: <20231018141323.1334898-12-sashal@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231018141323.1334898-1-sashal@kernel.org> References: <20231018141323.1334898-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.1.58 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231018_071354_856749_49132DD2 X-CRM114-Status: GOOD ( 11.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Ben Wolsieffer [ Upstream commit 8554cba1d6dbd3c74e0549e28ddbaccbb1d6b30a ] The STM32F4/7 EXTI driver was missing the xlate callback, so IRQ trigger flags specified in the device tree were being ignored. This was preventing the RTC alarm interrupt from working, because it must be set to trigger on the rising edge to function correctly. Signed-off-by: Ben Wolsieffer Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20231003162003.1649967-1-ben.wolsieffer@hefring.com Signed-off-by: Sasha Levin --- drivers/irqchip/irq-stm32-exti.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/irq-stm32-exti.c b/drivers/irqchip/irq-stm32-exti.c index 8bbb2b114636c..dc6f67decb022 100644 --- a/drivers/irqchip/irq-stm32-exti.c +++ b/drivers/irqchip/irq-stm32-exti.c @@ -458,6 +458,7 @@ static const struct irq_domain_ops irq_exti_domain_ops = { .map = irq_map_generic_chip, .alloc = stm32_exti_alloc, .free = stm32_exti_free, + .xlate = irq_domain_xlate_twocell, }; static void stm32_irq_ack(struct irq_data *d) -- 2.40.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel