Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9882654rwl; Wed, 11 Jan 2023 11:17:00 -0800 (PST) X-Google-Smtp-Source: AMrXdXvC5mRwbsr/RIHLe5U3RhIiNUmuLfwhNIOzEhcHNc2+6lSKhdagXgcO1Bsrwab+HYhxjId1 X-Received: by 2002:a17:906:8447:b0:7c4:fa17:7203 with SMTP id e7-20020a170906844700b007c4fa177203mr54923657ejy.63.1673464620369; Wed, 11 Jan 2023 11:17:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673464620; cv=none; d=google.com; s=arc-20160816; b=Jl8c0y9SxpMfGB1izIp9UEdyHWZ14SM9G4m80rfipjgea5Mp2zAeTpVrum2smK2SSe fjLMG8Wlvzt50s8SGhhSfNmMF8Qq4FtE41eTH4oiC2pKs1gs3zamudya6x6lWSyIc00W MYtyS3hj+bAooqQQHWJCXT0KEUXLOekWmbj1eH/Om+wWxssruoCg8f6Spt+HNfkWC28Q eeaZiKD796BUWBebd8uFKBuRfFVi+XpEkPUja7a+WznwAqfd2xLhxWcv3yDRbQvKDF3T AXAWZYhlE0GzKXn+bAYOOME38HXbvGpNMAyySRlu27z+GXEFdTacznrEYXwCcibFcObN rmCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=XbHz+r4gS67P31F5u+ZSysVNdDYKMiNjdT2EucbKd3E=; b=0KFYyE3ylSUMw4qjt27zlKXR8tsOCYLvdwfXqlFQeGPmNF8B+GpZVDWVzZH6ehIUdx l/qJGYbZAfqRx3donO7MfGX6R9SFLqLOF7CEEBKveqDPmsGv/B9SSeh5BXZ3RJbILkmQ Bvjf/I+v4KBehZU50/OyqJ01ifqtJdXwipwzOTNV4CwrmUFIyKnwzlzLd8mFniPmJXha XPgB8dfQu4XwsWbsldm+cbaSvIFx/nKHpvdIywgu2lmWBuCPdGWdal8rS0LPSx2eH6Nx xZV6ilbhjqGvmG6VpmiO6bzXXod1VyEbfAygIp03KExMJM74/wF3qTrGlQV6fkTf2FpR sojA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=lXvvoQHK; dkim=neutral (no key) header.i=@linutronix.de; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he32-20020a1709073da000b0084d37abf434si13776671ejc.335.2023.01.11.11.16.48; Wed, 11 Jan 2023 11:17:00 -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=@linutronix.de header.s=2020 header.b=lXvvoQHK; dkim=neutral (no key) header.i=@linutronix.de; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232291AbjAKSaC (ORCPT + 51 others); Wed, 11 Jan 2023 13:30:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238754AbjAKS2k (ORCPT ); Wed, 11 Jan 2023 13:28:40 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2AA932E8A; Wed, 11 Jan 2023 10:28:37 -0800 (PST) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1673461716; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XbHz+r4gS67P31F5u+ZSysVNdDYKMiNjdT2EucbKd3E=; b=lXvvoQHKqOwihWoCJuyJb72HKyLp5RP/InGDCYN8zYLAmIvUi6cu1Inbm6IMGqnsum/sng MhLJhGsbPX62sryYcJ3vS+Pzfl5DkG2gyl06GVpuwE3ODaPSMmpVJ+ztuFZ0j1w89XuZpI LsanNEv/7SgUUTcidB51fTnqX28nyOXlHRKNBJqjbHJxciEr9ZnRK1q1vkc66bER3fl0R0 Iw0j/ZI0cUggH6MH6snMiievoZ+/BfWSKtOZV1KDYIdEerva/DkVILSrId6iqm20+qOZmi 2vvq+My7nwEc1dLjT8uSSjvTD9BQxzPK8ZEie0xM6KXOYo0Ae0nL/7Bfpf95xg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1673461716; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XbHz+r4gS67P31F5u+ZSysVNdDYKMiNjdT2EucbKd3E=; b=0zLjVYnmGPMoqdCm1kV1PGYNKkXR61UrEyJJqOJ/3o4IwHpYaJJxSavLzAipZyd3eayY7b D4Kdqlno/G3WH4Bw== To: Johan Hovold 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 In-Reply-To: <878rjcbnp8.ffs@tglx> References: <20221209140150.1453-1-johan+linaro@kernel.org> <20221209140150.1453-20-johan+linaro@kernel.org> <87mt7sbtf9.ffs@tglx> <878rjcbnp8.ffs@tglx> Date: Wed, 11 Jan 2023 19:28:35 +0100 Message-ID: <871qo1hqng.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 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?