Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp724327rdd; Tue, 9 Jan 2024 19:08:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IEMWsPPBntAGodFSzmrygsozLshXXGcMKUJZS/qhMu8HI4zw404bplUD52hvAUWrL7Q84lJ X-Received: by 2002:a05:6512:1294:b0:50e:3d94:6ba with SMTP id u20-20020a056512129400b0050e3d9406bamr25907lfs.62.1704856084124; Tue, 09 Jan 2024 19:08:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704856084; cv=pass; d=google.com; s=arc-20160816; b=smVkBevZX6x+2cvYcVFZt5MD3Ecde2bzKnztGHuspwPJ4DQpWEv+Oei2SRQ+NCKwts ZBIPUNObK7JkQkNNdF1PSQiWEAhuIsGQFr9WxcLmsuQuivgtjz8eGgEtJvKaAXXVW4to r5YqlY9Lzs5lAJExBcKQAE8vqH9QFNRZgUl1xlRjguskGaOmqx89mQwEmpy5b65Cn+y6 OKc1N7wHZZqqLhVZXDT1eqashl/bAsPtWa9tbBetYLdEbIpf6SAylLdRXbL2tCNgP35I qFi72o8T6zbvTs2V8OdFGJ60Bwtw2d0gAH3tSh5LUCFbK0CJwMJ/Ze2Rqsr55lhozzZX qk7Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=3YemQ/+hHIzt9VIbsAiazc1kPHx6Gwab+tXjpgpLAl4=; fh=cQ3pZ7JyNCGz1wVHYVGmnKsdIRld34bfD86UTtE4UXY=; b=jb1zhJ2gvKUg+DSqHEkr/HR2XjrOjYooB+nqn1MM/cNIcReugy++i3OdLaCjtylGj3 Sv7bZSItSiRn8xuvamqbcSCtjkgX6DPrLyAMV5jxx4jkbGw3qh9qkQXLe6K9+/88jj4U qOTRzu7ejMrLaBvWVJNbWPXFGKVLjqAYLF9BRY4OdtgrELOQX853vfAa2jNx9vj8biDB yBBEbKZZTxwVlnITwjI91FPD6t9ZUtHNsguAozScWxz7xQ5vFbdob0qLTqo1E7L+sib2 GuQhKnEoA6eTUP43faNzZtsEka6hv5oMbM9vQ+CRuvQNKEr2kM/g+cLqTsFp7SZLgmJY aZ1A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=X+n90wPi; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel+bounces-21673-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21673-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 19-20020a508e13000000b00553a50492e4si1259453edw.388.2024.01.09.19.08.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 19:08:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21673-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=X+n90wPi; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel+bounces-21673-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21673-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id BBEB81F227D2 for ; Wed, 10 Jan 2024 03:08:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 61C963C39; Wed, 10 Jan 2024 03:07:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="X+n90wPi" Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2067.outbound.protection.outlook.com [40.107.101.67]) (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 D2F456107; Wed, 10 Jan 2024 03:07:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I52n9vFY2w1nLYISY7ukZpDlTDultrU9N8jx7zY6vSpA67ocUXSeTMzhx0/2aezCZUXboib+4UW1tnHGRNrFHPFQnVZsKbCyBhbTcO+xsCERY7LUjIn8fZLYuoiqIbQDiKBBf+YnELchIEUgWVdB40sv//eNjxXa58Op23phqAspG0azxRONhcAATkd+uzPm/KFOthydix9HeSe4NpqHzqcQuEbg0k5AURG9XSw4BZYj5Qic80sb1tDrGr0HrD3uaYj0FkIJi3e2IUeM5BAsrBHrRultvpyo9fWWByhLAHA5IqrTKiz8NIENUdmrGy4uKgIGwTinJxMYHS9WZvJHaA== 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=3YemQ/+hHIzt9VIbsAiazc1kPHx6Gwab+tXjpgpLAl4=; b=T+ADdqR9LJ2jr2rkHnzEStHR+9kszo9QZ2ywcXgIMrSyCN6OE6cFMIEime4Tm8YxAN3v3N5R7qeuc3V/KrfRMC3BDVpnS/aPz8fBZGsNTici56ctzkNXv20cKjC63wk7kgKLoYTgSC6ZI5gIknBC2wvVpauYrZ/g+S7Bw8sYqUt4abRW1L4Qjrr8h1bxwSvaDIhzYPhDE3Q1fMO33iyi0+HbXSvVEDLSNp0d/NhFBOZr7Cyxze/poK1DiXi9khN2rZO47Q7V1gUT1ZIfQSFiygrPLJLkoTaUfGRP9ZeO1EDRVVRW4xaW9v3SuuR1+IEgHx4BbWzt4GozwRuap8rONA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.232) 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=3YemQ/+hHIzt9VIbsAiazc1kPHx6Gwab+tXjpgpLAl4=; b=X+n90wPiOyNKflT2VzHECjSrOV8XwaELCgJXk2HGWY//H/JsgvkYwpKzQIai0UaQDNNuIXW0jAbXs3cGswfq8fH/po0d+1XfauH2wQwHCDtlJqx7OaxsBhD2f4/nJi6aKn5g9C4aXVI54QLd+pNTDiF0gCoIaBHjhjXIuPbQYjDNJdpWpiNTA97/zNXhfEZqVmvWdl4aWVgaH9+KxJgdfcbrI4t1djOowXMxb5382pa2FQAv83yb0My/b3x0TeRgs3bfKZL1I7hX7E0CoxIgtGCym6m2GS4M0NcmWIrIjPbWxBijpfwgOr/w6rw3IgqifbbD6q1Zz9IjO+qKDk+wfw== Received: from DM6PR04CA0013.namprd04.prod.outlook.com (2603:10b6:5:334::18) by DM4PR12MB5149.namprd12.prod.outlook.com (2603:10b6:5:390::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Wed, 10 Jan 2024 03:07:46 +0000 Received: from DS3PEPF000099E1.namprd04.prod.outlook.com (2603:10b6:5:334:cafe::e4) by DM6PR04CA0013.outlook.office365.com (2603:10b6:5:334::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23 via Frontend Transport; Wed, 10 Jan 2024 03:07:46 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.232) 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.232 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.232; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.232) by DS3PEPF000099E1.mail.protection.outlook.com (10.167.17.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.14 via Frontend Transport; Wed, 10 Jan 2024 03:07:46 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) by mail.nvidia.com (10.127.129.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Tue, 9 Jan 2024 19:07:33 -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; Tue, 9 Jan 2024 19:07:32 -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; Tue, 9 Jan 2024 19:07:28 -0800 From: Vidya Sagar To: , , , , , , , CC: , , , , , , , , , Subject: [PATCH V2 0/2] Add support to preserve boot config in the DT flow Date: Wed, 10 Jan 2024 08:37:23 +0530 Message-ID: <20240110030725.710547-1-vidyas@nvidia.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NVConfidentiality: public Content-Transfer-Encoding: 8bit Content-Type: text/plain X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS3PEPF000099E1:EE_|DM4PR12MB5149:EE_ X-MS-Office365-Filtering-Correlation-Id: e1196278-e039-4c89-ca9d-08dc1189521a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: W96fggc0fakjyuX9wRLCH9JxEmBu5i0El+tGjEohuxfoPhzk7Qw2BsZJK1N2lQFEuNaaraeFhOOOBTDsBBpNJHx8KdqKH1qbgFpzjZnmr5cGhP7saoDHWWRJPKRji5Y88aNBUBaQXa7RZrDLZptrso/A7XpNnxH1du1IF7U1EgM4X5mG9NuhiLeN0VmPlOEIJnS+qBAjThP6C/GTfFfqWzJqCHEGOFhn1zdWf1Equ2s3zYZEmFshHR1dOwVztr6bsSfFA18UDheqLi2tkwJl2RPWIKaevyPYUSZgrtGhH5xiZvIs3AhHz1aDTS28IBEXPWn9dcw1+1RDfdgYUG7JRhh/S4IndvZhJSNfKgJaX4IBLi0YYH/s73coBbf0YKVqcof/Y6zDbwuyclhS4GOqJ7qT0Fh16SqgwxqrtlVV8CnKJQFEjygVET2zY8mqbAhiKrKJbjPIO2YD8rDlXCJaSPoVjBsO1/TFl60W6IJruyIkhV48K2vwR6QssSKabopLOLUWFQpfwhEoZ1NGF0NwGXFXZ9K+VN5OPgt1gA/DZQmNhtG3muum5BrLKvZiCZqKJpExX5cn3nBoJHI5MEcN9UZ0mVbf81bku3lEYqpZNaIOQqHVQyDiQAcgCrqZIvrGfHDiqwhA7lBPOl/weg72b7uGkI+S3H7JqQzYFC0yfqxFw7msNZOQhbz+OmO41e09DAUN3Q6n2bAwoGqfrIOTW9JZ8qBIH3vSbl6/ZSO7ywlCdlVTbgNX5zwFBC5mgh9s X-Forefront-Antispam-Report: CIP:216.228.118.232;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge1.nvidia.com;CAT:NONE;SFS:(13230031)(4636009)(39860400002)(376002)(346002)(396003)(136003)(230922051799003)(186009)(82310400011)(451199024)(1800799012)(64100799003)(46966006)(40470700004)(36840700001)(316002)(54906003)(336012)(426003)(110136005)(36860700001)(8936002)(8676002)(47076005)(36756003)(6666004)(7696005)(83380400001)(40460700003)(4326008)(40480700001)(70206006)(70586007)(26005)(2616005)(1076003)(478600001)(7416002)(4744005)(2906002)(5660300002)(82740400003)(41300700001)(86362001)(7636003)(356005);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2024 03:07:46.4040 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e1196278-e039-4c89-ca9d-08dc1189521a 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.232];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS3PEPF000099E1.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5149 Add support to preserve the boot configuration of the PCIe bridges per host bridge basis based on the presence of the DT flag "preserve-boot-config" in the respective host bridge node. The existing "linux,pci-probe-only" works at a system level and can't be used at a single host bridge granularity. Also, the support for preserving the boot configuration per host bridge basis is already present for the ACPI based boot flow and this patch series extends that support for the DT based boot flow. V2: * Addressed issues reported by kernel test robot Vidya Sagar (2): dt-bindings: Add PCIe "preserve-boot-config" property PCI: Add support for "preserve-boot-config" property Documentation/devicetree/bindings/pci/pci.txt | 4 ++++ drivers/pci/controller/pci-host-common.c | 5 ++++- drivers/pci/of.c | 18 ++++++++++++++++++ drivers/pci/probe.c | 2 +- include/linux/of_pci.h | 6 ++++++ 5 files changed, 33 insertions(+), 2 deletions(-) -- 2.25.1