Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2983530rwb; Fri, 9 Dec 2022 08:33:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Tvs4yBOIUlvNWpolcZSW5Mrg+B9QJg3cal7QiSLZOKNBDC2vVohEyYpr+g1YikNgJW5XY X-Received: by 2002:a17:906:3554:b0:7bf:40de:140f with SMTP id s20-20020a170906355400b007bf40de140fmr5667438eja.47.1670603605981; Fri, 09 Dec 2022 08:33:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670603605; cv=none; d=google.com; s=arc-20160816; b=S7CIeOWNKg1Bs9Fa7uMdcmWYzn0loA8eZhTgNoC4JbIsm05mKbUAZDOHsqCznI91tv P/flbHz+7lCDJLxW4k/buC0X1BO7f/ncH9mfuSmqp3gosQmzjz7I85dDDburZQ4bTMW6 2b5V6Z8Lfyiw/XYwge7cDTDortj3HR7azBeEL+47gCkPvb4kkKN8dr66yY5uSlZd45lo 0BOCqTH1918vV//QhrxMpO7hEeov3XuRwAT9853l19tRJYKTx4hkt26U7kOxtAsk1maV 2JkBMfkY/PprcO1z4/9Ui9DamTOmDye3xpkwOMUnjvFnnGPloxWQzSqw27dhG7fbJc4d gnQA== 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=93JZlkXJ+MqFZPfRbX/zbGFIOl4gzx4g9j0E5Eeaod8=; b=r0PkCiU47qrjUBghxorYFpOb89zQA/OjIExkGt4JKNkFj3dGXHuhw5V9LzsRZxSp37 t4ZphtrJQV1yPYYyRkWLLE1rRN3MGqymt6KiBdsgiFTstZ9EpMV2BTm/A+O1LEF13USx 74BryiITpAgbWYvjuP/c24SZxv8cxXu3jpkqpP3Hec3qYt+SGIuQyfnQ6VWTE3fwkKIJ XqlEiIuiTbE4dqbHVtWusU7QjDI8FiXykZhK6wCwHwcTtQO5rtJi+deOhLnWrV/+a06d pD3WByKAF7s/atspOpbJi2KDr6Mr/zriLs9+0tfQO1AEhscBxq2aXNoh+K2ECwz+eOKA XBfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q1Uamg1e; 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 f14-20020a0564021e8e00b0046aaeca7d05si1950463edf.399.2022.12.09.08.33.05; Fri, 09 Dec 2022 08:33:25 -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=Q1Uamg1e; 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 S229691AbiLIQQ3 (ORCPT + 75 others); Fri, 9 Dec 2022 11:16:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbiLIQQ0 (ORCPT ); Fri, 9 Dec 2022 11:16:26 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A1A380A2A; Fri, 9 Dec 2022 08:16:26 -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 CEEA8B828AE; Fri, 9 Dec 2022 16:16:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FD30C433D2; Fri, 9 Dec 2022 16:16:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670602583; bh=js1PfDhOGMctIh6NeImGt0mdI3KhpNxYU6DFWhYEELY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q1Uamg1eXeQiknxY8yvLQM8IemgzDAluL8Xe6EQp9mId5ZgVqEKicouOj9+r69Uk3 sbamGL1FXTkFWlONu9CEc5Dknyi/K5hSAcTgWtEEfI+S2sDvDY3wH+ihJs8X5p71cn 5TOrwZzTTluW2MFi/Snpf30TdbwqR+2g2knChQLf4GG+HhPx5CCNrcmk7UaY5QUbLT CC2045Gw0aejJN5o++KGkcCm3CEoh+ScYHs70ToRUsn1+dtnQXNeOBxMs7++cFjiEJ UNina70DtzuQo+MA5JbEvbvKLaUWMeepNmEpDlgaCkORZVI3Rh/M4u/j9FTUI2rrHl 0IUANkdRGIx6A== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1p3g3D-0002Gf-Re; Fri, 09 Dec 2022 17:16:40 +0100 Date: Fri, 9 Dec 2022 17:16:39 +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 00/19] irqdomain: fix mapping race and clean up locking Message-ID: References: <20221209140150.1453-1-johan+linaro@kernel.org> <87o7scd197.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87o7scd197.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 Hi Thomas, On Fri, Dec 09, 2022 at 04:51:00PM +0100, Thomas Gleixner wrote: > 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 The series is based on next-20221208 which should contain that branch in its current state if I'm not mistaken. I just tried applying it on top of irq/core and did not notice any problems. Johan