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 29F52CDB47E for ; Wed, 18 Oct 2023 14:15:03 +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=1ebu+T1PLM5lbvhYdeFXwCBKBKaIRQ86QsWxfwZjqO0=; b=MVeekePx7oNcHB 3p2qtWlDtjpx9qwIvTxDbfEp7vt1zqw0wgQFcR5OJcTt1UvmuXDItCV1WKCwMkFTXoF6lPzMOQ5SV VTkvF4Cd+sgdKV2QlrUUYJzosdyLSFsJO3a5fxcOhYBcWP9zhPSh0yt/WT2iG+kr2N1CeMUz9kuBr olGSZxA+uOz0SQh6UuouZTFfzcgtA2w+12DKeRad8FLIxeRp6tOOrA0paMWoBBs6TV/nwIglYVp1Z HzttbyT2D/9Imk6VFpZYQIYl1gBs0ypKKiDGeHpTlgHvzQ4tWmokKnJFmKmQmveYBPE5Nl48VKKgH x+y7rjsxdtPBp0W8O+NA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qt7Jn-00EsLM-1F; Wed, 18 Oct 2023 14:14:39 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qt7Jk-00EsJ5-0m for linux-arm-kernel@lists.infradead.org; Wed, 18 Oct 2023 14:14:37 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id DA026B82339; Wed, 18 Oct 2023 14:14:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8446DC433BC; Wed, 18 Oct 2023 14:14:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697638474; bh=2j+ZUKwfOIrGJNXjcJkcZxfzku/ttRNwtZz758NhrLA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kzQDdZSwRt+mHMuF3uYlMOlW2UEf1efJkkz+LU3Dv+Ck1/BCTEuTLPhu5Du5KSXis GyJxt/EzDwMKsBRy1WaIblDV5QRLBsdTqPBEKj3V5sZliVg51Q+BmfARjpkud8J+Xy 3eOv/8qzCGk5YJ1ZBHUJfAaBg+vznpoIugusN18lKcTnpWdSBdprXyK/D81efc9qyN 7TOL9dRYRsdaPmwVHPzlkK3RaKa3/mld5ntOm0sYUV9i+zP0wMPGkUc2DP/TUmAn2y ADBtMK3DBPR2gOE4WCztaS3Au7kI3kHLveDyyH0XUgV8+TVGTvrbyuW0034itRKkRN DZ1BSBAfCH0Wg== 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.15 08/14] irqchip/stm32-exti: add missing DT IRQ flag translation Date: Wed, 18 Oct 2023 10:14:08 -0400 Message-Id: <20231018141416.1335165-8-sashal@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231018141416.1335165-1-sashal@kernel.org> References: <20231018141416.1335165-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 5.15.135 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231018_071436_417275_7918C0C5 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 33c76710f845f..9c150c402f0ba 100644 --- a/drivers/irqchip/irq-stm32-exti.c +++ b/drivers/irqchip/irq-stm32-exti.c @@ -408,6 +408,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