From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailout2.hostsharing.net (mailout2.hostsharing.net [83.223.78.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E2F793BB699; Tue, 21 Jul 2026 08:37:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=83.223.78.233 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784623073; cv=none; b=ryDgllKtqXlwct75SGKdR2hmul4svuIKduFbj1sm2f+helwk5s0/b7NzhDP2gEeiB1naCPut3cpTyfnr9xxCCoTKbIfPSyIYBi17DyDnCfhWpuFRLkjfzUVQx549SekBOoCw6qow7UHJayTVOy8qVgQqUAiNU5iutypPokQAhck= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784623073; c=relaxed/simple; bh=O4QY+t3MpXNgvHl0r8m0U3NraUi11T43NouAyvjm0fo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DBz9pN/HTqRJdfZsW4moiuFTr0aK7/rb0DkQurko8jZTpVCfvlfSFkFM8W0vW5j4SRy46iTEapVzP2+HnCdi9dVKD5WNEGxCJwP/5+GzzlthyckStkAvSIPTn7GKMT3rshUqetd/RcdpiTo8ca+nUQN3VNd1XwTdPDtWmY/7Lfg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de; spf=pass smtp.mailfrom=wunner.de; arc=none smtp.client-ip=83.223.78.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wunner.de Received: from h08.hostsharing.net (h08.hostsharing.net [83.223.95.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "*.hostsharing.net", Issuer "GlobalSign GCC R6 AlphaSSL CA 2025" (verified OK)) by mailout2.hostsharing.net (Postfix) with ESMTPS id 695A11062F; Tue, 21 Jul 2026 10:37:40 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 641F6614B893; Tue, 21 Jul 2026 10:37:40 +0200 (CEST) Date: Tue, 21 Jul 2026 10:37:40 +0200 From: Lukas Wunner To: "Bowman, Terry" Cc: Bjorn Helgaas , Dan Williams , Dave Jiang , Ira Weiny , Jonathan Cameron , Len Brown , "Rafael J . Wysocki" , Robert Richter , linux-acpi@vger.kernel.org, linux-cxl@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Alejandro Lucero , Alison Schofield , Ankit Agrawal , Ard Biesheuvel , Ben Cheatham , Borislav Petkov , Breno Leitao , Davidlohr Bueso , "Fabio M . De Francesco" , Gregory Price , Hanjun Guo , Jonathan Corbet , Kees Cook , Kuppuswamy Sathyanarayanan , Li Ming , Mahesh J Salgaonkar , Mauro Carvalho Chehab , Oliver O'Halloran , Shiju Jose , Shuah Khan , Shuai Xue , Smita Koralahalli , Tony Luck , Vishal Verma Subject: Re: [PATCH v18 11/13] PCI: Cache PCI DSN into pci_dev->dsn during probe Message-ID: References: <20260717222706.3540281-1-terry.bowman@amd.com> <20260717222706.3540281-12-terry.bowman@amd.com> <91e35807-9483-45f5-b4a8-0388aa48ff6f@amd.com> Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <91e35807-9483-45f5-b4a8-0388aa48ff6f@amd.com> On Mon, Jul 20, 2026 at 10:48:06AM -0500, Bowman, Terry wrote: > +++ b/drivers/pci/hotplug/pciehp.h > @@ -90,7 +90,6 @@ extern int pciehp_poll_time; > */ > struct controller { > struct pcie_device *pcie; > - u64 dsn; > Please drop the kernel-doc for this struct member as well. > +++ b/drivers/pci/hotplug/pciehp_hpc.c > @@ -1086,8 +1086,6 @@ struct controller *pcie_init(struct pcie_device *dev) > } > > pdev = pci_get_slot(subordinate, PCI_DEVFN(0, 0)); > - if (pdev) > - ctrl->dsn = pci_get_dsn(pdev); > pci_dev_put(pdev); > Please drop the pci_get_slot() + pci_dev_put() as well, they're obviously superfluous now. > +++ b/drivers/pci/hotplug/pciehp_pci.c > @@ -73,7 +73,6 @@ int pciehp_configure_device(struct controller *ctrl) > down_read_nested(&ctrl->reset_lock, ctrl->depth); > > dev = pci_get_slot(parent, PCI_DEVFN(0, 0)); > - ctrl->dsn = pci_get_dsn(dev); > pci_dev_put(dev); > Same here. Thanks, Lukas