From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752024AbaHaSyJ (ORCPT ); Sun, 31 Aug 2014 14:54:09 -0400 Received: from mail-vc0-f177.google.com ([209.85.220.177]:43818 "EHLO mail-vc0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751617AbaHaSyG (ORCPT ); Sun, 31 Aug 2014 14:54:06 -0400 MIME-Version: 1.0 In-Reply-To: <6179185.bNbDBEC6tl@wuerfel> References: <1409350479-19108-1-git-send-email-abrestic@chromium.org> <1409350479-19108-5-git-send-email-abrestic@chromium.org> <6179185.bNbDBEC6tl@wuerfel> Date: Sun, 31 Aug 2014 11:54:04 -0700 X-Google-Sender-Auth: VHWRbFTWf--u6jwK2nwvGsRy3uk Message-ID: Subject: Re: [PATCH 04/12] MIPS: GIC: Move MIPS_GIC_IRQ_BASE into platform irq.h From: Andrew Bresticker To: Arnd Bergmann Cc: Ralf Baechle , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Jeffrey Deans , Markos Chandras , Paul Burton , Thomas Gleixner , Jason Cooper , Linux-MIPS , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 30, 2014 at 12:57 AM, Arnd Bergmann wrote: > On Friday 29 August 2014 15:14:31 Andrew Bresticker wrote: >> Define a generic MIPS_GIC_IRQ_BASE which is suitable for Malta and >> the upcoming Danube board in . Since Sead-3 is >> different and uses a MIPS_GIC_IRQ_BASE equal to the CPU IRQ base (0), >> define its MIPS_GIC_IRQ_BASE in . >> >> Signed-off-by: Andrew Bresticker >> > > Why do you actually have to hardwire an IRQ base? Can't you move > to the linear irqdomain code for DT based MIPS systems yet? Neither Malta nor SEAD-3 use device-tree for interrupts yet, so they still require a hard-coded IRQ base. For boards using device-tree, I stuck with a legacy IRQ domain as it allows most of the existing GIC irqchip code to be reused.