[PATCH v6 01/21] irqchip: ARM: GIC: Move some bits of GICv2 to a library-type file
From: Christoffer Dall <hidden>
Date: 2014-07-11 16:15:50
Also in:
kvm
On Tue, Jul 08, 2014 at 06:31:45PM -0400, Jason Cooper wrote:
Marc, On Mon, Jun 30, 2014 at 04:01:30PM +0100, Marc Zyngier wrote:quoted
A few GICv2 low-level function are actually very useful to GICv3, and it makes some sense to share them across the two drivers. They end-up in their own file, with an additional parameter used to ensure an optional synchronization (unused on GICv2). Cc: Thomas Gleixner <redacted> Cc: Jason Cooper <redacted> Acked-by: Christoffer Dall <redacted> Signed-off-by: Marc Zyngier <redacted> --- drivers/irqchip/Makefile | 2 +- drivers/irqchip/irq-gic-common.c | 115 +++++++++++++++++++++++++++++++++++++++ drivers/irqchip/irq-gic-common.h | 29 ++++++++++ drivers/irqchip/irq-gic.c | 59 ++------------------ 4 files changed, 149 insertions(+), 56 deletions(-) create mode 100644 drivers/irqchip/irq-gic-common.c create mode 100644 drivers/irqchip/irq-gic-common.hI've now applied this and patch #2 to irqchip/gic. It'll be in -next tonight, and I'll merge it into /core at some point in the future. Probably after the other gic changes go on top of this. At any rate, unless you tell me it's all fouled up, this branch is stable. Since I'll be adding more stuff on top, I've tagged this for you guys to pull: git://git.infradead.org/users/jcooper/linux.git tags/deps-irqchip-gic-3.17 Please wait to send your pull request for changes depending on this branch until after you see Thomas send Linus the request for irq/core.
Thanks, I've pushed git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git queue which will pretty much be the pull request to kvm/next (still need to test a few bits before moving to next and make it stable to be included in kvm/next). Will coordinate with Paolo to make sure commit 021f653791ad17e03f98aaa7fb933816ae16f161 lands in Linus' tree before sending the KVM pull-request. Thanks, -Christoffer