Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1226105lqj; Mon, 3 Jun 2024 14:23:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW5ccihXj466E8e0zLmg4fj8usTxziQkPNgY+3XlXCcdd0pi2auXUwvT4Wr/akRoHkQfJKyf4YSCtZdPw6Vd0PXrHVp7lrLbz8HYUWF5w== X-Google-Smtp-Source: AGHT+IFu+dhD/YwKfBJG0EU80SxL9OSMmCTIs2YGenhNUWU/37QfjSkp15oYKnLrr8/HrpOF9Rc/ X-Received: by 2002:a17:90b:5350:b0:2bf:e6f1:59e9 with SMTP id 98e67ed59e1d1-2c1dc5921b1mr9310885a91.20.1717449816504; Mon, 03 Jun 2024 14:23:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717449816; cv=pass; d=google.com; s=arc-20160816; b=R6AZCbaaLJGSiZgyHPbo7eZceg9fXw1YnVvTGPymQcy8q9VPhGbiC+/82flnn8um9P WISCLXvzqa1c/HihFeLrFLsiwv6tDPykc6TIpno5mRoe2cOd5z86dOgDDJeau1q0GUyV G1T3RF60VXewHn0FXcFr9z6F86eZrydaQEOhHcxIL2uRd1/7YSOwGOGsS+C3T0DBPAAX WQZBtWCSvw5LNKzKhjHMQEvhIhkxCZcN1Acgw84A7631t+PK6YMDTBItDjr9q7q0zv/+ O91vLxwrEdRn1zHt4v/HGwXQd5Dj4i4Qxl8YKX6VRhsxMiil4IJ+PKT3O/HhNeUnmh9S MP3w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:subject:cc:to:from :date:dkim-signature; bh=/mfYOU2hokpGIQZrOjDr2LDeqnifDqiGF3csyflK/n0=; fh=akqPOcx3mIeNfEDyrQzbGO2yqJCgC4BYenTTxKjVBKc=; b=m9j2iCE3U+mhzp96my2+Dw6T58gzFxGdcuPyWpZheL/hDz0Qy4R7uvU4/Nh6OYCLCS Q9bB0oVjizAP7/zM/RC3NuRNo5YAOEeDb2mBr73m+cHuNu76UNZi6iw5jR1QQA64TBtI Aew2N9eYo2yvdfB1TrOQXNN7e4X5SLLjnke1lpTRpjMEgfEwyv2kzPuqA5wBJfdfeb9Z xTZGXcw9BBx/PBu0My4GA1sWJotKh2faDdXbgPhDl1811oYHF+aPV9qY0e+7dm+pDWJi yyKp7Qceuobj6/LwvwMlylYp6DEqdMONzzE4zFbRYBty8iHvmrpu7UedfrvwRmzrRBrn KoLQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VU87A+5N; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-199729-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199729-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c1c282befasi6922996a91.92.2024.06.03.14.23.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 14:23:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199729-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VU87A+5N; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-199729-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199729-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 37EA9286794 for ; Mon, 3 Jun 2024 21:21:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A756213BC0E; Mon, 3 Jun 2024 21:21:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VU87A+5N" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B3AC05028C; Mon, 3 Jun 2024 21:21:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717449708; cv=none; b=OwvMhvaljS4Gs6NXCX6XzrlcSCrHjReEBmLodC0e3hWOT22WmNZ5hvWYFrLD9ykJ6eVbkvj/F4pBPVpgiUHdSR5scBgvmIaydLiWXX834pVsMxZ50ckHwuc0VMLhXceYwnXCfYpE862o+/fLvrYy8CE85JfZtMT/FYbqbYw4gvQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717449708; c=relaxed/simple; bh=CfAuGO3L+Vmv0KFuM50pHrpSRbJ4K3M/mg7Isem5BlM=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=ZgFvu2zlMoapYLhp4HrgtA9a86diQpdE7aLtNkkvl1P9H893yX4N6DIJvsl4l3Cmk5Yt65NY3BeAEYYhDNcXPgGk8v16chwHOju9Ilxo8r5GFUsy2zDCs6r/4pF4RXchRVqR/GJSC4Pb2tZiaJQVOmlzKLnAgSYB5qKfW4+OOzQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VU87A+5N; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF7EDC2BD10; Mon, 3 Jun 2024 21:21:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717449708; bh=CfAuGO3L+Vmv0KFuM50pHrpSRbJ4K3M/mg7Isem5BlM=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=VU87A+5NyGjsW9oK77Dglj+NU97HaHx43IJY3gjN3hfDu22jmFaa9A6/mvVhB6/pq RBSbMSyyUWQFKKqIXz7/VDamsFA77LFpuw6wtLNh7bKnE1M7FxoTvKdR58QrWjY7w5 bnK9l6X1JB9NEeCO/GugKGdphJJXXwyj7dVlRCZQFpA6bzZJGNrD+NE0HPrinfqBTK /Kd1aEauJ7+NwkFMLHjQRsxHMdCworsm8Gjz3V3qCwMuGKLvLB/YBaOLsgEvXA/BRk WXCqnKKcoPBp6YoDvsbklHTXEYSqWfrDS/UaF8wN9JmZb+JvvOQj1ncdJarFqkx7BI VhNkeLtoWpAUw== Date: Mon, 3 Jun 2024 16:21:46 -0500 From: Bjorn Helgaas To: Vidya Sagar Cc: bhelgaas@google.com, rafael@kernel.org, lenb@kernel.org, will@kernel.org, lpieralisi@kernel.org, kw@linux.com, robh@kernel.org, frowand.list@gmail.com, linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, treding@nvidia.com, jonathanh@nvidia.com, kthota@nvidia.com, mmaddireddy@nvidia.com, sagar.tv@gmail.com Subject: Re: [PATCH V7 0/4] PCI: Add support for preserving boot configuration Message-ID: <20240603212146.GA697762@bhelgaas> Precedence: bulk X-Mailing-List: linux-kernel@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: <20240508174138.3630283-1-vidyas@nvidia.com> On Wed, May 08, 2024 at 11:11:34PM +0530, Vidya Sagar wrote: > Add support for preserving the boot configuration done by the > platform firmware per host bridge basis, based on the presence of > 'linux,pci-probe-only' property in the respective PCI host bridge > device-tree node. It also unifies the ACPI and DT based boot flows > in this regard. > > This patch series is a complete version of the incomplete series > ( https://lore.kernel.org/linux-pci/20240421190914.374399-1-helgaas@kernel.org/ ) > posted by Bjorn which in turn was an attempted split work of the single V6 patch > ( https://lore.kernel.org/linux-pci/20240418174043.3750240-1-vidyas@nvidia.com/ ) > posted by me. > > Vidya Sagar (4): > PCI: Move PRESERVE_BOOT_CONFIG _DSM evaluation to > pci_register_host_bridge() > PCI: of: Add of_pci_preserve_config() for per-host bridge support > PCI: Unify ACPI and DT 'preserve config' support > PCI: Use preserve_config in place of pci_flags > > drivers/acpi/pci_root.c | 12 ------ > drivers/pci/controller/pci-host-common.c | 4 -- > drivers/pci/of.c | 54 +++++++++++++++++++----- > drivers/pci/pci-acpi.c | 22 ++++++++++ > drivers/pci/pci.h | 12 ++++++ > drivers/pci/probe.c | 34 ++++++++++----- > 6 files changed, 101 insertions(+), 37 deletions(-) Applied to pci/enumeration for v6.11, thanks!