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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 404E3C4332F for ; Fri, 9 Dec 2022 16:16:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229710AbiLIQQa (ORCPT ); Fri, 9 Dec 2022 11:16:30 -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> 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 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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CD61BC4332F for ; Fri, 9 Dec 2022 16:17:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hAwwhu4xEWXwAk8PE98/tsNn7byM0ScFogDV9rI4IXo=; b=FSGjev7cK9+kRe nTbFyZyBuNr83K9LeukcYKuL72lH4IMAmmJjSaafz2FrPwdssoqT8JBwAky0+0KVH8/zNGx71+U/Y Ep/kzzTXkGbEt4hHbCIpVyWyVQObB1kfAECOOrE19elEu/6+sJWdlhNHdSEe8oyD30gIpAClu+ydj cg+1qFeB7a/CjJ8f+X2JCMtNbE7xfRXcfKpEq5H0dEFXKq/N4WC0KKCUxfeKm0rEqq6SvD+sB18y+ GW33pwlxxyFSBT1BlR920holt2DkKRPN2mKtSYJkUYCEO0kYKxkIY7AdTYAFjZ3PkiZnjOwN3yiXJ LUx5xmU/3VU3VXCc9ybg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p3g32-009M43-B7; Fri, 09 Dec 2022 16:16:28 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p3g2z-009Lz3-GG for linux-arm-kernel@lists.infradead.org; Fri, 09 Dec 2022 16:16:26 +0000 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 dfw.source.kernel.org (Postfix) with ESMTPS id 1F34760EB0; 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-Disposition: inline In-Reply-To: <87o7scd197.ffs@tglx> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221209_081625_601306_55FBF45D X-CRM114-Status: GOOD ( 19.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel