From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755544AbaIQOH2 (ORCPT ); Wed, 17 Sep 2014 10:07:28 -0400 Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:49575 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755215AbaIQOH0 (ORCPT ); Wed, 17 Sep 2014 10:07:26 -0400 X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 96.249.243.124 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+9TmN6w1siK1iY3Csom1l97krH4WyA23I= X-DKIM: OpenDKIM Filter v2.0.1 titan 266DA5E4F46 Date: Wed, 17 Sep 2014 10:07:11 -0400 From: Jason Cooper To: Andrew Bresticker Cc: Ralf Baechle , Thomas Gleixner , Jeffrey Deans , Markos Chandras , Paul Burton , Qais Yousef , Jonas Gorski , John Crispin , David Daney , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 00/24] MIPS GIC cleanup, part 1 Message-ID: <20140917140711.GB16945@titan.lakedaemon.net> References: <1410825087-5497-1-git-send-email-abrestic@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1410825087-5497-1-git-send-email-abrestic@chromium.org> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andrew, First, great work! On Mon, Sep 15, 2014 at 04:51:03PM -0700, Andrew Bresticker wrote: > The current MIPS GIC driver and the platform code using it are rather > ugly and could use a good cleanup before adding device-tree support [0]. > This major issues addressed in this series are converting the GIC (and > platforms using it) to use IRQ domains and properly mapping interrupts > through the GIC instead of using it transparently. For part 2 I plan > on: updating the driver to use proper iomem accessors, cleaning up and > moving the GIC clocksource driver to drivers/clocksource/, adding DT > support, and possibly converting the GIC driver to use generic irqchip. > > Patches 1-16 are cleanups for the existing GIC driver and prepare platforms > using it for the switch to IRQ domains and using the GIC in a non-transparent > way. > > Patches 17-24 convert the GIC driver to use IRQ domains and updates the > platforms using it to properly map GIC interrupts instead of using the static > routing tables to make the GIC appear transparent. > > I've tested this series on Malta and, with additional patches, on the > DT-enabled Danube platform. Unfortunately I do not have SEAD-3 hardware, > so that has only been compile tested. Compile tested on all other affected > architectures (ath79, ralink, lantiq). > > [0] https://lkml.org/lkml/2014/9/5/542 > > Andrew Bresticker (24): ... > MIPS: Move GIC to drivers/irqchip/ > irqchip: mips-gic: Implement generic irq_ack/irq_eoi callbacks > irqchip: mips-gic: Implement irq_set_type callback > irqchip: mips-gic: Fix gic_set_affinity() return value > irqchip: mips-gic: Use IRQ domains > irqchip: mips-gic: Stop using per-platform mapping tables > irqchip: mips-gic: Probe for number of external interrupts > irqchip: mips-gic: Use separate edge/level irq_chips > irqchip: mips-gic: Support local interrupts > irqchip: mips-gic: Remove unnecessary globals ... > drivers/irqchip/Kconfig | 4 + > drivers/irqchip/Makefile | 1 + > drivers/irqchip/irq-mips-gic.c | 597 +++++++++++++++++++++ It would be too much of a pia to have this go through irqchip, so Acked-by: Jason Cooper Please make sure to add the Tested-by's, etc before merging through mips. thx, Jason.