[irqchip:,irq/irqchip-fixes] irqchip/stm32-exti: add missing DT IRQ flag translation
Message ID | 169668004329.3135.14975229580572864483.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp885746vqo; Sat, 7 Oct 2023 05:01:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEFhEmqK3TQLkk0FBWRq3OTzJu6NSCouZNaprHabIyy0u23cAuA5UUFeOn3BkEX4uZbYzpa X-Received: by 2002:a05:6a00:3992:b0:68a:49bc:e0af with SMTP id fi18-20020a056a00399200b0068a49bce0afmr11673158pfb.1.1696680101328; Sat, 07 Oct 2023 05:01:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696680101; cv=none; d=google.com; s=arc-20160816; b=ySEmM1aLxt1sjNRj8JzSUsEyUkqG1ci56oMmsLo47hyS5g/bGw9xPcQpVbiEhUmj4d 9OqbQ+hz7ffV1jOZzLVEZF6IZMPLcEaJ3EmI+dgrptyn3aDMOCKG7/CLPy+kcvi0oSTi 8wkNYhued2uTPFKOZpZ4kQ1nO3hZAlNhB8f2RcY5aBgQPpIqXGcQd2UnoVmmCwU3z/xo N8QtH36USkM0h0dzp95fCqCQN0QBsQQRhEjqiE7Pm8cDT5y23sWtMLz18vnlMzRFB4OC D2Rmt2zhz8N0y3syIHG9ZludQ1EYqJLxByDZX7MtPMrInARn0KDDc4C4Oqubct5hitFp 1/Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=LqJ6iDQXqbjO7aIUOF/hNk0wFZR0pQOymhYZyQ7Ndss=; fh=zuF0iAj+/8D1PdXnPJzcx15AR6tZNYjOQk1ikhpqNmc=; b=Tpy5xQ7r53jScVujfzbX37wIPyYF87hXJAv/9+YGg3IidiQ1qQ8hKj9a6BGcgJ5f1V zxiicD2yD7vUe6mL3uQRXwHhWWoKAoyJsGuiekXphjPsIn9yeLg9nqPxqgeVkql47QWz b+PlFoT48Yhd7VsDp3kPH+lnXXXoAKd55lj3BPg0XF1Vyb02O0TzXeV1h1dDUm2W+/1i dNjrqwQI7/s32Zf06/kL8J37//zTrbsdiL5c7C1p27af/VSQ3KOFq98AbRUzXQ0GJvII hn/LaPe/QTTs5xJYktNYXY4DByHc0hZh+7InKyBD9sZvOjeOlZwogJBHZKOKlKp2Nx4z 9aMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=277BGSdL; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id l133-20020a633e8b000000b0054fdfd26dffsi6072586pga.337.2023.10.07.05.01.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 05:01:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=277BGSdL; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D235C8030B53; Sat, 7 Oct 2023 05:01:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343925AbjJGMA7 (ORCPT <rfc822;ezelljr.billy@gmail.com> + 18 others); Sat, 7 Oct 2023 08:00:59 -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 <rfc822;linux-kernel@vger.kernel.org>); 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 <linux-kernel@vger.kernel.org>; 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" <tip-bot2@linutronix.de> 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 <ben.wolsieffer@hefring.com>, Marc Zyngier <maz@kernel.org>, 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: <tip-bot2@linutronix.de> Robot-Unsubscribe: Contact <mailto:tglx@linutronix.de> to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sat, 07 Oct 2023 05:01:21 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778751989452726062 X-GMAIL-MSGID: 1779098033474715031 |
Series |
[irqchip:,irq/irqchip-fixes] irqchip/stm32-exti: add missing DT IRQ flag translation
|
|
Commit Message
tip-bot2 for Thomas Gleixner
Oct. 7, 2023, noon UTC
The following commit has been merged into the irq/irqchip-fixes branch of irqchip: Commit-ID: 8554cba1d6dbd3c74e0549e28ddbaccbb1d6b30a Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/8554cba1d6dbd3c74e0549e28ddbaccbb1d6b30a Author: Ben Wolsieffer <ben.wolsieffer@hefring.com> AuthorDate: Tue, 03 Oct 2023 12:20:03 -04:00 Committer: Marc Zyngier <maz@kernel.org> 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 <ben.wolsieffer@hefring.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20231003162003.1649967-1-ben.wolsieffer@hefring.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-exti.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 = { .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)