Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2942740rwb; Fri, 9 Dec 2022 08:07:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf5BG698Tbx5TYsNoU21OmNU7QU9jRrGiMfBIe0ZZlDydFMOqUbGv4v0YHrdUfkyFCbyppQV X-Received: by 2002:a05:6a21:c019:b0:ac:72ac:478d with SMTP id bm25-20020a056a21c01900b000ac72ac478dmr9789488pzc.37.1670602029578; Fri, 09 Dec 2022 08:07:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670602029; cv=none; d=google.com; s=arc-20160816; b=iV2a+G+vj8YSyJBgymqZST3rbfM/0tkYs7GxpXcQpzuMQ2bJstmHqLb7QP3+GSWqSu nrY6E0kmPJiN76qroutxmBCnlWcomzyly26VdSakgp5omQkIrGqN/TIJdH6wEtwjtxrh gfGDT3hxjkffibDWz65z+Jcy17zMjD5QvnSktEkskkNxpvtRQFxZdYRgs1UIsMlQXIGX 34mtqTCy7ooDhrPKixyjnPb4PnHnluCSC3wWBtTTrIVxJcOkwwDMQVMQ3J7AldsDd2s4 tQMqJeKx0f8gaED3BdJkflNBKvJFhj+Mx0P2u3fNtSaWAg3O3Afxwa6V9ADSfxFd92cV DamQ== 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=eKbpp0wjvU8vo2TqfIGB4ga/ChhXXFfrT2TPlT3D1Nk=; b=YOsAxPdrRyYhX6DL4mSfNlMPqm4On2pezBI5CgtWTlk3bqDOi0yG14+V+pN43u6j2L Qu3s2FfsHlBX1zNo+pyiZEqLvPLYzv7z20NrUzsxGJ+QRFbJTKVKvFKmNvkh/we4WxSS /BVFxw2q4jGYl5m9fatoTfo9y3tT4JWgeiulN/UMlqV3fvsomZFdUl1AelZliZvmMJyO ydULc1a2CjCHrE2RAWIZ0ZQOZOtuJHBHXQm2GckAvKx1m0p9Q6cRJE9OOvUdGQ2i2rXu OVQSwkNY5jKvtp6I3tJe/SdXz/qGPNH4Xh0LB26M0uy6clznHULltg9OK5qHzcjJZ3U6 z04w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=sledpoQW; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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 w64-20020a638243000000b00478b13ff34bsi1654511pgd.419.2022.12.09.08.06.58; Fri, 09 Dec 2022 08:07:09 -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=sledpoQW; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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 S230497AbiLIPvw (ORCPT + 76 others); Fri, 9 Dec 2022 10:51:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230493AbiLIPv0 (ORCPT ); Fri, 9 Dec 2022 10:51:26 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2BC88E5A0; Fri, 9 Dec 2022 07:51:02 -0800 (PST) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1670601061; 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=eKbpp0wjvU8vo2TqfIGB4ga/ChhXXFfrT2TPlT3D1Nk=; b=sledpoQWuT20D5jkQAu4GGNLhHWxtTvIUw6G9s12oo9IQPcXAFQh+IhDHLlmCjd/V5CyRn GNObOg/5CVjpPrtLIgMgyJBL4IWAuR74SbroIc/cT+iGgKcLCeqI68bpd/E/eS3h0qMoQI /SdVBtzyg7YWZnHftbvc+iHnzKyWwqwHFC3FIw9ANKAHwYCqa3ANwIqL3qmry2nuC7xwym F+iPBGLir6UYXcQlWEpVl8p7B1wpHYs1AV98dTh4Sh/FsimVS55vXTGdYIe/HK9l1SgOVv fgm72hkHD/C32NLQ+m7OMEDQTXSbLisJupZrbmlt8mYlyfXwv4lVax8tFBvFWQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1670601061; 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=eKbpp0wjvU8vo2TqfIGB4ga/ChhXXFfrT2TPlT3D1Nk=; b=hetIRQeDX4NGfdgSfbTAKYfGFcw/k9tfmfap29Z8THL1ipf8rXNMZ5nTv7bNsdIRnNik00 rJERnr0NlQ75uZCA== To: Johan Hovold , Marc Zyngier Cc: 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, Johan Hovold Subject: Re: [PATCH v3 00/19] irqdomain: fix mapping race and clean up locking In-Reply-To: <20221209140150.1453-1-johan+linaro@kernel.org> References: <20221209140150.1453-1-johan+linaro@kernel.org> Date: Fri, 09 Dec 2022 16:51:00 +0100 Message-ID: <87o7scd197.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 Johan! On Fri, Dec 09 2022 at 15:01, Johan Hovold wrote: > Parallel probing (e.g. due to asynchronous probing) of devices that > share interrupts can currently result in two mappings for the same > hardware interrupt to be created. > > This series fixes this mapping race and clean up the irqdomain locking > so that in the end the global irq_domain_mutex is only used for managing > the likewise global irq_domain_list, while domain operations (e.g. > IRQ allocations) use per-domain (hierarchy) locking. Can you please rebase that on top of: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core Thanks, tglx