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 9D979CDB482 for ; Wed, 18 Oct 2023 14:15:55 +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=XWGT5T0jBxr8M/TKwfXW1ESyug3OLjUZsbGejqhSq6c=; b=jq5uO763j7Fyu6 6JfAMJ+RzkzI3hI6qMwjvCXw9ekgSa52jr/+/I+5gHZ1b/QmVROw563tTe42+HyMlba2HkOjVEH2z 9AFw8gSVzrU+Ab00TxKpqFWNx0CylFT+QQ+frKlCFKNsWRWZF13J3DSoIm3ywxZB655GmRDz3owR4 0fRxQ3ZskoGh/HnayXCeo3JYDkd0YRuh/bxoee+QjLyth34SQYsaTl5R+k+2MJdbkPyjKKhX1WBJS F2x967b0dkPDeIqmy/ekQeKJJ3X+FeTtlfEuyeFGeUP9FeWeoHvZvw/xa9SitkMJW9XQH058ExaxY +NxZT/b2Q2hlaajvSJzQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qt7Kh-00Esnv-37; Wed, 18 Oct 2023 14:15:35 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qt7Kf-00Eslu-0Q for linux-arm-kernel@lists.infradead.org; Wed, 18 Oct 2023 14:15:34 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 73ED0CE25D0; Wed, 18 Oct 2023 14:15:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09FCDC116AD; Wed, 18 Oct 2023 14:15:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697638531; bh=D2Y1+vdKJaCYPuayHoy20Ku/DUvjq2SJUMc4827xxfo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CFzdM6GfkTQ2DoWvCkBCzGCa1JDJW2N+lhttnV8z1fRAtjBTxM8poA0Aoz8tK+2XQ Lmn4oTyUdYH/3yIzuTzFBqagC08g0gpHPv3BuwjubgCVpgioApuBFz+8Q4T7v3ZAaZ Ls8trbsMCbpH7BYV+RyrqdvNALXSeV7G9GyU476zSHGSIrMGXY9cgdtSjEf6bvgJB4 AKUVJgdonjs/BOmQ7k1DTDPyKHV/XYS5NeBchkV8wnqMHakaMX88+F88TJwJ30wTdB 17TdrYyLx+Mept+ZTl+6xJ/Ll6LOUPIKAH0W1s5/O7R3vyjHVRT3RC32e+9xkF2g4v N30gPCoR4s7JA== 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 5.4 3/7] irqchip/stm32-exti: add missing DT IRQ flag translation Date: Wed, 18 Oct 2023 10:15:19 -0400 Message-Id: <20231018141525.1335533-3-sashal@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231018141525.1335533-1-sashal@kernel.org> References: <20231018141525.1335533-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 5.4.258 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231018_071533_347099_94F3B7DE X-CRM114-Status: GOOD ( 10.82 ) 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 a8322a4e18d36..df18465a0985f 100644 --- a/drivers/irqchip/irq-stm32-exti.c +++ b/drivers/irqchip/irq-stm32-exti.c @@ -414,6 +414,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