From patchwork Wed Sep 25 17:22:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Tu X-Patchwork-Id: 1989496 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XDNpx41bGz1xt6 for ; Thu, 26 Sep 2024 03:23:05 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1stViw-0007Gy-N7; Wed, 25 Sep 2024 17:22:46 +0000 Received: from mail-bn8nam12on2088.outbound.protection.outlook.com ([40.107.237.88] helo=NAM12-BN8-obe.outbound.protection.outlook.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1stVis-0007CU-VM for kernel-team@lists.ubuntu.com; Wed, 25 Sep 2024 17:22:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=zUfKvk/wPwPcLoOw1Di0qpLmRq1S/RxP/8SsJHSBLfocH0dlDupMQmJ8Mncv0EsT+cn8lKTyuKgMkOeB+hdfhTeBYpu1ceEZoeLRAFZkxL1MFJzhzU/ej9t00MOHpufT//JbkZqJE7GLj9nv+xOKO7xPEac/fR2FYGiXI3jWNxT60Lhg2f03mGtgiu+lFiHHhnFLmXL7s3shNNLE5kh68/VFRQU8dmMN9RNm8W0r8STKPBtegO0EvG8UZgxEU8v/plrYaviqhOplbYN20edgz+/zq84v6w+H29jKRTtu4UjWvWackt2+OwllO8jxLk/CyyAuWTaxtmgTwnXvIgRkpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=XfnLvop6XiyxWb+rZZFvlA6L6yhjW4B+zHAwS8N7W5U=; b=tVk4O2N88ImvPYDkGktviFOZ+CDDHfIuWXsUXmjluGnZ3bgBLn0EkM8Zg6XApn7nxdeUxTCgekFadA5T5b/oYPKhZ6F8VWdq5T2Ov/OxqyH/IkZVmz18WG8IWt/EQI/9MQgNS0W3Sj4QVeEkXaR6+6QWv40YXXdmRzA/iY54JL4sMlciFYKW2Hi/g9G0nzSm3EawHpH0Y3pZ+34seMd/8wtz+MgygznBtSFs2Q+CIlVWJ4V5d00I5HCxhif/g7ejmkzQQmpd74uUE2Y3GujPiNfUdTjTNtsK0qLPBTgAzacSr+s4y2zFlGJSvnqxut5RveRJ8RIhaxLkJbEIPhpjDQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.232) smtp.rcpttodomain=lists.ubuntu.com 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) Received: from CH0PR03CA0240.namprd03.prod.outlook.com (2603:10b6:610:e7::35) by SN7PR12MB8770.namprd12.prod.outlook.com (2603:10b6:806:34b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.25; Wed, 25 Sep 2024 17:22:38 +0000 Received: from CH3PEPF00000016.namprd21.prod.outlook.com (2603:10b6:610:e7:cafe::24) by CH0PR03CA0240.outlook.office365.com (2603:10b6:610:e7::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.27 via Frontend Transport; Wed, 25 Sep 2024 17:22:38 +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 CH3PEPF00000016.mail.protection.outlook.com (10.167.244.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.0 via Frontend Transport; Wed, 25 Sep 2024 17:22:38 +0000 Received: from drhqmail202.nvidia.com (10.126.190.181) 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.1544.4; Wed, 25 Sep 2024 10:22:25 -0700 Received: from drhqmail203.nvidia.com (10.126.190.182) by drhqmail202.nvidia.com (10.126.190.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Wed, 25 Sep 2024 10:22:24 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.126.190.182) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Wed, 25 Sep 2024 10:22:23 -0700 From: William Tu To: Subject: [SRU][J:linux-bluefield][PATCH v7 6/6] UBUNTU: [Config] bluefield: add config for VFIO P2P Date: Wed, 25 Sep 2024 17:22:14 +0000 Message-ID: <20240925172214.1511114-7-witu@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240925172214.1511114-1-witu@nvidia.com> References: <20240925172214.1511114-1-witu@nvidia.com> MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PEPF00000016:EE_|SN7PR12MB8770:EE_ X-MS-Office365-Filtering-Correlation-Id: a5c2ad68-a81e-4b76-acc1-08dcdd86a795 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|376014|36860700013|82310400026; X-Microsoft-Antispam-Message-Info: /GeL2lBkAm/vBGx0xd3h8YdoaMdDaDpN4kXoLztX9WZ10ueqpx+vq4/eFzjDMPTGp5RgOo5GIaeTolRtWu18AK6u6yR8fyDYbkJZvdleVyDZu3GUniEw0PhJ7Wz+4xWJMtH8DckDXoSRzg8+1dV1Og2sgPHPec/R78udTrrbeIc3mBPt8kvRt5+w5FxgvMFOuRdoCpWoMRQ0sB3M5cMEYyVhr5RUcP4Cs8Du7ZVlqD+zR/ROszRxCwktfRVcjHlcjd8mnXA06D71iWGNgUQZOqj8sVQo3FZF9+9/h9hseqOYFKLaTfj2DbqOC+uyiGy4oeJxI0b6iqnVBgWdLgtW51Y1xhPqysiBQS0ryQdfD9LCrhhEC7da+fooXBJSJr3qGF3OeeNHRWfwrIMKUV0pQmTK0/7VNHHmU//oUxW8pHjjgWb389agKKqm/oJDvXzb9v7G631GviTy/EmostVSrjLqtE+f0ELVquZskxKqHWNSkBpjwjjUutuLPY4anXxjigezjgTtTtwDeXj/F3rKnz9y4SPFXGzl5On4aDrsAUygastv1QYCvsiTGTWit++ePBZI8JMhNDvzcS/ajM8dC8zh4XBxuMXtDAcfLc1mbLnLBjljzlb57aU4rHmYtn6cPxpsSyE9XVWp9T5bRg0BD9T7fFhXXtTvxNGk4rVjFZlCmiaiUiTE3e57atqwJfgIFFkH7mLaUn4PwGC7t3zrIxYnWT1yT3TLoVDAfQbMDQNnlC7TsQ2+UKv464JCZZc1XEwjHcxUxpqaRspnP7W6B5mBv69ZN0n5lWNgia41fXqMC4XGKw05MToHkLKFcFC5Vyaar0m9jJtaxOeCThTfYtNIXPjx0UG4TbaNDIds7g/DqWk9JsIqXbzKwL5LJLOvEgW1EZAF9Vnqo+ncP1pFANO3AfRGzGwRWQMUwnkb8KFhyczgAsiCowZB67t05QoJxTXUF5C8v6RwFyQh9fBj4hhdfRCNyLudiTs0ifeBcRHxrItWnGYn//++diiT/kpCM1ve9OqgSWotX8Wk51M60z3U+4HfZ/BtuHK+sqZhOs4JHNX71+wGy9R0I73TyDAuM74Cxj83DI3i7WVl7EkPLxveFbbDp6ZkoSoa5J41m3mSRyn/rszfqIzAfP2Hlo3NgFD//Hoh4Td3jm9Pew2c/kduLJtzZIFX5JrAbse2lG59XwDcso8nct6NEgemfHylsRwGN1mUxEkdu7C0pmXdXBhDJzRujs+i4j+p12o1GKJ17F5FxWfsdJrlnG1bIrFG5FQkDRJiRDfb4wk9a5ygwdkKyWV1mddj99/lKkepvOqREfspMYomAKenc9ojBeAV/r1eXZzJuJKVPGkVK73yAR+0ZPJQblSDqDfaIWkb5Kpd7gHNMUumfDtuGLtsfxkveXzDQQKjoPcJT064ykcSmIQfgN3hx80GMrCNhoUwqRuy2ZY5c8ZHyx0c1PaAx2uC 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:(13230040)(1800799024)(376014)(36860700013)(82310400026); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Sep 2024 17:22:38.5165 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a5c2ad68-a81e-4b76-acc1-08dcdd86a795 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: CH3PEPF00000016.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB8770 Received-SPF: softfail client-ip=40.107.237.88; envelope-from=witu@nvidia.com; helo=NAM12-BN8-obe.outbound.protection.outlook.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: vlad@nvidia.com, bodong@nvidia.com, sergeygo@nvidia.com, jgg@nvidia.com, zwaksman@nvidia.com Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/2077887 Addd CONFIG_PCI_P2PDMA and CONFIG_DMABUF_MOVE_NOTIFY. PCI_P2PDMA enables support for p2p DMA transactions. DMABUF provides two ways to share a buffer between kernel drivers. CONFIG_DMABUF_MOVE_NOTIFY enables the dynamic way for DMABUF APIs, so no need to pin the memory. Co-authored-by: Sergey Gorenko Signed-off-by: William Tu Signed-off-by: Sergey Gorenko --- debian.bluefield/config/annotations | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian.bluefield/config/annotations b/debian.bluefield/config/annotations index 553d4d84c1d3..2f405bdb9745 100644 --- a/debian.bluefield/config/annotations +++ b/debian.bluefield/config/annotations @@ -211,6 +211,7 @@ CONFIG_DE2104X policy<{'arm64': '-'}> CONFIG_DE2104X_DSL policy<{'arm64': '-'}> CONFIG_DL2K policy<{'arm64': '-'}> CONFIG_DM9102 policy<{'arm64': '-'}> +CONFIG_DMABUF_MOVE_NOTIFY policy<{'arm64': 'y'}> CONFIG_DNET policy<{'arm64': 'n'}> CONFIG_DPAA_ERRATUM_A050385 policy<{'arm64': '-'}> CONFIG_DPLL policy<{'arm64': 'y'}> @@ -807,6 +808,7 @@ CONFIG_OCTEONTX2_PF policy<{'arm64': '-'}> CONFIG_OCTEONTX2_VF policy<{'arm64': '-'}> CONFIG_OWL_EMAC policy<{'arm64': '-'}> CONFIG_PARMAN policy<{'arm64': '-'}> +CONFIG_PCI_P2PDMA policy<{'arm64': 'y'}> CONFIG_PCMCIA_XIRCOM policy<{'arm64': '-'}> CONFIG_PCNET32 policy<{'arm64': '-'}> CONFIG_PCS_LYNX policy<{'arm64': '-'}>