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 3E2FDC46CA1 for ; Wed, 18 Oct 2023 14:15:48 +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=A2xx4tFT/LZt+dAqN/whJT5X+z1eLxMAjI6zJR6/ZRU=; b=d33tk32uDmwetl o/DRvKF1dnzY+nLu578SqBxyCA+0Ivfe4pJTeUk6ds+Fu3pwNNSKlm9Kh2k4cToELlWKAelRpOqXF jxXjHsI+dXBKOsUVQ+gp1oxQKxeGmLKc+VhvVw0NhdQVy1+Ab8DXX9UO19Dsyxy8p9e4USmS9kSB0 7+Vho268PxO3E9ljf4aB8lVBJl8CAiD1MKnjJ/XZh1kVkZWfME2d0Wm4WXEQZCqffPsJ4n5Odc6in OtA9RD7ARgnLI0oo88sHbj3Fo8Mui6OzgahE0s+S800KakNBkamthIJznp1+038amA7ERrmqJiZ33 fYGhajy0CYDreJU9DwRw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qt7KX-00EsjH-0F; Wed, 18 Oct 2023 14:15:25 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qt7KT-00EsgZ-2L for linux-arm-kernel@lists.infradead.org; Wed, 18 Oct 2023 14:15:23 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 17FD161291; Wed, 18 Oct 2023 14:15:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB9F3C433B6; Wed, 18 Oct 2023 14:15:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697638505; bh=ssmOwkPnzzduxaun5gF9VDAm1xtrFSzXhPPWwH5Jg/0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KpNdKK5xHMUrn+i0+zSQW1wOidzqAk8KfcO+DJRcZlhKs8sj/mpELCGwuv2QMgt0X C+qpXa7pnuiTa77nLeg8A/3YKtEcehNCzRcOsc154d+TT7MiB6HwHu7VJyXhwnvm+t 5+5te7uxwEUfM7ZcNr2z7tAKWr0Jx9XvdHoAkq5TtX49Z8Ofr5UdAx/kCLSrWxBYAP hk/CDiq5oQpfc7r3N75u0M5d/wDn3XNnTZaMrcoC+/yE5JybJs+iCFM/c/q64cxOSG 1X50MKHQ5vLucd0cUTuF2+3gQE3A790T0cXSNRKa71cgBBX8hdyO7E8wq+pRs9shJ9 ga+lVzlblSLtQ== 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.10 06/11] irqchip/stm32-exti: add missing DT IRQ flag translation Date: Wed, 18 Oct 2023 10:14:48 -0400 Message-Id: <20231018141455.1335353-6-sashal@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231018141455.1335353-1-sashal@kernel.org> References: <20231018141455.1335353-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 5.10.198 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231018_071521_806913_2D392818 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 8662d7b7b2625..cec9080cccad0 100644 --- a/drivers/irqchip/irq-stm32-exti.c +++ b/drivers/irqchip/irq-stm32-exti.c @@ -403,6 +403,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