refactoring for mask_cache
Get series with b4
b4 am 20130404093130.GB2245@localhostVersions newest first · linked by author and title
- v3 Latest posting 3/30 of 9 patches 0 repliesNew
- v3 posting 2/30 of 9 patches 0 repliesSuperseded
- v3 posting 1/30 of 9 patches 0 repliesSuperseded
Patches in v3 posting 3/3 No applies recorded yet
None of the 9 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/9] refactoring for mask_cache
Hi Gerlando,
Quoted 29 lines · Gerlando Falauto
Hi everyone,
here is a patchset to address the issue found with Orion, in incremental stages as Thomas suggested.
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 flagIRQ_GC_SEPARATE_MASK_REGISTERSis enabled
e) we enable the flag for orion-gpio and mvebu driversSo even though I'm also providing changes for mvebu, I only tested the patch on a 3.0.40 kernel with the
plat-orion/gpio.cdriver. We currently do not have a working 3.6+ configuration for our Kirkwood boards (3.6 is apparently where this mvebu gpio driver was introduced), so I would be glad if someone could give it a try.
I also have no idea whether the three Marvell variants all have separate mask registers (which is what the last patch assumes).Gerlando Falauto (9):
genirq: cosmetic: removecur_regs
genirq: addmask_cacheandpmask_cacheinto structirq_chip_type
gpio: mvebu: convert to usage of*pmask_cachewithinirq_chip_type
MIPS: JZ4740: convert to usage of*pmask_cachewithinirq_chip_type
ARM: SAMSUNG: convert to usage of*pmask_cachewithinirq_chip_type
genirq: renamemask_cachetoshared_mask_cache
genirq: handle separate mask registers
orion-gpio: enableIRQ_GC_SEPARATE_MASK_REGISTERS
gpio: mvebu: enableIRQ_GC_SEPARATE_MASK_REGISTERS
Quoted 8 lines
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(-)
What's the plan for this patchset?
Given this fixes a long time issue, perhaps we might want to try to have it included in v3.10, which is soon to come.
Thanks,
Signature · 3 lines
Ezequiel Garc?a, Free Electrons Embedded Linux, Kernel and Android Engineering http://free-electrons.com