From nobody Fri Jan 9 04:57:00 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A95BCE95A67 for ; Sat, 7 Oct 2023 12:01:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343929AbjJGMBA (ORCPT ); Sat, 7 Oct 2023 08:01:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343884AbjJGMAr (ORCPT ); Sat, 7 Oct 2023 08:00:47 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58CA4BF for ; Sat, 7 Oct 2023 05:00:45 -0700 (PDT) Date: Sat, 07 Oct 2023 12:00:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1696680044; 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=LqJ6iDQXqbjO7aIUOF/hNk0wFZR0pQOymhYZyQ7Ndss=; b=277BGSdLaYGAIpGC/2OSZ5Q/2V5RV2bIlj2R9h9J72UH95wpnbscClEaGkFbfQAw02kr0d blqDxKSRvbatKIbi+4BlajvBDauvzfZQ4LrAe/lkLkDc/Am5x7LB4oVuxELd0gQxxtjoCW +r8hqaLnRY3FYc49Y1495JSfqJHmdPDksvG7BE4M2tbYud6uK4AGi4RG50OQTUl5VFX6fM oU3DThLPkNttDqe4IAW21ZHM3Ure/K54kPnaEDls9JONhPhQtlBc+VThm59ilPfWZrfjvH edq7XFty44aTk+YY/hnFDK69nyoAKJZF80poIBDY4//eHZotSfjJbS+ADQqIsg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1696680044; 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=LqJ6iDQXqbjO7aIUOF/hNk0wFZR0pQOymhYZyQ7Ndss=; b=8M/6C+ltXFSYDk6EDF79y9y6/6/Aa/TRBEUo4INBwhcqtj9Q0cL1vpC2D3JzqU7mYq3GoR PYGM2ifbgA8B4/BA== From: "irqchip-bot for Ben Wolsieffer" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-kernel@vger.kernel.org Subject: [irqchip: irq/irqchip-fixes] irqchip/stm32-exti: add missing DT IRQ flag translation Cc: Ben Wolsieffer , Marc Zyngier , tglx@linutronix.de In-Reply-To: <20231003162003.1649967-1-ben.wolsieffer@hefring.com> References: <20231003162003.1649967-1-ben.wolsieffer@hefring.com> MIME-Version: 1.0 Message-ID: <169668004329.3135.14975229580572864483.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: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the irq/irqchip-fixes branch of i= rqchip: Commit-ID: 8554cba1d6dbd3c74e0549e28ddbaccbb1d6b30a Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-plat= forms/8554cba1d6dbd3c74e0549e28ddbaccbb1d6b30a Author: Ben Wolsieffer AuthorDate: Tue, 03 Oct 2023 12:20:03 -04:00 Committer: Marc Zyngier CommitterDate: Sat, 07 Oct 2023 12:47:12 +01:00 irqchip/stm32-exti: add missing DT IRQ flag translation 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@hef= ring.com --- 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-e= xti.c index d8ba5fb..971240e 100644 --- a/drivers/irqchip/irq-stm32-exti.c +++ b/drivers/irqchip/irq-stm32-exti.c @@ -460,6 +460,7 @@ static const struct irq_domain_ops irq_exti_domain_ops = =3D { .map =3D irq_map_generic_chip, .alloc =3D stm32_exti_alloc, .free =3D stm32_exti_free, + .xlate =3D irq_domain_xlate_twocell, }; =20 static void stm32_irq_ack(struct irq_data *d)