Message ID | 20240109050648.1347255-2-vidyas@nvidia.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 D8075C47073 for <linux-arm-kernel@archiver.kernel.org>; Tue, 9 Jan 2024 05:08:06 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ad/oFem/Np6shrvs7eo4KZGPwL7XLPyrJG/LWmBXTnE=; b=JWYyewV5Bpa35d zAg5Yd8K5on1tofDh9CkdHIbGDX+KISPWAwWsD9f73mBeJrxSajWMvISmewm93pqB/U6G+W2lHR2M C97ogMdB7GaZnKms/vQtcLiIWrlWHD17DEmtl+a/KeEzbYFN6h4Fp+VzKPWnWu629Jqxc9zCMGiK5 uMi38b8gGFEVjgmDFGQYFP5ZlGX5N6kZyi/lWG2FjU+xwMDanmhveNOl2eBDzFajsdqsyWwua5Kpj uqWHOCn+q+6ACwDumiGBB68yMnPqhBq5uzYeUoAM+O+JL9XAt2bzVWvj72E9iJxEDXiv8pk5GhXB8 JW3cA145y55bRFLLQxhQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rN4Kq-006xM7-0A; Tue, 09 Jan 2024 05:07:32 +0000 Received: from mail-mw2nam12on20610.outbound.protection.outlook.com ([2a01:111:f400:fe5a::610] helo=NAM12-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rN4Kl-006xKB-1V for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 05:07:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lX2ZGkn4U5PNVERFKSjjQKc5jcZfh6gk7pHsJR6uAm8ZQhqQUdcVfmONR+OD0GuyCmT4TaIRJ+ykxtaf3LuwDpKEB2+uwoKzceRRvoK8HCEcYUKAqZg6cswBE36dnZY7zfflfqSj20csDyqKkOijUQAJ+wEqpf7JaqEgvn6kucxTFuiNvdKBTu1Iv6zhZ37ii5pQvddHg0wZgetUVnBNaL+dg0lXjhFUi/eEZP8m7Xzg7mOc4N8hgh9VcZ+yQmjD/ZkiC3kG36GB2Dm3tK12TukyO6ELQaQRsM3qKWHgTkReZM+/E0VLfDBTsih0mR3wg9fBSfgndgTIUBIk4sIGbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=R3cGwq/FHtmzGRJ8/T6FdLsDtcd2nrqjXK8ayyisOnY=; b=ADrv0qDOm7Kq687U4RNf49GrQ1IvbIHDB1xanqaJ1WAaBtMKnjiAHOcCELZoDmPK52Fp0RgWWPk6MOSiePTNhBq6tnr3R0PmXSaLqGaHLVSP3XHhmPPWb0zxqny3WgkvIyoEeD9Km8BkBdbw4GAGOQWKFEKkoRwyGpcikLFqPYJ6x3UzVR0RGApedufD41oirRKN8pKGfjKCseupG88YsuyduIF2zTv/hei8wCBeJehPM1m/CqDW/vnR1F7L1W1h7ZR2U36j4Q4lubUV4M+GqRG63Tg/3216FNyID9NkXaJPRW0rZYW6OIFRHtYllTpOD7ti70d5H67rTs4CjXwOag== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.233) smtp.rcpttodomain=kernel.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=R3cGwq/FHtmzGRJ8/T6FdLsDtcd2nrqjXK8ayyisOnY=; b=aV+sjSTxx4sddj70PFtf1ZNq9TDnpT5nRP4g3JSvHJM/+5I0k1Y01VnonUes8IrEikAtaHWZEALgaf1GXvZVHsTq64hCM0GyWqF8oHX+UKP567PLzEjqxQYb+enMBKodjJod6fUZPsrllF/MZFwlUKHy3UXviFWx0ngsgnLfT1gj/RkjycBI4beR7yS0i8sMTxSrQ4wWqC44N1b0HwH5/24GU/d8vR/g6YnPjOTznr6VVu1l2HP7JHcW4PioEW1zb8Iir9V++bIvvoIb9eZWGx1ZagAmFlA7gYCki9Gk9vHJ2K9EKrRySJZYruKfgqqnHnitHXtlsVbGeXFvWKBe/A== Received: from CY5PR13CA0087.namprd13.prod.outlook.com (2603:10b6:930:a::10) by BN9PR12MB5082.namprd12.prod.outlook.com (2603:10b6:408:133::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 05:07:17 +0000 Received: from CY4PEPF0000EE30.namprd05.prod.outlook.com (2603:10b6:930:a:cafe::25) by CY5PR13CA0087.outlook.office365.com (2603:10b6:930:a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.14 via Frontend Transport; Tue, 9 Jan 2024 05:07:17 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.233) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.118.233 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.233; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.233) by CY4PEPF0000EE30.mail.protection.outlook.com (10.167.242.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.12 via Frontend Transport; Tue, 9 Jan 2024 05:07:17 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) by mail.nvidia.com (10.127.129.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Mon, 8 Jan 2024 21:07:05 -0800 Received: from drhqmail202.nvidia.com (10.126.190.181) by drhqmail203.nvidia.com (10.126.190.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Mon, 8 Jan 2024 21:07:05 -0800 Received: from vidyas-desktop.nvidia.com (10.127.8.9) by mail.nvidia.com (10.126.190.181) with Microsoft SMTP Server id 15.2.986.41 via Frontend Transport; Mon, 8 Jan 2024 21:07:01 -0800 From: Vidya Sagar <vidyas@nvidia.com> To: <lpieralisi@kernel.org>, <kw@linux.com>, <robh@kernel.org>, <bhelgaas@google.com>, <krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>, <will@kernel.org>, <frowand.list@gmail.com> CC: <linux-pci@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <treding@nvidia.com>, <jonathanh@nvidia.com>, <kthota@nvidia.com>, <mmaddireddy@nvidia.com>, <vidyas@nvidia.com>, <sagar.tv@gmail.com> Subject: [PATCH V1 1/2] dt-bindings: Add PCIe "preserve-boot-config" property Date: Tue, 9 Jan 2024 10:36:47 +0530 Message-ID: <20240109050648.1347255-2-vidyas@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109050648.1347255-1-vidyas@nvidia.com> References: <20240109050648.1347255-1-vidyas@nvidia.com> MIME-Version: 1.0 X-NVConfidentiality: public X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000EE30:EE_|BN9PR12MB5082:EE_ X-MS-Office365-Filtering-Correlation-Id: 92a9a06d-304a-4e69-bb0a-08dc10d0d9b1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RImdDc+6nj/6jBnzqgrPF8W8i76LbC0r7oxCpII5+qcTlKWhZz3MjDIdsVnwPo+n6FyJOK6p9UApKjmeWIiLRw17f7RWnx7A8aa+ZRN4KMw8xNPUTWPBDE+4FUGdjYGKkqLWvpyCDCLGa3LfE7epSp+y+74t2Vo8rQS4hZ3L8wI7Uw4fhMvgams1AdYIpEPIst32P7TCLcadANrv6PINLPd+Gb53N4Qck7J5jLHNFDFQc7EBP/Bo56h+5sTUAqT3ZvzCX3EwK3cno/IIumgoMqKSJ6PA61kEl4d9/lUnG+XqRriHK/ei1pivA2muTTgYJU0iL5zps9TYcbbq1A/sIugTSkuHEReWhG+B7mGUEdbmjqtalmc4Utk/tXrEPpKJUmc3VEog73vD10pYEAb41AwJ8lQtqKMLSMfQOtk+To8k7CnngKJviw0x76KJivhZC6npt3Exw/D4vYJ1TbvBmOq62efNAWkWXtG9t2lM7NvKR8pH7zoIiWNyGdHxLbhvFDXtWaUNaLV81WBmwwFiRm0Uw+FwMIYw7PQuAWDjGEnLsJpQNAekQEIbNy0PKgH4EaaC9VpVcFAGBVB3FtV6qkIJCqVbGzk1gNbeD0uePUNgHiFEOCHiY9esszG2/w49TSRcD8hdRiUrqYkM+0KW3frE+9Ej53SPdnJrDZVoO/+737Sni4ba/CtATLPIAgjaBl9hifLPY2bqKYL2lTcH0L7SPrkvux7XS/fmsjZ56unXdsGBdGW8aJsEtJDI8XoE X-Forefront-Antispam-Report: CIP:216.228.118.233;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge2.nvidia.com;CAT:NONE;SFS:(13230031)(4636009)(346002)(376002)(396003)(136003)(39860400002)(230922051799003)(82310400011)(186009)(64100799003)(1800799012)(451199024)(36840700001)(40470700004)(46966006)(316002)(70206006)(110136005)(70586007)(54906003)(8676002)(8936002)(478600001)(6666004)(86362001)(2906002)(7416002)(36756003)(41300700001)(4326008)(5660300002)(426003)(40460700003)(47076005)(40480700001)(26005)(36860700001)(1076003)(336012)(356005)(7636003)(82740400003)(7696005)(2616005);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 05:07:17.0219 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 92a9a06d-304a-4e69-bb0a-08dc10d0d9b1 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.233];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000EE30.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5082 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_210727_502877_34C58328 X-CRM114-Status: GOOD ( 11.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Add support to preserve boot config in the DT flow
|
expand
|
diff --git a/Documentation/devicetree/bindings/pci/pci.txt b/Documentation/devicetree/bindings/pci/pci.txt index 6a8f2874a24d..0a5ff998cbe8 100644 --- a/Documentation/devicetree/bindings/pci/pci.txt +++ b/Documentation/devicetree/bindings/pci/pci.txt @@ -32,6 +32,10 @@ driver implementation may support the following properties: root port to downstream device and host bridge drivers can do programming which depends on CLKREQ signal existence. For example, programming root port not to advertise ASPM L1 Sub-States support if there is no CLKREQ signal. +- preserve-boot-config: + If present this property specifies that this host bridge is already + configured by the platform firmware and the OS doesn't need to reconfigure + it again. PCI-PCI Bridge properties -------------------------
The existing "linux,pci-probe-only" property applies at a system level and it is not possible to selectively convey individual host bridge's requirement w.r.t preserving the boot configuration done by the platform firmware to the kernel. "preserve-boot-config" addresses that concern and can be used to preserve the boot configuration for host bridges selectivey. Signed-off-by: Vidya Sagar <vidyas@nvidia.com> --- Documentation/devicetree/bindings/pci/pci.txt | 4 ++++ 1 file changed, 4 insertions(+)