From patchwork Fri Sep 6 19:49:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Tu X-Patchwork-Id: 1982073 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 4X0mz10MNsz1y1G for ; Sat, 7 Sep 2024 05:49:49 +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 1smexi-0002Ui-6h; Fri, 06 Sep 2024 19:49:42 +0000 Received: from mail-dm6nam10on2047.outbound.protection.outlook.com ([40.107.93.47] helo=NAM10-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 1smexf-0002QR-WD for kernel-team@lists.ubuntu.com; Fri, 06 Sep 2024 19:49:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=x9IT0S3ofEUfagGqP3KdoG9TA09jsoesPC/AJx7ZSRxB/L01XFAZ0x7rR5djjwaMpfv/hVR2REYMT38eYZvz7Ic5vrO0LYyIVMalZv3WST/YiUjk2rX8HRC5lsb2vYoRnx0TGrJ6/fWrnPKQdtJdOOMPU1QoO/oZUsEnn7k2nQUz+s9p8tOBAuYqmR9XEnLZgbbQl4xxloyH0aJQkh9dMqqrNj+rmlhQAYNQGLcgnpkqbrwzkE9PiHFJEexBNooNpCOy4W7KiF5xfzm039Kb3ydX//WqjLjY2qGDREeDhzxQVEANnzH/OQ/SmEB8pauQjJEBhJNwNfxEWkAyQlEdDw== 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=XFSJgL58Tc3bGT+ZtMVh7C3Gi9ScKuBCfAKWmk4qzXwZaVWK/g74FfiATDBhwAKEO2dxbSQJb3ZaAR6mHVtnbpDomTI4DRADnpMTLft6yy2TnIZow0vYHSu920Vb2DV2krnzH5P79LSnaEGZg4EkBul7QlREpSy7twyQrNWfQr/Lfq2/6DFgdEe1ukNsZ0HtRek2Pj85VFtGAscmumKmhSndMJclSjR5vzr/gbodPcVSD57E/YVMjYYNLWGKYebBJXC5ThinuICT3+Z3puVlJXqhbZpRFoBEJ3uJ/NeKGVMGDke6OItybZP0MU70qWE5DIkoGD1ao+z2bRdPTv4BeQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) 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 SN7PR04CA0086.namprd04.prod.outlook.com (2603:10b6:806:121::31) by CH3PR12MB8756.namprd12.prod.outlook.com (2603:10b6:610:17f::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.27; Fri, 6 Sep 2024 19:49:34 +0000 Received: from SN1PEPF0002636A.namprd02.prod.outlook.com (2603:10b6:806:121:cafe::fc) by SN7PR04CA0086.outlook.office365.com (2603:10b6:806:121::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17 via Frontend Transport; Fri, 6 Sep 2024 19:49:34 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) 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.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by SN1PEPF0002636A.mail.protection.outlook.com (10.167.241.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Fri, 6 Sep 2024 19:49:34 +0000 Received: from rnnvmail203.nvidia.com (10.129.68.9) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 12:49:20 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail203.nvidia.com (10.129.68.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 12:49:19 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Fri, 6 Sep 2024 12:49:18 -0700 From: William Tu To: Subject: [SRU][J:linux-bluefield][PATCH v3 6/6] UBUNTU: [Config] bluefield: add config for VFIO P2P Date: Fri, 6 Sep 2024 19:49:08 +0000 Message-ID: <20240906194908.1127733-7-witu@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240906194908.1127733-1-witu@nvidia.com> References: <20240906194908.1127733-1-witu@nvidia.com> MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN1PEPF0002636A:EE_|CH3PR12MB8756:EE_ X-MS-Office365-Filtering-Correlation-Id: 2598a18d-e390-4ded-cea9-08dccead0871 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|1800799024|82310400026|376014; X-Microsoft-Antispam-Message-Info: GqfZnn1IyFr+aibojDM1XQayhjnOMy3ayskRyElQ2QCotrklVVleL3a1hp8qeFe59M1uVODc+ItIVGXgO8R32Z82Rgt3msG6vfxdR6QpeYfRXqQzSjoM679MuUYxXqeouoKpt5H/No79BoUQ1P84g3P+636Vh9wkG75vkB2ZBzQKPTzH7NaUH1dPSq+vu/Q3/jeWmyrkK02Q/2nqS6PUts4L5ICvHFSa6RUzAuNWtjN2yeUI7gwsHZe4d+FRNjKIHeVhL9E+rGren1xFt1SfELoz8SPeQshNDp8BQkpL7amtilINb5azRU+k51OJTC1pc1g2u/H/35SdlqNtxKfJojKa9EqAl0KhVfJ87V5Q9ppUpVbu+ub+Y0SIyHwLz0SAv2IYsJP564efGmhyG7m/GFJQzSb8YlZhtheSt74TIEHf2PQLfaRQEbBnqkmMjbsQggpEnuQQjbKBwy7QIf/r2E+eyXvzH7QCFgJ2ygf89SEtI6b0hisD5oK5ickp/l0S9IWS/ybL+6CNds6ipMWDdriSHYEG+rAZuEtgBB8hO+577N4SAG+McR6PyxfBtKxBEhf6WVNPYXZdu3ei0WvGUqLnZ2OJnwH33sSkn3nCP8PPGe4rC/N+WyoS4FCh8cYNtLibbwfU6PsYJPqxINnqgX2tTGr7QhECeBRuiXmlmQ0zuA/sFBZbd1pvptCBQbCTg1XE5iiN+EbRKvlUPsuFMw6QR1HiNN904TZMMKoD5SrltLuZe8FC5y9HT2e6tkY4ppnm67ssXeA/wyesMTIYWz5mrddKAODg2KmNNuEjVqbGq7f9FbNXR69UWT9ntnjSq6sMeBV6icOuKoy7nJaOmQx5FLTZTwOwkwEfPWSmoiTIzxmXDPzIV/N7KOxZPHqQnMxldCy8LaPMrZ1d94N5hLEABWQ80uav2V2aYKb3STEcN4C20K8+G+D4gI8RuGYa5r3V4H2a/yBVtlmbP/bi8vcNjYbC0Nmk0MRctOGhzDrfIm9r1Gfpv3RiupJPT0opKdn2Me26pQOZOdq3j0uWcTW+cOxCmcPZU0p60PQJ2merqtCeK9lwLWx0nRdBuFUxCOfHR5lMNBzMa3kDxACmTD/wcEdyZbb6d7vkzOKHEYSvjGbJtVwhYYrWpk/fOxJ0CQIzfeKZe5/3RctKSf1vEMyHbYleraN/l8tLyvOZmzFhtY79qBFZrVO2LaW7YywBBPU0bfFnhQr5ot1kxqSAYPDwLc0YUB8Z7pl5qSW8HKE1q5okz2+IwN6h+3lnrTVqkXSkl4Gy8vWN+gR9JIPHty0spC4OAPvzXGIif+7JQk6VyiHwIPqH8W87pSsNOpxwNRpVyUiAr8/xKVBVhOxlDfwm7XKVa5tR7PSTpycpuqNnzjqFy5OpQw0S3ZanziYR2Nos2lCgyUoP9oGALeFyF/8L4xKSeZL4ahOOjmy5Fu/7y+g+eiAEiibnCnKIQ97Q X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230040)(36860700013)(1800799024)(82310400026)(376014); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 19:49:34.4701 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2598a18d-e390-4ded-cea9-08dccead0871 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SN1PEPF0002636A.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB8756 Received-SPF: softfail client-ip=40.107.93.47; envelope-from=witu@nvidia.com; helo=NAM10-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': '-'}>