Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754421AbcKUPvJ (ORCPT ); Mon, 21 Nov 2016 10:51:09 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:56906 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753088AbcKUPvI (ORCPT ); Mon, 21 Nov 2016 10:51:08 -0500 Date: Mon, 21 Nov 2016 16:48:23 +0100 (CET) From: Thomas Gleixner To: Zubair Lutfullah Kakakhel cc: monstr@monstr.eu, jason@lakedaemon.net, marc.zyngier@arm.com, linux-kernel@vger.kernel.org, michal.simek@xilinx.com, linuxppc-dev@lists.ozlabs.org, mpe@ellerman.id.au Subject: Re: [Patch v7 6/7] irqchip: xilinx: Try to fall back if xlnx,kind-of-intr not provided In-Reply-To: <7f07be12-fb2e-e8ad-e0e6-52c58542470a@imgtec.com> Message-ID: References: <20161114121351.10924-1-Zubair.Kakakhel@imgtec.com> <20161114121351.10924-7-Zubair.Kakakhel@imgtec.com> <7f07be12-fb2e-e8ad-e0e6-52c58542470a@imgtec.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 988 Lines: 34 On Mon, 21 Nov 2016, Zubair Lutfullah Kakakhel wrote: > On 11/18/2016 01:29 PM, Thomas Gleixner wrote: > I'll elaborate on the commit message. > > The DT node in arch/powerpc for this driver is > > intc_0: interrupt-controller@81800000 { > #interrupt-cells = <0x2>; > compatible = "xlnx,xps-intc-1.00.a"; > interrupt-controller ; > reg = < 0x81800000 0x10000 >; > xlnx,num-intr-inputs = <0xc>; > } ; > > The DT node in arch/microblaze for this driver is > > intc_0: interrupt-controller@81800000 { > #interrupt-cells = <0x2>; > compatible = "xlnx,xps-intc-1.00.a"; > interrupt-controller ; > reg = < 0x81800000 0x10000 >; > xlnx,kind-of-intr = <0x100>; //! > xlnx,num-intr-inputs = <0x9>; > } ; > > The PPC driver assumes the kind-of-intr value be 0x0 and doesn't specify it in > DT. > This patch makes that a fall back case. Instead of completely error-ing out. Ok. makes sense. I misread the changelog/patch. Thanks, tglx