Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22A1BC433F5 for ; Tue, 30 Nov 2021 18:37:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245525AbhK3Ske (ORCPT ); Tue, 30 Nov 2021 13:40:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244668AbhK3SkY (ORCPT ); Tue, 30 Nov 2021 13:40:24 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF892C061574; Tue, 30 Nov 2021 10:37:04 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 4313ACE1AEF; Tue, 30 Nov 2021 18:37:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D832C53FC7; Tue, 30 Nov 2021 18:37:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638297421; bh=o3Iz7VwsUP948/hQZNiQs7goDefOwmFTcWB682uxvjY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ZnsQZ77XCRuNu1E3WqhpiVkADzYug7CqIU0FQQK6xpUmZdnRp4uH6Y/qp8SJ15qCQ 7X1kEX2dgcxBJinvvujaJNDF5J6Qms1Y7AeDqdEb8FY8BlFPeVE0td+7uQlY+d3PiP ylO6iP53N3/jvQJS0Ew3RTmnlKcDv8qfmGV9IAt0uQEMdlG+CKiF1MnFGSiGEldMJc F8ZBhII/STPwnTl7IuDCbffvX4yOMJY2db76TZBXWgHXHCAg8Zr82qgslewkX92Yk6 yNCoUQdsxpZnp4Vuuud51AfR/2by0NiINvCLnGF9DrlNeh0X4zPTOtaREzXJAGrUKq f4GV2RjctEQtQ== Received: from sofa.misterjones.org ([185.219.108.64] helo=why.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ms7zv-008xQB-M5; Tue, 30 Nov 2021 18:36:59 +0000 Date: Tue, 30 Nov 2021 18:36:59 +0000 Message-ID: <87bl21mqwk.wl-maz@kernel.org> From: Marc Zyngier To: "Lad, Prabhakar" Cc: Rob Herring , Prabhakar Mahadev Lad , Geert Uytterhoeven , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "kernel-team@android.com" , John Crispin , Biwen Li , Chris Brandt , "linux-renesas-soc@vger.kernel.org" Subject: Re: [PATCH] of/irq: Add a quirk for controllers with their own definition of interrupt-map In-Reply-To: References: <20211122103032.517923-1-maz@kernel.org> <8735no70tt.wl-maz@kernel.org> <87tug3clvc.wl-maz@kernel.org> <87r1b7ck40.wl-maz@kernel.org> <87tufvmes9.wl-maz@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: prabhakar.csengg@gmail.com, robh@kernel.org, prabhakar.mahadev-lad.rj@bp.renesas.com, geert@linux-m68k.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, kernel-team@android.com, john@phrozen.org, biwen.li@nxp.com, Chris.Brandt@renesas.com, linux-renesas-soc@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 30 Nov 2021 12:52:21 +0000, "Lad, Prabhakar" wrote: > > On Mon, Nov 29, 2021 at 6:33 PM Rob Herring wrote: > > > > interrupts would work just fine here: > > > > interrupts = , > > , > > , > > , > > , > > , > > , > > ; > > > > We don't need a different solution for N:1 interrupts from N:M. Sure, > > that could become unweldy if there are a lot of interrupts (just like > > interrupt-map), but is that an immediate problem? > > > It's just that with this approach the driver will have to index the > interrupts instead of reading from DT. > > Marc - is it OK with the above approach? Anything that uses standard properties in a standard way works for me. M. -- Without deviation from the norm, progress is not possible.