• G
    genirq: Generic chip: Handle separate mask registers · af80b0fe
    Gerlando Falauto 提交于
    There are cases where all irq_chip_type instances have separate mask
    registers, making a shared mask register cache unsuitable for the
    purpose.
    
    Introduce a new flag IRQ_GC_MASK_CACHE_PER_TYPE. If set, point the per
    chip mask pointer to the per chip private mask cache instead.
    
    [ tglx: Simplified code, renamed flag and massaged changelog ]
    Signed-off-by: NGerlando Falauto <gerlando.falauto@keymile.com>
    Cc: Andrew Lunn <andrew@lunn.ch>
    Cc: Joey Oravec <joravec@drewtech.com>
    Cc: Lennert Buytenhek <kernel@wantstofly.org>
    Cc: Russell King - ARM Linux <linux@arm.linux.org.uk>
    Cc: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
    Cc: Holger Brunck <Holger.Brunck@keymile.com>
    Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
    Acked-by: NGrant Likely <grant.likely@linaro.org>
    Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: devicetree-discuss@lists.ozlabs.org
    Cc: Rob Herring <rob.herring@calxeda.com>
    Cc: Ben Dooks <ben-linux@fluff.org>
    Cc: Gregory Clement <gregory.clement@free-electrons.com>
    Cc: Simon Guinot <simon@sequanux.org>
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
    Cc: Jean-Francois Moine <moinejf@free.fr>
    Cc: Nicolas Pitre <nico@fluxnic.net>
    Cc: Rob Landley <rob@landley.net>
    Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
    Link: http://lkml.kernel.org/r/20130506142539.152569748@linutronix.deSigned-off-by: NThomas Gleixner <tglx@linutronix.de>
    af80b0fe
irq.h 23.6 KB