From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7C09445A9A; Thu, 3 Oct 2024 11:27:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 16CA64025E; Thu, 3 Oct 2024 11:27:50 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by mails.dpdk.org (Postfix) with ESMTP id 23A12400D7 for ; Thu, 3 Oct 2024 11:27:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1727947669; x=1759483669; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=437h66VoBe2ykARUyCYThoK1RqIVb13c/vcwuA6BErw=; b=GrImjhhOFdHkLAXlHg6kikSKYGAIjuUvRr46QbaX52bxGGAYIOqT+Onm Pk+feh2hKasTcVgdHGcMnwjhAzQOj4wzIy3Cgii08f+COwFgLQXXVUlfK K6w4CUn06bM64d/AYJiXmms6+33aMBHyiGlXd7OpottatleupAaLLRnQw SmZ1Le635gns1hIyyHLgBhwHGljn2mWIT8KrAcrpkaNy+H428yKA1C8L+ PQm1SjxCFCatg9r00NVNan7biYQHXAIrR/1Wk15HLdhq2jXpjjE7rH6Wm LHm7DaXEu4//a7T7bHHa4EUB5j3iMrRFgFm6vF1xKEWui1osqrxYmhR4+ A==; X-CSE-ConnectionGUID: FwV8haziT6OItfC2t9RE8w== X-CSE-MsgGUID: uNvIl/RDT+2E1Rf9XCgqqw== X-IronPort-AV: E=McAfee;i="6700,10204,11213"; a="38517021" X-IronPort-AV: E=Sophos;i="6.11,174,1725346800"; d="scan'208";a="38517021" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Oct 2024 02:27:47 -0700 X-CSE-ConnectionGUID: S+9z6AxPQ+6h7mnVjYlRPw== X-CSE-MsgGUID: wm0cdz1fRKmdX3yokus/Xg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,174,1725346800"; d="scan'208";a="74284649" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmviesa009.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 03 Oct 2024 02:27:47 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 3 Oct 2024 02:27:46 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Thu, 3 Oct 2024 02:27:46 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.176) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Thu, 3 Oct 2024 02:27:46 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=I+yOzgXPJEbe4/qWieBCrffLEK/fCVAus9gKRaJiT4I6QVYjTvbJDtBADXU0WyEmPaknP6uH9iNNlN4RmVxja/N6h1eEnSYjaEi6PmV+kdHN4sX7TUcap4u3M5d7UQI6+LG8gIlSE/iE+P2MlXmkCDpJ3iGx0yLkWYgE7vsxrGBCGTpSe0psUT2Y7L8UKO6ezjMZfRLmUv9en2UW5r7DM4OLS/rifBf6S6R+71+JJVz7b/l+OhvV8M6cnx8wj0P1I+x/oKPfnbFzREVQD5lt77gqfI33+4yvZF5V5RnoipgzhrTr9wDpRctBm+6xYZRrkhVxSeFEny5F8SLQ1cMtFg== 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=mjseeihXv7X+4ERUFM+YnBAzCZpfpLSkiupAwDt2e88=; b=LPOWEa3SlJr44Gw0FObEqMeACzfseVC+hf5cvbcDOoVahA8T5p8wrE1aNlliyuSX4qEpTN+iTe8wBPaOBlHDkj5DSOUciugDTg8dRq2WUAOPMdhGIkBswRicFg7l8rEXpbS51TnFxTflfY4PJcMh6uyuGJiH45WL40gakcJ39GSh471T/YcptD4sCUsy7r4aXaBGoIWxo6nMjIZBjzVxB4kkNmhuNMSu8bWdC5t5nd+aV3ttC6Rg4jDn2n0LoCKoTZUxyKG/YFERYbuGhrq9S8CE1OkuHTX8EyvAbz0X4tk/FUNgubFZEWRtYNdu8601VGVLS3u21/61obX9IkMlsg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by IA1PR11MB8248.namprd11.prod.outlook.com (2603:10b6:208:447::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.16; Thu, 3 Oct 2024 09:27:44 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b%4]) with mapi id 15.20.8026.014; Thu, 3 Oct 2024 09:27:44 +0000 Date: Thu, 3 Oct 2024 10:27:40 +0100 From: Bruce Richardson To: Stephen Hemminger CC: , Fidaullah Noonari Subject: Re: [PATCH] usertools/devbind: add support for non-IOMMU mode Message-ID: References: <20221012123817.112225-1-fidaullah.noonari@emumba.com> <20241002181456.159647-1-stephen@networkplumber.org> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20241002181456.159647-1-stephen@networkplumber.org> X-ClientProxiedBy: DUZPR01CA0032.eurprd01.prod.exchangelabs.com (2603:10a6:10:468::11) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|IA1PR11MB8248:EE_ X-MS-Office365-Filtering-Correlation-Id: a1312296-c357-4459-dbe3-08dce38da2f1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?B4lCaBnJxCqqgC/GoFxrBITUC5GZ+8k77/aMXpwlncT835p3qXyPK+lh07vR?= =?us-ascii?Q?12upPaJWp4NqmGuPc3M2vbdC1nhgJkAKj2C3Dww6nm+DReQUzrpxK+u8boDB?= =?us-ascii?Q?LPJWLF6gMfQeKpEs+00MjIVosj9o13m/rDyQVy2xv69ycNOHFj+zaD/Bdyh5?= =?us-ascii?Q?LfqRnQlx+g2yRdhDdTuq0FwZNlpylnv8I8Wzho1lFoDT23hJA8Tz6yFCYS9W?= =?us-ascii?Q?+hfds6W9l5jExRbN+GqZUPOwmEEhGxK/GR57UDohY6/gbnN3bS6sPVSpnHM3?= =?us-ascii?Q?es8n3Z3OPs2ge7ZKvNeX/C+duqux4vWoODXkC5s9Nt6ms5PFXkJ+CoTyvoPM?= =?us-ascii?Q?p5tL7bOAx3ZqSTJPv9MorHmcaQoNph0xvIUqIZJSc03SnOejdQS3qLDfcQX/?= =?us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=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?U4PMZ/wLU7jdfYrPKjV7TNi/iU8nqYN/+SLy6y9ABDIuBsqxB4w5vYdxj6by?= =?us-ascii?Q?dcafSZI1nVqU+QN0mso/n8wxVVMJaLawiJZixpXD53cR+b5ZjDzAwBcmX5Ek?= =?us-ascii?Q?i/mIBeUE31OzyvANUEwQ5YNy5pVnWiEFRpMXtexfvXhNMkhEbucwGJb1Xx6J?= =?us-ascii?Q?9tQh21+OnOzqR+Z5b+nGg+Ix+Fjbddw1+vhgjgpuT0AJxwahfdPSGf4sFRlO?= =?us-ascii?Q?ZWn7Rb4hwXD6OTcSB+MqChuLatEY0GR6fmds4nzqbK27diVykFmvHzHKXiC/?= =?us-ascii?Q?pRnHM9ni6JfLmzBR4ceNNMSCugECd2+EyGMW0NHoijzDhSSPrIX1OSIMAD/I?= =?us-ascii?Q?Od9/aM0ociDPvFT2vTp5GrKDIOE3SuUaZsEGUmZHUJjuig0xDIWAhm3po6aX?= =?us-ascii?Q?pT57f/aiYT3OI5CgFrxk7XBFc4RUq6qtshEBL82P2mrSR8TlnOMlMRi8ylqq?= =?us-ascii?Q?PK16g8RGTXDnkiI4Dfa1Hc0WHIKfkgfzqPRqFIlsZ2cEygZg6myvwke44KGp?= =?us-ascii?Q?6HOXys7zbsZhdU4VPwF9H19VvNr60ULdSGLPlRBkZ6KAUDUmuHGFA1ECHeyR?= =?us-ascii?Q?ODp5kl7iEaFoYOvZQAdDOXhfX0dxqjYhIK+pLAepai/d12isIoBNumHwLcys?= =?us-ascii?Q?eJPFzNG28LVUC02nuVHd8BXoUS9caNPfTl4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?Q?Y7mjkBbt9LOL2oohpK27+qWiGuXEd2Zy4I0axlia+R8PdPVmZnyQZ57PHSHA?= =?us-ascii?Q?4g=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: a1312296-c357-4459-dbe3-08dce38da2f1 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2024 09:27:44.4692 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: PCcS0FjUiec//Izj/VA2Ez4YLRksWsUoRrLu0LgVRZG1y/4qj+mmr4eBPH97F0kUv//UbGs2Sk97kPnOpZkGyyh+RuH9K1vULb3RHWl7K0U= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB8248 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Wed, Oct 02, 2024 at 11:13:12AM -0700, Stephen Hemminger wrote: > From: Fidaullah Noonari > > This patch adds noiommu option to dpdk-devbind. > If the no IOMMU is detected, then if noiommu flag is set > the vfio-pci unsafe_noiommu_mode flag is set. > > Signed-off-by: Fidaullah Noonari > Signed-off-by: Stephen Hemminger > --- > v2 - rebase patch and fix some minor stuff > remove unneeded f.close, simplify error and help messages > Acked-by: Bruce Richardson