Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp645448rwb; Thu, 12 Jan 2023 10:23:17 -0800 (PST) X-Google-Smtp-Source: AMrXdXsN5UVy9FlCKO/Gn84wCrlon3Ju30B289vADLP2jJDePgDijityqa7qBGPYIX3c+MAxqX5H X-Received: by 2002:a17:902:d549:b0:192:4762:772c with SMTP id z9-20020a170902d54900b001924762772cmr78612302plf.13.1673547796788; Thu, 12 Jan 2023 10:23:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673547796; cv=none; d=google.com; s=arc-20160816; b=OP3GU0Q6HWXV5j3dKNg5UX+00xdvsaOXnPaR/5IuQ0kTH/1sxcDY1vUoxZVg6leeQT aR6Qlhrw4c/e5pyFIPbhS+foCSpCgp1lgIYKq+5fgJUKzIVQwYkVHhZmZTwGVOGADstp gJJQHnOWKlDthn5kvLNOff/t1C5nWBHCnXUl6IdE91jw9oovEUwAnPy0HlxDTeQbgXQi 6QQ4L9HVf52jcTTRSbjx8GZBjDOaMkcwuVbS3kHXv2y8vqrD9uKO6K3EK8k/rAqrNcjF /Nc8+pA5YrCOAJ5Tr9bQSnh6/eKaUzuADYB1AI1Jd8yDi3sLRR5v16+jjPD2UDDAqUFC M6xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=P3bhUow/xNEGURs7870Wt8JFo0ARbb9FFzalR+KNRHE=; b=QjS/pHlKqP9kAqrFgrYX2wRMU2pwqSYNzbZ6K8xzg6j/Nw15FUwCRU5WehYJ+HN1cq BHPPl6iJCiqxPIcbLuJzpTzw+FbXJqoLO77XefWWeyX9N2jSTsvkjXfG66rRSlpreCn3 ZzyS2jU81de1K7o06V/Ei3tVt7sEXwF0Lnr5BiXeDsX7X03WuljHxOKBp++A1lTDFjE5 m+ISc/ssf35er0yMY3QqoDMuy1ph/l5UhD61OCEtq7E0A5QhLcQTIbwGBa4pYbzyCU70 mlmCmDiEXb2QsscnaFEsTDvhC9W650HRSrXicJlHQhEHILVT7IcpPsSp/oYxKRwNiCpq 7qCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g1SdsksP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q1-20020a170902dac100b00194635a92fdsi1787657plx.525.2023.01.12.10.23.10; Thu, 12 Jan 2023 10:23:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g1SdsksP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240088AbjALSBo (ORCPT + 50 others); Thu, 12 Jan 2023 13:01:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231969AbjALSAq (ORCPT ); Thu, 12 Jan 2023 13:00:46 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3068D12A9C; Thu, 12 Jan 2023 09:21:50 -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 ams.source.kernel.org (Postfix) with ESMTPS id DF834B81F02; Thu, 12 Jan 2023 17:21:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 882A3C433D2; Thu, 12 Jan 2023 17:21:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673544107; bh=o7rPePvZaQDhl2ZpAhDIh2cz7WD2ro08e3IDoDoypXU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=g1SdsksPV8I4OGhRFfJFW2e7Mfe7i/6SaB8a3aA6go7HS8htWAPK+bO/7ykzUP3Y0 ywxqRA6azp8u4YUy9EXLmyYTAypEC7bHG0tnOMYEJco4Q93DekkiTn6AVIIVFj3eNL hZJBsJutqWf4ciswJ16ZSBsLpfoFi+4OudDBYzTdJS1z2qRHMeiL1/Fulwplch4g2I BJqEE8BUMB/CiY0NeXbeHq7kcqs0emD/FDL30zhHFkaqsHpp/NUDtozFo5cWlXPzn3 uIxIqRCFgOC7RwYPHn3o8anIXSFABOY+khRVV3sC4SiDoZzxVkdvK6BeLgR2+AIVba SRkQA3LfoxDIQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1pG1H0-0004pA-IB; Thu, 12 Jan 2023 18:21:55 +0100 Date: Thu, 12 Jan 2023 18:21:54 +0100 From: Johan Hovold To: Thomas Gleixner Cc: Johan Hovold , Marc Zyngier , x86@kernel.org, platform-driver-x86@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 19/19] irqdomain: Switch to per-domain locking Message-ID: References: <20221209140150.1453-1-johan+linaro@kernel.org> <20221209140150.1453-20-johan+linaro@kernel.org> <87mt7sbtf9.ffs@tglx> <878rjcbnp8.ffs@tglx> <871qo1hqng.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <871qo1hqng.ffs@tglx> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 11, 2023 at 07:28:35PM +0100, Thomas Gleixner wrote: > On Mon, Dec 12 2022 at 17:18, Thomas Gleixner wrote: > > On Mon, Dec 12 2022 at 15:29, Johan Hovold wrote: > >> I added to irq_domain_set_mapping() and which is is called for each > >> (inner) domain in a hierarchy when allocating an IRQ. > > > > Hmm. Indeed that should do the trick. > > > > Some comments would be appreciated as the rules around domain->root are > > far from obvious. > > Any update on this one? Sorry about the delay. I'll take a look at this tomorrow. Johan