* Re: [PATCH v3b 0/9] refactoring for mask_cache [not found] <1363885931-20571-1-git-send-email-gerlando.falauto@keymile.com> @ 2013-03-21 21:57 ` Greg KH 2013-03-26 20:37 ` Thomas Gleixner [not found] ` <1363885931-20571-4-git-send-email-gerlando.falauto@keymile.com> ` (3 subsequent siblings) 4 siblings, 1 reply; 9+ messages in thread From: Greg KH @ 2013-03-21 21:57 UTC (permalink / raw) To: Gerlando Falauto Cc: linux-kernel, Jason Cooper, Andrew Lunn, Russell King, Ben Dooks, Kukjin Kim, Ralf Baechle, Grant Likely, Linus Walleij, Thomas Gleixner, Simon Guinot, stable On Thu, Mar 21, 2013 at 06:12:02PM +0100, Gerlando Falauto wrote: > This patchset addresses a regression found with the Orion GPIO controller > when both Edge- and Level- based interrupts are requested within the same > GPIO chip. The regression was introduced by e59347a > "arm: orion: Use generic irq chip" > > thereby affecting all kernel releases since 3.0.x. <formletter> This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly. </formletter> ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v3b 0/9] refactoring for mask_cache 2013-03-21 21:57 ` [PATCH v3b 0/9] refactoring for mask_cache Greg KH @ 2013-03-26 20:37 ` Thomas Gleixner 2013-03-26 20:47 ` Greg KH 0 siblings, 1 reply; 9+ messages in thread From: Thomas Gleixner @ 2013-03-26 20:37 UTC (permalink / raw) To: Greg KH Cc: Gerlando Falauto, linux-kernel, Jason Cooper, Andrew Lunn, Russell King, Ben Dooks, Kukjin Kim, Ralf Baechle, Grant Likely, Linus Walleij, Simon Guinot, stable On Thu, 21 Mar 2013, Greg KH wrote: > On Thu, Mar 21, 2013 at 06:12:02PM +0100, Gerlando Falauto wrote: > > This patchset addresses a regression found with the Orion GPIO controller > > when both Edge- and Level- based interrupts are requested within the same > > GPIO chip. The regression was introduced by e59347a > > "arm: orion: Use generic irq chip" > > > > thereby affecting all kernel releases since 3.0.x. > > <formletter> > > This is not the correct way to submit patches for inclusion in the > stable kernel tree. Please read Documentation/stable_kernel_rules.txt > for how to do this properly. > > </formletter> Aside of that it would be less intrusive for the stable series to revert the offending commit(s), if that is possible. Thanks, tglx ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v3b 0/9] refactoring for mask_cache 2013-03-26 20:37 ` Thomas Gleixner @ 2013-03-26 20:47 ` Greg KH 2013-03-26 20:54 ` Thomas Gleixner 0 siblings, 1 reply; 9+ messages in thread From: Greg KH @ 2013-03-26 20:47 UTC (permalink / raw) To: Thomas Gleixner Cc: Gerlando Falauto, linux-kernel, Jason Cooper, Andrew Lunn, Russell King, Ben Dooks, Kukjin Kim, Ralf Baechle, Grant Likely, Linus Walleij, Simon Guinot, stable On Tue, Mar 26, 2013 at 09:37:53PM +0100, Thomas Gleixner wrote: > On Thu, 21 Mar 2013, Greg KH wrote: > > > On Thu, Mar 21, 2013 at 06:12:02PM +0100, Gerlando Falauto wrote: > > > This patchset addresses a regression found with the Orion GPIO controller > > > when both Edge- and Level- based interrupts are requested within the same > > > GPIO chip. The regression was introduced by e59347a > > > "arm: orion: Use generic irq chip" > > > > > > thereby affecting all kernel releases since 3.0.x. > > > > <formletter> > > > > This is not the correct way to submit patches for inclusion in the > > stable kernel tree. Please read Documentation/stable_kernel_rules.txt > > for how to do this properly. > > > > </formletter> > > Aside of that it would be less intrusive for the stable series to > revert the offending commit(s), if that is possible. If it is reverted in Linus's tree, yes, I can do that. But if so, please just tag that revert with the Cc: stable marking and then I can pick it up properly. Otherwise, no, I can't revert something that isn't already fixed in upstream first. thanks, greg k-h ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v3b 0/9] refactoring for mask_cache 2013-03-26 20:47 ` Greg KH @ 2013-03-26 20:54 ` Thomas Gleixner 2013-04-10 20:38 ` Greg KH 0 siblings, 1 reply; 9+ messages in thread From: Thomas Gleixner @ 2013-03-26 20:54 UTC (permalink / raw) To: Greg KH Cc: Gerlando Falauto, linux-kernel, Jason Cooper, Andrew Lunn, Russell King, Ben Dooks, Kukjin Kim, Ralf Baechle, Grant Likely, Linus Walleij, Simon Guinot, stable On Tue, 26 Mar 2013, Greg KH wrote: > On Tue, Mar 26, 2013 at 09:37:53PM +0100, Thomas Gleixner wrote: > > On Thu, 21 Mar 2013, Greg KH wrote: > > > > > On Thu, Mar 21, 2013 at 06:12:02PM +0100, Gerlando Falauto wrote: > > > > This patchset addresses a regression found with the Orion GPIO controller > > > > when both Edge- and Level- based interrupts are requested within the same > > > > GPIO chip. The regression was introduced by e59347a > > > > "arm: orion: Use generic irq chip" > > > > > > > > thereby affecting all kernel releases since 3.0.x. > > > > > > <formletter> > > > > > > This is not the correct way to submit patches for inclusion in the > > > stable kernel tree. Please read Documentation/stable_kernel_rules.txt > > > for how to do this properly. > > > > > > </formletter> > > > > Aside of that it would be less intrusive for the stable series to > > revert the offending commit(s), if that is possible. > > If it is reverted in Linus's tree, yes, I can do that. But if so, > please just tag that revert with the Cc: stable marking and then I can > pick it up properly. > > Otherwise, no, I can't revert something that isn't already fixed in > upstream first. I know. The proper thing would be: patch 1/n revert (cc'ed to stable) patch 2-m/n fix infrastructure patch n/n redo the commit with the proper change Though I don't know if it's possible. Thanks, tglx ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v3b 0/9] refactoring for mask_cache 2013-03-26 20:54 ` Thomas Gleixner @ 2013-04-10 20:38 ` Greg KH 0 siblings, 0 replies; 9+ messages in thread From: Greg KH @ 2013-04-10 20:38 UTC (permalink / raw) To: Thomas Gleixner Cc: Gerlando Falauto, linux-kernel, Jason Cooper, Andrew Lunn, Russell King, Ben Dooks, Kukjin Kim, Ralf Baechle, Grant Likely, Linus Walleij, Simon Guinot, stable On Tue, Mar 26, 2013 at 09:54:59PM +0100, Thomas Gleixner wrote: > On Tue, 26 Mar 2013, Greg KH wrote: > > > On Tue, Mar 26, 2013 at 09:37:53PM +0100, Thomas Gleixner wrote: > > > On Thu, 21 Mar 2013, Greg KH wrote: > > > > > > > On Thu, Mar 21, 2013 at 06:12:02PM +0100, Gerlando Falauto wrote: > > > > > This patchset addresses a regression found with the Orion GPIO controller > > > > > when both Edge- and Level- based interrupts are requested within the same > > > > > GPIO chip. The regression was introduced by e59347a > > > > > "arm: orion: Use generic irq chip" > > > > > > > > > > thereby affecting all kernel releases since 3.0.x. > > > > > > > > <formletter> > > > > > > > > This is not the correct way to submit patches for inclusion in the > > > > stable kernel tree. Please read Documentation/stable_kernel_rules.txt > > > > for how to do this properly. > > > > > > > > </formletter> > > > > > > Aside of that it would be less intrusive for the stable series to > > > revert the offending commit(s), if that is possible. > > > > If it is reverted in Linus's tree, yes, I can do that. But if so, > > please just tag that revert with the Cc: stable marking and then I can > > pick it up properly. > > > > Otherwise, no, I can't revert something that isn't already fixed in > > upstream first. > > I know. The proper thing would be: > > patch 1/n revert (cc'ed to stable) > patch 2-m/n fix infrastructure > patch n/n redo the commit with the proper change > > Though I don't know if it's possible. Did anything ever come of this? Do you need me to do anything for 3.8-stable still? thanks, greg k-h ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <1363885931-20571-4-git-send-email-gerlando.falauto@keymile.com>]
* Re: [PATCH v3 3/9] gpio: mvebu: convert to usage of *pmask_cache within irq_chip_type [not found] ` <1363885931-20571-4-git-send-email-gerlando.falauto@keymile.com> @ 2013-03-27 12:57 ` Linus Walleij 0 siblings, 0 replies; 9+ messages in thread From: Linus Walleij @ 2013-03-27 12:57 UTC (permalink / raw) To: Gerlando Falauto Cc: linux-kernel, Jason Cooper, Andrew Lunn, Russell King, Ben Dooks, Kukjin Kim, Ralf Baechle, Grant Likely, Thomas Gleixner, Simon Guinot, stable On Thu, Mar 21, 2013 at 6:12 PM, Gerlando Falauto <gerlando.falauto@keymile.com> wrote: > Since we have now introduced pmask_cache within irq_chip_type to also > handle per-chip-type mask registers, convert gpio-mvebu driver to use > this new pointer. > > Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com> If the genirq changes are accepted you can have my Acked-by: Linus Walleij <linus.walleij@linaro.org> >From the GPIO side of things. Yours, Linus Walleij ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <1363885931-20571-9-git-send-email-gerlando.falauto@keymile.com>]
* Re: [PATCH v3b 8/9] orion-gpio: enable IRQ_GC_SEPARATE_MASK_REGISTERS [not found] ` <1363885931-20571-9-git-send-email-gerlando.falauto@keymile.com> @ 2013-03-27 12:58 ` Linus Walleij 0 siblings, 0 replies; 9+ messages in thread From: Linus Walleij @ 2013-03-27 12:58 UTC (permalink / raw) To: Gerlando Falauto Cc: linux-kernel, Jason Cooper, Andrew Lunn, Russell King, Ben Dooks, Kukjin Kim, Ralf Baechle, Grant Likely, Thomas Gleixner, Simon Guinot, stable On Thu, Mar 21, 2013 at 6:12 PM, Gerlando Falauto <gerlando.falauto@keymile.com> wrote: > enable handling of separate mask registers for Orion SoC GPIOs, > fixing indeed the regression introduced by e59347a > "arm: orion: Use generic irq chip". > > Reported-by: Joey Oravec <joravec@drewtech.com> > Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com> > Tested-by: Simon Guinot <sguinot@lacie.com> If the genirq changes are accepted you can have my Acked-by: Linus Walleij <linus.walleij@linaro.org> >From the GPIO side of things. Yours, Linus Walleij ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <1363885931-20571-10-git-send-email-gerlando.falauto@keymile.com>]
* Re: [PATCH v3b 9/9] gpio: mvebu: enable IRQ_GC_SEPARATE_MASK_REGISTERS [not found] ` <1363885931-20571-10-git-send-email-gerlando.falauto@keymile.com> @ 2013-03-27 12:58 ` Linus Walleij 0 siblings, 0 replies; 9+ messages in thread From: Linus Walleij @ 2013-03-27 12:58 UTC (permalink / raw) To: Gerlando Falauto Cc: linux-kernel, Jason Cooper, Andrew Lunn, Russell King, Ben Dooks, Kukjin Kim, Ralf Baechle, Grant Likely, Thomas Gleixner, Simon Guinot, stable On Thu, Mar 21, 2013 at 6:12 PM, Gerlando Falauto <gerlando.falauto@keymile.com> wrote: > enable handling of separate mask registers for all three SoC variants > handled by this driver. > > Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com> > Tested-by: Simon Guinot <sguinot@lacie.com> If the genirq changes are accepted you can have my Acked-by: Linus Walleij <linus.walleij@linaro.org> >From the GPIO side of things. Yours, Linus Walleij ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v3b 0/9] refactoring for mask_cache [not found] <1363885931-20571-1-git-send-email-gerlando.falauto@keymile.com> ` (3 preceding siblings ...) [not found] ` <1363885931-20571-10-git-send-email-gerlando.falauto@keymile.com> @ 2013-04-18 14:01 ` Gerlando Falauto 4 siblings, 0 replies; 9+ messages in thread From: Gerlando Falauto @ 2013-04-18 14:01 UTC (permalink / raw) To: linux-kernel@vger.kernel.org Cc: Jason Cooper, Andrew Lunn, Russell King, Ben Dooks, Kukjin Kim, Ralf Baechle, Grant Likely, Linus Walleij, Thomas Gleixner, Simon Guinot Hi everyone, any chance we could move this pachset to the next level (at least for mainline)? Thanks a lot! Gerlando On 03/21/2013 06:12 PM, Gerlando Falauto wrote: > This patchset addresses a regression found with the Orion GPIO controller > when both Edge- and Level- based interrupts are requested within the same > GPIO chip. The regression was introduced by e59347a > "arm: orion: Use generic irq chip" > > thereby affecting all kernel releases since 3.0.x. > > The reason behind it is that the Orion GPIO controller uses separate > mask registers for the two types of interrupts (one for edge and one > for level), whereas in other cases the same register would be shared. > Since this mask register is cached, we need to have (potentially) > separate register caches. > We do that by adding a per-chip-type mask register cache, and a mask cache > pointer (which will point either to that or the shared one). > > So we proceed with incremental stages: > a) we introduce the new fields and pointer (though only the shared one is used) > b) we convert all drivers to use it > c) we rename the field so to force the use of the per-ct pointer > d) we add per-ct mask cache, provided the new flag > IRQ_GC_SEPARATE_MASK_REGISTERS is enabled > e) we enable the flag for orion-gpio and mvebu drivers > > The changes were tested by Simon Guinot to be effective on Kirkwood chipsets, > on both the legacy orion-gpio and the new gpio-mvebu drivers. > The bug should also affect the other two Marvell variants handled by > the gpio-mvebu driver. > > Changes from v3: cover letter and SOB lines. > > Gerlando Falauto (9): > genirq: cosmetic: remove cur_regs > genirq: add mask_cache and pmask_cache into struct irq_chip_type > gpio: mvebu: convert to usage of *pmask_cache within irq_chip_type > MIPS: JZ4740: convert to usage of *pmask_cache within irq_chip_type > ARM: SAMSUNG: convert to usage of *pmask_cache within irq_chip_type > genirq: rename mask_cache to shared_mask_cache > genirq: handle separate mask registers > orion-gpio: enable IRQ_GC_SEPARATE_MASK_REGISTERS > gpio: mvebu: enable IRQ_GC_SEPARATE_MASK_REGISTERS > > arch/arm/plat-orion/gpio.c | 3 +- > arch/arm/plat-samsung/irq-vic-timer.c | 6 ++-- > arch/mips/jz4740/irq.c | 3 +- > drivers/gpio/gpio-mvebu.c | 23 ++++++++------ > include/linux/irq.h | 9 ++++-- > kernel/irq/generic-chip.c | 55 +++++++++++++++++++++------------ > 6 files changed, 64 insertions(+), 35 deletions(-) > ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2013-04-18 14:14 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1363885931-20571-1-git-send-email-gerlando.falauto@keymile.com>
2013-03-21 21:57 ` [PATCH v3b 0/9] refactoring for mask_cache Greg KH
2013-03-26 20:37 ` Thomas Gleixner
2013-03-26 20:47 ` Greg KH
2013-03-26 20:54 ` Thomas Gleixner
2013-04-10 20:38 ` Greg KH
[not found] ` <1363885931-20571-4-git-send-email-gerlando.falauto@keymile.com>
2013-03-27 12:57 ` [PATCH v3 3/9] gpio: mvebu: convert to usage of *pmask_cache within irq_chip_type Linus Walleij
[not found] ` <1363885931-20571-9-git-send-email-gerlando.falauto@keymile.com>
2013-03-27 12:58 ` [PATCH v3b 8/9] orion-gpio: enable IRQ_GC_SEPARATE_MASK_REGISTERS Linus Walleij
[not found] ` <1363885931-20571-10-git-send-email-gerlando.falauto@keymile.com>
2013-03-27 12:58 ` [PATCH v3b 9/9] gpio: mvebu: " Linus Walleij
2013-04-18 14:01 ` [PATCH v3b 0/9] refactoring for mask_cache Gerlando Falauto
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox