* Re: Patch "genirq: GENERIC_IRQ_IPI depends on SMP" has been added to the 5.4-stable tree [not found] <20220813225008.2015117-1-sashal@kernel.org> @ 2022-08-15 4:21 ` Samuel Holland 2022-08-15 8:39 ` Marc Zyngier 0 siblings, 1 reply; 3+ messages in thread From: Samuel Holland @ 2022-08-15 4:21 UTC (permalink / raw) To: Sasha Levin, stable; +Cc: Thomas Gleixner, Marc Zyngier Hi Sasha, On 8/13/22 5:50 PM, Sasha Levin wrote: > This is a note to let you know that I've just added the patch titled > > genirq: GENERIC_IRQ_IPI depends on SMP > > to the 5.4-stable tree which can be found at: > http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary > > The filename of the patch is: > genirq-generic_irq_ipi-depends-on-smp.patch > and it can be found in the queue-5.4 subdirectory. > > If you, or anyone else, feels it should not be added to the stable tree, > please let <stable@vger.kernel.org> know about it. This commit should not be backported further than 8190cc572981 ("irqchip/mips-gic: Only register IPI domain when SMP is enabled"), which it depends on. It looks like that commit only went back to 5.10. Regards, Samuel > commit 1ac66168f6a589c3f91104eb692fab83bae9ed73 > Author: Samuel Holland <samuel@sholland.org> > Date: Fri Jul 1 15:00:50 2022 -0500 > > genirq: GENERIC_IRQ_IPI depends on SMP > > [ Upstream commit 0f5209fee90b4544c58b4278d944425292789967 ] > > The generic IPI code depends on the IRQ affinity mask being allocated > and initialized. This will not be the case if SMP is disabled. Fix up > the remaining driver that selected GENERIC_IRQ_IPI in a non-SMP config. > > Reported-by: kernel test robot <lkp@intel.com> > Signed-off-by: Samuel Holland <samuel@sholland.org> > Signed-off-by: Marc Zyngier <maz@kernel.org> > Link: https://lore.kernel.org/r/20220701200056.46555-3-samuel@sholland.org > Signed-off-by: Sasha Levin <sashal@kernel.org> > > diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig > index 20f44ef9c4c9..e50b5516bbef 100644 > --- a/drivers/irqchip/Kconfig > +++ b/drivers/irqchip/Kconfig > @@ -178,7 +178,7 @@ config MADERA_IRQ > config IRQ_MIPS_CPU > bool > select GENERIC_IRQ_CHIP > - select GENERIC_IRQ_IPI if SYS_SUPPORTS_MULTITHREADING > + select GENERIC_IRQ_IPI if SMP && SYS_SUPPORTS_MULTITHREADING > select IRQ_DOMAIN > select IRQ_DOMAIN_HIERARCHY if GENERIC_IRQ_IPI > select GENERIC_IRQ_EFFECTIVE_AFF_MASK > diff --git a/kernel/irq/Kconfig b/kernel/irq/Kconfig > index 4e11120265c7..3a8a631044f0 100644 > --- a/kernel/irq/Kconfig > +++ b/kernel/irq/Kconfig > @@ -81,6 +81,7 @@ config IRQ_FASTEOI_HIERARCHY_HANDLERS > # Generic IRQ IPI support > config GENERIC_IRQ_IPI > bool > + depends on SMP > select IRQ_DOMAIN_HIERARCHY > > # Generic MSI interrupt support > ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Patch "genirq: GENERIC_IRQ_IPI depends on SMP" has been added to the 5.4-stable tree 2022-08-15 4:21 ` Patch "genirq: GENERIC_IRQ_IPI depends on SMP" has been added to the 5.4-stable tree Samuel Holland @ 2022-08-15 8:39 ` Marc Zyngier 2022-08-15 9:26 ` Greg KH 0 siblings, 1 reply; 3+ messages in thread From: Marc Zyngier @ 2022-08-15 8:39 UTC (permalink / raw) To: Samuel Holland, Sasha Levin; +Cc: stable, Thomas Gleixner On Mon, 15 Aug 2022 05:21:51 +0100, Samuel Holland <samuel@sholland.org> wrote: > > Hi Sasha, > > On 8/13/22 5:50 PM, Sasha Levin wrote: > > This is a note to let you know that I've just added the patch titled > > > > genirq: GENERIC_IRQ_IPI depends on SMP > > > > to the 5.4-stable tree which can be found at: > > http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary > > > > The filename of the patch is: > > genirq-generic_irq_ipi-depends-on-smp.patch > > and it can be found in the queue-5.4 subdirectory. > > > > If you, or anyone else, feels it should not be added to the stable tree, > > please let <stable@vger.kernel.org> know about it. > > This commit should not be backported further than 8190cc572981 > ("irqchip/mips-gic: Only register IPI domain when SMP is enabled"), which it > depends on. It looks like that commit only went back to 5.10. I also wonder why these commits were backported *at all*. On their own, they don't fix anything, but allowed further improvements that are not backport candidates either. Honestly, if I wanted these backported to stable, I'd have put a 'Cc: stable' tag. These patches don't even have a 'Fixes:' tag, for the same reason. M. -- Without deviation from the norm, progress is not possible. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Patch "genirq: GENERIC_IRQ_IPI depends on SMP" has been added to the 5.4-stable tree 2022-08-15 8:39 ` Marc Zyngier @ 2022-08-15 9:26 ` Greg KH 0 siblings, 0 replies; 3+ messages in thread From: Greg KH @ 2022-08-15 9:26 UTC (permalink / raw) To: Marc Zyngier; +Cc: Samuel Holland, Sasha Levin, stable, Thomas Gleixner On Mon, Aug 15, 2022 at 09:39:47AM +0100, Marc Zyngier wrote: > On Mon, 15 Aug 2022 05:21:51 +0100, > Samuel Holland <samuel@sholland.org> wrote: > > > > Hi Sasha, > > > > On 8/13/22 5:50 PM, Sasha Levin wrote: > > > This is a note to let you know that I've just added the patch titled > > > > > > genirq: GENERIC_IRQ_IPI depends on SMP > > > > > > to the 5.4-stable tree which can be found at: > > > http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary > > > > > > The filename of the patch is: > > > genirq-generic_irq_ipi-depends-on-smp.patch > > > and it can be found in the queue-5.4 subdirectory. > > > > > > If you, or anyone else, feels it should not be added to the stable tree, > > > please let <stable@vger.kernel.org> know about it. > > > > This commit should not be backported further than 8190cc572981 > > ("irqchip/mips-gic: Only register IPI domain when SMP is enabled"), which it > > depends on. It looks like that commit only went back to 5.10. > > I also wonder why these commits were backported *at all*. On their > own, they don't fix anything, but allowed further improvements that > are not backport candidates either. > > Honestly, if I wanted these backported to stable, I'd have put a 'Cc: > stable' tag. These patches don't even have a 'Fixes:' tag, for the > same reason. Ok, now dropped from everything older than 5.10, thanks. greg k-h ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-08-15 9:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20220813225008.2015117-1-sashal@kernel.org>
2022-08-15 4:21 ` Patch "genirq: GENERIC_IRQ_IPI depends on SMP" has been added to the 5.4-stable tree Samuel Holland
2022-08-15 8:39 ` Marc Zyngier
2022-08-15 9:26 ` Greg KH
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.