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 88631D0D17C for ; Wed, 7 Jan 2026 23:30:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Transfer-Encoding:Content-Type: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=DYDDOptSKozzHAsa2V9R60bnAHolTMznW5UT887n1uM=; b=eaipRoRGVWK8h7cYawrNX1cp2h wKWGRZRJVVKhontaH0QiBTA2JUIBGxl7VFCRrHQQt2GfK65G+yNeHzdsjXQ0/B0gbdmphVVwNyDzJ gYDa4D1UgBOZvEwOQZ0yP7r8kGB62LGTv/oKRgDjRJLAo1urDSd3VINcVxMCacq39FC3FFd+RoS6V at9OZTrx5sUfzXmfpjGP1LCTmRwJTDNWIZ5WfYsrW8aSFQVZ1ohJqRVKn2/0j0mLDJnjiL0sFdM5F cgkJKbtkG4bw0HL4EN/3jEgl+nAAifF/J4Nz4GY0UBneGd1KysVnMAlh9CCvK8bKpgjPf3XSSekoC bfcZK+FQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vdcz4-0000000FkMA-3lSU; Wed, 07 Jan 2026 23:30:34 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vdcyq-0000000FkJu-0agH for linux-arm-kernel@lists.infradead.org; Wed, 07 Jan 2026 23:30:25 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 36C0841A36; Wed, 7 Jan 2026 23:30:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E29CC4CEF1; Wed, 7 Jan 2026 23:30:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1767828616; bh=JJUKBnRRM9z3Ei4dz7JLCEY8pd+eY/BXxSmSJZTydcU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FD9BLnDOkE5gza7p0aI13xDJW1xjmBlp99SMKC13B/Vu4oiy+78aPYh+cbVuLnYGy Fl7pXOjBsyLlmELBlm+4tVm4lT63RyIqyfDl24wlumHGuh2jgrHdHOEDbXU7Y+iG4J /cHcKtewu+hEeQy6sIPWCWmwhQ3xTmh8+irt2gmFHTE1PNT3SnQzutRbgCHg4kMkqJ 1v0+eyQaw8MBLlsvVmyyPvKgWUeroyNXlpAAQskjsL5sHDX2UY4zCFhfUJoa3jI8OP 30a4z9OUHiAqzAQ4p/IXy7EOUGqDGWTd1vqf2YxHqqwsrhtrrNFsIBVPovzyz95bcV p1KJ2zvhxZYtA== Date: Thu, 8 Jan 2026 00:30:13 +0100 From: Frederic Weisbecker To: Bjorn Helgaas Cc: LKML , Michal =?iso-8859-1?Q?Koutn=FD?= , Andrew Morton , Bjorn Helgaas , Catalin Marinas , Chen Ridong , Danilo Krummrich , "David S . Miller" , Eric Dumazet , Gabriele Monaco , Greg Kroah-Hartman , Ingo Molnar , Jakub Kicinski , Jens Axboe , Johannes Weiner , Lai Jiangshan , Marco Crivellari , Michal Hocko , Muchun Song , Paolo Abeni , Peter Zijlstra , Phil Auld , "Rafael J . Wysocki" , Roman Gushchin , Shakeel Butt , Simon Horman , Tejun Heo , Thomas Gleixner , Vlastimil Babka , Waiman Long , Will Deacon , cgroups@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-block@vger.kernel.org, linux-mm@kvack.org, linux-pci@vger.kernel.org, netdev@vger.kernel.org, Jinhui Guo Subject: Re: [PATCH 01/33] PCI: Prepare to protect against concurrent isolated cpuset change Message-ID: References: <20260101221359.22298-2-frederic@kernel.org> <20260107190534.GA441483@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260107190534.GA441483@bhelgaas> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260107_153023_683213_5EAB704A X-CRM114-Status: GOOD ( 19.64 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Le Wed, Jan 07, 2026 at 01:05:34PM -0600, Bjorn Helgaas a écrit : > [+cc Jinhui] > > On Thu, Jan 01, 2026 at 11:13:26PM +0100, Frederic Weisbecker wrote: > > HK_TYPE_DOMAIN will soon integrate cpuset isolated partitions and > > therefore be made modifiable at runtime. Synchronize against the cpumask > > update using RCU. > > > > The RCU locked section includes both the housekeeping CPU target > > election for the PCI probe work and the work enqueue. > > > > This way the housekeeping update side will simply need to flush the > > pending related works after updating the housekeeping mask in order to > > make sure that no PCI work ever executes on an isolated CPU. This part > > will be handled in a subsequent patch. > > > > Signed-off-by: Frederic Weisbecker > > Just FYI, Jinhui posted a series that touches this same code and might > need some coordination: > > https://lore.kernel.org/r/20260107175548.1792-1-guojinhui.liam@bytedance.com > > IIUC, Jinhui's series adds some more NUMA smarts in the driver core > sync probing path and removes corresponding NUMA code from the PCI > core probe path. I see. I can't drop my change, otherwise my series alone could crash dereferencing garbage. But Jinhui's series removes the need for my changes. So an unpleasant conflict will happen in -next (and if everything goes well, further in next merge window) and it should be resolved with simply ignoring my changes and only apply those of Jinhui. Should we inform Linux Next people ahead? Thanks for making me notice! -- Frederic Weisbecker SUSE Labs