From patchwork Wed Sep 11 20:59:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Tu X-Patchwork-Id: 1984216 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 4X3tJC4zLtz1y1l for ; Thu, 12 Sep 2024 07:00:27 +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 1soURo-0003DA-8B; Wed, 11 Sep 2024 21:00:20 +0000 Received: from mail-dm6nam11on2044.outbound.protection.outlook.com ([40.107.223.44] helo=NAM11-DM6-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 1soURm-0002zE-Ol for kernel-team@lists.ubuntu.com; Wed, 11 Sep 2024 21:00:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=DQNCoSNpp/yt4qnh+zL8G8ID3veLLjcfypyU3rEdFI1TJOiGGWxQdU8KAt79EV2kby7ZwNsNVeb7lTHT9nNBiOZmYS1PU2gDwyqyemn2cKdfPGK+Zggq6xT/fek1c1mufVXDqXbFI1e7PlTstA21xzYbq2/pSqw2xQFg/5IeMoa5xaVGn5rrCBumDwZQJKp46d8yoaybRclSJIFAwIyimk9LhNNUMlGpn/0POCemMML+gSfKIDILOTlFnDqlvrEkURlEIPbXUKOjCaIV2NYbMcQkMo9bE1F+s01Z6La0VsmWOVs0hhWIv4z7JSBszWq1IH41mLljFwKMbJQjnivb7w== 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=Jj2gAOuxSJ7LJTeur4GuuqGrmtZl6/FaNy5gir/uUvsr/XCyYSwB4nO4AwzWghqA9oOOwYTcSOaOR+3ayOsk3KVBnZ7GvMQqgeAAd2MXiqZNWJV6mT9UIhZJuO+WVuQbEnHB6lFf4R/7h7c6FEMxZhYnEYhqnzry0lA3/3OsJx7a/+9Dfk1F6K3N/3coA1zUKjWoTivfuIbeUl91Hl7XTC30GgKVvUf54Tqj7DveHmDigpSb91s+llEIJBGb7PoESuN5yNvYeqXDMPJ1RYikQIa5ofaS//i9t8GrEGRZYyHJHgp48ta09TzZ4angRBgZZqJmt4hdSphpEJd2+iwZfw== 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 BN9PR03CA0785.namprd03.prod.outlook.com (2603:10b6:408:13f::10) by DS7PR12MB6216.namprd12.prod.outlook.com (2603:10b6:8:94::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.32; Wed, 11 Sep 2024 21:00:03 +0000 Received: from BL02EPF0002992E.namprd02.prod.outlook.com (2603:10b6:408:13f:cafe::1b) by BN9PR03CA0785.outlook.office365.com (2603:10b6:408:13f::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.24 via Frontend Transport; Wed, 11 Sep 2024 21:00:03 +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 BL02EPF0002992E.mail.protection.outlook.com (10.167.249.59) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Wed, 11 Sep 2024 21:00:02 +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, 11 Sep 2024 13:59:50 -0700 Received: from drhqmail202.nvidia.com (10.126.190.181) 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, 11 Sep 2024 13:59:49 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.126.190.181) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Wed, 11 Sep 2024 13:59:49 -0700 From: William Tu To: Subject: [SRU][J:linux-bluefield][PATCH v4 6/6] UBUNTU: [Config] bluefield: add config for VFIO P2P Date: Wed, 11 Sep 2024 20:59:39 +0000 Message-ID: <20240911205939.85317-7-witu@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240911205939.85317-1-witu@nvidia.com> References: <20240911205939.85317-1-witu@nvidia.com> MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF0002992E:EE_|DS7PR12MB6216:EE_ X-MS-Office365-Filtering-Correlation-Id: 97055d45-df10-4f3a-f1f8-08dcd2a4b4d6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|82310400026|1800799024|36860700013; X-Microsoft-Antispam-Message-Info: tX/Trzclr98HqhQIq8R5N7ZReI2Fr6SI7LV3338s+o88oyJ4z0pREex/G1VkIGOpic0DfssQGWO6ncl+NJF/gsC4OvbWf/7PRiy0pwLQ69f9AF8e3gJW36irEdf8baYNCglf111jylxgp6LrVl2W3kSLIUTFCPrtLRuufzeZAkqt01dLt98DIc1Kw+RDNFRZog6kFmt9/GybFELzTiHsZ1pRU6DbUFLGyqNzoeaIIjyhMU2VnZV0H5noFd/hPGSS8dNW6KBy/S+VDtPMySfErM0ZGMs7022c3pgUGaSEfzBmFMonpBhB+dBNTm6PC1KTLBNw3d3hxcr/K7jCNNn3HhhIYaY1g4g8N4eH78m9khtBwVpREPi8BrQpW7mRCjbHgzK3Yl6eM0m5rBiLPi2mVwOvekpf9mrsROytPV+0PM3ZQkNEgNlkK0vxjMiCztU5PC5W9GE18Gl/XM8OVXfmGCwm7H2AOOpzpCZRsOuVD8u78qlVY7P4Y7g1y9mnCcyq0pgjL/nQH2ypkXcYXcP0kY5sIoHVZKu3af0Xo+5jA2oG57zpuDh9gLf/XVYYZ4q3McmLSr104vEjcjpLoQiyuQDN6QZ3KJ/R7CVwcbVVJSHjnZ/d0XR0guOQJOpbf9mmA17acI83/WJzx2+ejUjt7SxR8gSs8tGiyCUIzGSrgV/cicAlz+aXuMjgA01om0Ot3Hw/uFfgge8vbf5eEgBLgHy0WETVc6IR7HonlrfNUSER7187cjg618AN0QKzL/YqzAlx9A4+mZpso+8bp8aLEYOlxbHfMAN87p/OREPAJQNuKkT8blQ3hBl7DHVYTXC8OigaVN9zDjgew/IXZ8X1r2Dn/mXhiZNjkEtuMA8AYmoqx1PyHVn4L8f/VkEUjIlRT6sgIpGhup9AWm+8cC9OE383QiNAJe+JN4TKF7XvUAti8eFmqDcDXgrdGZn8Wlbcd4kYPIx1m23Guh24zfxSd6b9HK+1yfmvaVPxsIE4mFkpeZhc37r+CiSdFmXRB+qjMm3iZg9swSAxlm7JE5Ke6701e5/6SJz2MOxGKydSpL/3HpwsH5pStK3n4er6dX1gKm9p4OwKTjZi9kLC01GWEUk8rZPgi/IYPqb5M9jY53qf9ij+NZX2f/pTh9m8kvFN41Fm4VHz9vo4Vmt8viZknqvyrPzUKEa/DJyaM21Q2NISupDQJdYZOZbxV3yyFcspjy0b3NocWLeVICckbdP22QuivGAL70F85jHvbuqKMVxkEG2xAA9P4June2OYeX7yJRMLhOKwfrl/dGSpV/C/DWIxc25fobDpglH6xdNpboQBECgIj8rIXwAxgzw+UlGV9P62iSQvBZkw4TqTMpNZqZIkCbI7y+T44O+8M/JaybJFcbv6Nvb/UqsLEMef4DKtSudK5UFAHPwizSxE9t9VcaWJPgi4IzK/oehWMGqSqqkhVampkQr6byTtqp7zcyNz 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)(376014)(82310400026)(1800799024)(36860700013); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Sep 2024 21:00:02.8504 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 97055d45-df10-4f3a-f1f8-08dcd2a4b4d6 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: BL02EPF0002992E.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB6216 Received-SPF: softfail client-ip=40.107.223.44; envelope-from=witu@nvidia.com; helo=NAM11-DM6-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': '-'}>