From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796238030; b=zworaD8Yg0AtAKmK8TgvFesFPiE7vtk41ebwiZICWvozi2aAfGivjBGw81BGzXeDGnkJ j8wSdNKO1Zft6Taf32L46Zc5aQyBmWCEE4LXTajy9k588bq6de1h1fmx+ew1/4UMrygyd IPPLZIp9AAGHmGe71Z5VZX2NeCyEZ5wNFi0nixz/nICF+ui+UGNL1eeEtCE+I1dKwg0wx 7t2sfTbp9rPRDXKZefBLvNk4/RjylaamJtFW3BoESDwkY2Ly3B9mXkTuMYk+63h5piUAP OmXiwueBYr6mcuzpqppxffrg/LJyD+/9iXICEFVAnIwfpq9mzj717scgko5WbY1NFZQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796238030; h=DMARC-Filter:DKIM-Signature:Received:X-MC-Unique: X-Mimecast-MFC-AGG-ID:Received:Received:From:To:Cc:Subject:Date: Message-ID:MIME-Version:Content-Transfer-Encoding:X-Scanned-By; bh=dw1oQDH8EG2TDfF64sZKmlatp7Hy8gqNYjnGXicphAA=; b=laDOlseOqjkMT0f39+vbcTaqaZZXyOU6IRbqcdTmSc+Z61QokCuQc9NtBLgNEEpJne+C AfX7SlTZbDU7LMG0WhP1srUTcKUzVmepRRXzoizkDlVmKYcvPOE2cNvmUYbnPIh7ob1R6 zkeUhAM0uaUXYDhdCPtGgjQ110mdpeb/duQMwFX1jmE/Z72mRkAxRJBTDY7bmHFNdvI0h cyKMDlR/o/tgEvA8rfJM8ToZY/UbI9cjkatyZfB6WEjpRVdDsTW+9MArQACjfRr2ecbLC ArqHtJQV2K4S6jjIhKan+4DAvKtDx/EEJWQwmh3vRYU2/3slXosk+vx3dqsuSyBXRsA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Az73iY6E; arc=none smtp.remote-ip=170.10.133.124 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C390F606A334 for ; Wed, 2 Dec 2026 19:00:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C390F606A334 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Az73iY6E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1796238029; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=dw1oQDH8EG2TDfF64sZKmlatp7Hy8gqNYjnGXicphAA=; b=Az73iY6ErePpnMdDG+yD4qvvIYeZHrKr+sZ7Off45a+34lQmMStdMwLpckAE73T754g1bM fYob8vzXykKagVVAGrXpuOmYha4CvnwqcCsEJ+VSBDd/Z11JcrcsZos4rKKskMVpmwp/79 ppFFvOcV8T9omZ9KS5rAqlZR0XDz24w= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-482-bnmQtWwhOkeyR1rnlwq0AQ-1; Wed, 2 Dec 2026 19:00:25 +0000 X-MC-Unique: bnmQtWwhOkeyR1rnlwq0AQ-1 X-Mimecast-MFC-AGG-ID: bnmQtWwhOkeyR1rnlwq0AQ_1796238022 Received: from mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.95]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 5B9DD19792D5; Wed, 2 Dec 2026 19:00:22 +0000 (UTC) Received: from llong-thinkpadp16vgen1.rmtusnh.csb (headnet04.pony-001.prod.iad2.dc.redhat.com [10.2.32.116]) by mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 99B787DE; Wed, 2 Dec 2026 19:00:20 +0000 (UTC) From: Waiman Long To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Frederic Weisbecker , Danilo Krummrich , Tejun Heo , Jinhui Guo , Waiman Long Subject: [PATCH RESEND v4 0/2] PCI: Suppress lockdep warning & make pci_call_probe() more efficient Date: Wed, 2 Dec 2026 14:00:05 -0500 Message-ID: <20261202190007.1852337-1-longman@redhat.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.6 on 10.30.177.95 Patch 1 suppress the false positive lockdep warning when there is a nested pci_call_probe() call. Patch 2 makes pci_call_probe() more efficient when the current has been affined to the right node already. Waiman Long (2): PCI: Suppress false positive lockdep warning in pci_call_probe() PCI: Call local_pci_probe() directly in pci_call_probe() if affined to the right node drivers/pci/pci-driver.c | 40 +++++++++++++++++++++++++++++++++------- 1 file changed, 33 insertions(+), 7 deletions(-) -- 2.56.1