[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250610143042.295376-3-antonio.borneo@foss.st.com>
Date: Tue, 10 Jun 2025 16:30:39 +0200
From: Antonio Borneo <antonio.borneo@...s.st.com>
To: Catalin Marinas <catalin.marinas@....com>, Will Deacon <will@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
Alexandre Torgue
<alexandre.torgue@...s.st.com>,
<linux-kernel@...r.kernel.org>, <linux-gpio@...r.kernel.org>
CC: Antonio Borneo <antonio.borneo@...s.st.com>,
Maxime Coquelin
<mcoquelin.stm32@...il.com>,
Clément Le Goffic
<clement.legoffic@...s.st.com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-stm32@...md-mailman.stormreply.com>,
Cheick Traore
<cheick.traore@...s.st.com>
Subject: [PATCH v2 2/5] pinctrl: stm32: Manage irq affinity settings
From: Cheick Traore <cheick.traore@...s.st.com>
Trying to set the affinity of the interrupts associated to stm32
pinctrl results in a write error.
Fill struct irq_chip::irq_set_affinity to use the default helper
function.
Signed-off-by: Cheick Traore <cheick.traore@...s.st.com>
Signed-off-by: Antonio Borneo <antonio.borneo@...s.st.com>
---
drivers/pinctrl/stm32/pinctrl-stm32.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c
index 3abf47e31c019..e0e3e649976b8 100644
--- a/drivers/pinctrl/stm32/pinctrl-stm32.c
+++ b/drivers/pinctrl/stm32/pinctrl-stm32.c
@@ -413,6 +413,7 @@ static struct irq_chip stm32_gpio_irq_chip = {
.irq_set_wake = irq_chip_set_wake_parent,
.irq_request_resources = stm32_gpio_irq_request_resources,
.irq_release_resources = stm32_gpio_irq_release_resources,
+ .irq_set_affinity = IS_ENABLED(CONFIG_SMP) ? irq_chip_set_affinity_parent : NULL,
};
static int stm32_gpio_domain_translate(struct irq_domain *d,
--
2.34.1
Powered by blists - more mailing lists