Message ID | 20220211181500.1856198-1-bigeasy@linutronix.de |
---|---|
Headers | show |
Series | Provide and use generic_handle_irq_safe() where appropriate. | expand |
On Fri, 11 Feb 2022, Sebastian Andrzej Siewior wrote: > handler/ interrupt controller entry). It is low level code and the > function expects that interrupts are disabled at entry point. > > This isn't the case for invocations from tasklets, workqueues or the > primary interrupt handler on PREEMPT_RT. Once this gets noticed a > "local_irq_disable|safe()" is added. To avoid further confusion this > series adds generic_handle_irq_safe() which can be used from any context > and adds a few user. > > v2…v4: > - Correct kernel doc for generic_handle_irq_safe() as per Wolfram Sang. > - Use "misc" instead of "mfd" for the hi6421-spmi-pmic driver. > > v2…v1: > https://lore.kernel.org/all/20220131123404.175438-1-bigeasy@linutronix.de/ > - Redo kernel-doc for generic_handle_irq_safe() in #1. > - Use generic_handle_irq_safe() instead of generic_handle_irq() in the > patch description where I accidently used the wrong one. > v1: > https://lore.kernel.org/all/20220127113303.3012207-1-bigeasy@linutronix.de/ Please use the official cover-letter format (--cover-letter). It would have been nice to at least find a diff stat here. ... Do we really need to coordinate this series cross-subsystem? Can we first apply the API, then have each of the subsystems adapted separately? Does the change-over all need to happen concurrently? If the latter is the case, is this set bisectable?
On 2022-02-15 14:36:01 [+0000], Lee Jones wrote:
> Do we really need to coordinate this series cross-subsystem?
I would suggest to merge it via irq subsystem but I leave the logistics
to tglx.
Sebastian
On Tue, 15 Feb 2022, Sebastian Andrzej Siewior wrote: > On 2022-02-15 14:36:01 [+0000], Lee Jones wrote: > > Do we really need to coordinate this series cross-subsystem? > > I would suggest to merge it via irq subsystem but I leave the logistics > to tglx. Could you answer by other questions too please?
On 2022-02-15 15:16:36 [+0000], Lee Jones wrote: > On Tue, 15 Feb 2022, Sebastian Andrzej Siewior wrote: > > > On 2022-02-15 14:36:01 [+0000], Lee Jones wrote: > > > Do we really need to coordinate this series cross-subsystem? > > > > I would suggest to merge it via irq subsystem but I leave the logistics > > to tglx. > > Could you answer by other questions too please? I don't think that I can answer them. I said I leave the logistics to tglx. This can go via one merge via irq. This can also go differently i.e. feature branch on top of 5.17-rc1 (with 1/7) which is merge into each subsystem and then the "feature" on top. Either way it remains bisect-able since each driver is changed individually. There is no need to merge them in one go but since it is that small it probably makes sense. But I don't do the logistics here. Sebastian
On Tue, 15 Feb 2022, Sebastian Andrzej Siewior wrote: > On 2022-02-15 15:16:36 [+0000], Lee Jones wrote: > > On Tue, 15 Feb 2022, Sebastian Andrzej Siewior wrote: > > > > > On 2022-02-15 14:36:01 [+0000], Lee Jones wrote: > > > > Do we really need to coordinate this series cross-subsystem? > > > > > > I would suggest to merge it via irq subsystem but I leave the logistics > > > to tglx. > > > > Could you answer by other questions too please? > > I don't think that I can answer them. I said I leave the logistics to > tglx. > > This can go via one merge via irq. This can also go differently i.e. > feature branch on top of 5.17-rc1 (with 1/7) which is merge into each > subsystem and then the "feature" on top. Apologies for the confusion. I'm not asking you about merge strategies. We can handle that without issue. > Either way it remains bisect-able since each driver is changed > individually. There is no need to merge them in one go but since it is > that small it probably makes sense. But I don't do the logistics here. Okay, this is what I was asking. So there aren't any hard dependencies between the driver changes? Only the drivers are dependent on the API. So, if we choose to do so, we can merge the API and then subsequently add the users one by one into their respective subsystem, in any order. This would save on creating an immutable topic branch which we all pull from. What is your preference Thomas?
On 2022-02-15 15:42:13 [+0000], Lee Jones wrote:
> So there aren't any hard dependencies between the driver changes?
Correct. #2 - #7 depend on #1. The order of #2+ is not relevant.
Sebastian