From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB3BDC433DB for ; Wed, 10 Feb 2021 14:41:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A225664D87 for ; Wed, 10 Feb 2021 14:41:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231437AbhBJOlj (ORCPT ); Wed, 10 Feb 2021 09:41:39 -0500 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:41419 "EHLO new1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230048AbhBJOlg (ORCPT ); Wed, 10 Feb 2021 09:41:36 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 635665802C7; Wed, 10 Feb 2021 09:40:48 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 10 Feb 2021 09:40:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=P2ztjygVeFiKQ5BAJ/ZTctF2Gnz 2GbSXv/Mu4NHHWRY=; b=qEwIJymZrzmFRVK+c/s0yGIOxBOAX8YD/jfThN686uK rhdyNG0FvMMULp9fIB1bahDTLdRpb4K5/mf89fufSPe3dX2YS8W2jBr842ftq4hR oCprmSXWC6hgv7H5q8GIEe/yjq6+2/9lJ9ezHYFYV3MJAz9SwnmrARQLKIaieD7m obeqB6AuVmoB56NAKXfGfnOKeaHDDSjHj+ZhvKYhWOnOR/9NIU0zwvYbo2X1dyj0 1HTGLVH1Aab+sdlQBlOF2NgsjGFyiu5NT9fJ57LCvb1npFT439wa7Dz0Ijb/Y9F8 FNclmmBP4rcWT8KnfVpMmzxFzhi1JJrzN30CdtMpLqg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=P2ztjy gVeFiKQ5BAJ/ZTctF2Gnz2GbSXv/Mu4NHHWRY=; b=okRq03+9FqXZb+M4do/47P dyKgB9g+Zqzf9lDjb+Nq/Zr1gRQUUuWy0pgjYxkxN4yaPhlmBx7fQn8oJlk5f/WK lgHVyHxclHwNnkug0BEdDSkHETiO7vRcLmY3qN/nUhGmhtv4+RZJ7VfQpm+6ylgc jZwOv92bQYpoY3IrUfrcg0Znlv06pcVZ00ypvQlRgV8Sv6worDIIt38hIMxYxa0g xecMWzlDeI3uwgsFrl/W63A+1aPewE5JRWzgSpuKQqk4z5WV3Yn3khsYn2oIvqqb c10QlxE1g3Ntr36C2+M6ercVZn/q2n+wJFCGf3H7baVdrlLqUPcXUIFP28V0YNxw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrheejgdeiiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeelkeeghefhuddtleejgfeljeffheffgfeijefhgfeufefhtdevteegheeiheeg udenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id C8D08240062; Wed, 10 Feb 2021 09:40:45 -0500 (EST) Date: Wed, 10 Feb 2021 15:40:43 +0100 From: Maxime Ripard To: Dave Stevenson , Thomas Gleixner , Marc Zyngier Cc: Eric Anholt , Maarten Lankhorst , Thomas Zimmermann , Daniel Vetter , David Airlie , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Hans Verkuil , LKML , DRI Development , bcm-kernel-feedback-list@broadcom.com, Mauro Carvalho Chehab , Linux Media Mailing List , Florian Fainelli , Nicolas Saenz Julienne Subject: Re: [PATCH v2 14/15] ARM: dts: bcm2711: Add the BSC interrupt controller Message-ID: <20210210144043.s4plyc7ekwnnu7k4@gilmour> References: <20210111142309.193441-1-maxime@cerno.tech> <20210111142309.193441-15-maxime@cerno.tech> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="56a5x6qoevnvgc6k" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --56a5x6qoevnvgc6k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Dave, On Tue, Feb 09, 2021 at 09:49:05AM +0000, Dave Stevenson wrote: > On Mon, 11 Jan 2021 at 14:23, Maxime Ripard wrote: > > > > The BSC controllers used for the HDMI DDC have an interrupt controller > > shared between both instances. Let's add it to avoid polling. >=20 > This seems to have unintended side effects. > GIC interrupt 117 is shared between the standard I2C controllers > (i2c-bcm2835) and the l2-intc block handling the HDMI I2C interrupts. >=20 > Whilst i2c-bcm2835 requests the interrupt with IRQF_SHARED, that > doesn't appear to be an option for l2-intc registering as an interrupt > controller. i2c-bcm2835 therefore loses out and fails to register for > the interrupt. >=20 > Is there an equivalent flag that an interrupt controller can add to > say that the parent interrupt is shared? Is that even supported? Indeed, it looks like setting an equivalent to IRQF_SHARED would be the solution, but I couldn't find anything that would allow us to in the irqchip code. Marc, Thomas, is it something that is allowed? Thanks! Maxime --56a5x6qoevnvgc6k Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYCPwawAKCRDj7w1vZxhR xfz5AP9mEfV4z4O2puDJLRbQ7vq8rgfauEvYgK4B2X6lJbqcTQD/faR5cryNEgGR UJkYFI2Z8uuR9+us+5z3CVcV6wOolQU= =tX0n -----END PGP SIGNATURE----- --56a5x6qoevnvgc6k--