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 795314550E; Fri, 28 Jun 2024 12:26:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0F1F341144; Fri, 28 Jun 2024 12:26:24 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) by mails.dpdk.org (Postfix) with ESMTP id 43D88410D0 for ; Fri, 28 Jun 2024 12:25:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1719570339; x=1751106339; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=PUKXVDSNrZzsiEHUKou3AkMPTscLCztVf5flD6u/sBg=; b=AtS0iPEWLGpEG1saScjkOO1fF7L0103IByLxa6G94jhul4WvXYSvADxT pWb748+s00/hFtshkFIgAkXpIgzaL6bDkzuxYFkJRRE/7ui3KlMqvTuwU 1QhLBXre8IEnkCufCOOR2AfRddeV7FDD+V0xRPDL6PJlgv/HdyND1VECj I9B3DG4ACOwhVJm1CUSg6vRbLzVdHPDQUE8oBMSCyOhcNbVfPS0IBN1ol UGsXXXd8XItkMHBHQnuR/Uq9Bh2eMu/+CKGMvx5/k+18+jFbrQAh1fNtt gOMS7fvL2P79rwYATAeN/RJDSLUv8Bo1tcy+N+JXnZFnsYmUStiE+P8gU A==; X-CSE-ConnectionGUID: zCnDKgGESMmwOr2eyzC9Tw== X-CSE-MsgGUID: jcLvE1m4REeDvqJJVnZEWA== X-IronPort-AV: E=McAfee;i="6700,10204,11116"; a="27879537" X-IronPort-AV: E=Sophos;i="6.09,168,1716274800"; d="scan'208";a="27879537" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jun 2024 03:25:38 -0700 X-CSE-ConnectionGUID: aWErB4OuQLa6pV9uvQS1Og== X-CSE-MsgGUID: 9VUXbxQmTnOVZMnUTehCoQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,168,1716274800"; d="scan'208";a="49657354" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orviesa005.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 28 Jun 2024 03:25:38 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) 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; Fri, 28 Jun 2024 03:25:37 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Fri, 28 Jun 2024 03:25:37 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.43) 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; Fri, 28 Jun 2024 03:25:37 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KbTC8yv9fQOwCplRC4QEjaDmqbk2DLLb15Q0VfwMojI5lDvcxb+PGKBkTj7Hd6PsufbydhIcwQXRPcp7ydic2xOFkZBaAfyaEM7oZp2O7jGhPTscF66ejHU1+MEElVijkbMchcTcrA9ZqkqQC2EINAanlQVh2uWfBwUyYWbp61dTT5aArns5dxJT6C41UJj45PWqvgF53qefy3BJYtLVVIvTFp9z/hFajGfN/67nJcNZR+kTkqlCALOpKYi1ejqyO3Vj7jI92mQtIezPDq76ZIpbauHuZaegGOmuxGJvIh8JxreIN2ZBxUE+WcCGE+682nowupIL0WiTd6qiw0v9FQ== 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=jEeNhw2K+HkVoia5zlwrCoyStLfH/lF8Uy1d08r+0Jg=; b=CBB/5uwNTcXxOe8HcViIm0qUuCm+CHAdxjyKOCEVjJ88G3AlRX4dnCfL2IS3yOxpUySp6+yMv+TljNlanLt/ciPPEfw6Q+VuspMUdflBZydRHjwkPNt3iZgVJCNpCbVGt16A6URg/BTeS0tOCIZ4ZdKYF4Xyjxwvi+d9fMhdI1OXOzrTZ4fv4HUmnTDZJIpnW8sTlTTn3NGZrXN82CpMuHQnvVziimdoPrGVVxdMhB8h4o/KJ+DKi2JqOSnN7ZAbEH/cd8mGtI6bCx926zRaoAgkZ20JQgEnBwu+Nb1mBQHY9SE8goR0Pi7v/8LHcm+lbKlO7J6mQInKCxYKvT/3Wg== 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 DM4PR11MB7208.namprd11.prod.outlook.com (2603:10b6:8:110::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.34; Fri, 28 Jun 2024 10:25:35 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::f120:cc1f:d78d:ae9b%7]) with mapi id 15.20.7719.022; Fri, 28 Jun 2024 10:25:35 +0000 Date: Fri, 28 Jun 2024 11:25:30 +0100 From: Bruce Richardson To: Wenwu Ma CC: , Subject: Re: [PATCH v2] dma/idxd: fix failure to configure a device instance for DSA Message-ID: References: <20240628053458.78337-1-wenwux.ma@intel.com> <20240628095400.126083-1-wenwux.ma@intel.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20240628095400.126083-1-wenwux.ma@intel.com> X-ClientProxiedBy: DU2PR04CA0317.eurprd04.prod.outlook.com (2603:10a6:10:2b5::22) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|DM4PR11MB7208:EE_ X-MS-Office365-Filtering-Correlation-Id: f01a870c-1cf3-4c38-8b5b-08dc975ca593 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|366016; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?noSeYK+Doo/d0IqtGStia6+2wI2aKaXx3hmmZYb8dHDYXEnqFlaw/YdjnAV/?= =?us-ascii?Q?HxHSPm/EvWl47vx7c5YHANJFu018NScIrxevYjXgW0UW9dfkZ23nhcN9ICUO?= =?us-ascii?Q?D7Gvpg3dVkR1BNZs+6D1H7FTmCITzfMWXMAZP66jtSMD2PfJFtUCCBdw9sWY?= =?us-ascii?Q?qyJwzPqD3xzdr1/QA7lAY1Bv08TvJ/lNp95358r1WZxToB2Yvd4W52zC/MZ7?= =?us-ascii?Q?aAYP47au0sB5pbtVnzgy2lmOsRznNXqhnV+/p8F2a60ceZagqsQX1yszE7P5?= =?us-ascii?Q?n/E7NteEX6cerkaBLb8LvRh4XC8GkBW8nO6K1qurQPWCXyXxTiySm6qNx+ei?= =?us-ascii?Q?ZjzgFAWAdr7hbSuRPzlHMUiNtVBH+98UTLoApIEVTT9pleO4XzADt8szMaWz?= =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FMhooLY17srnXBrj0rQVT4t9SnepgS?= =?us-ascii?Q?QMCgF7FkXGLPxz5O763FUw3VxLHY1N1knba8EuLFVMyYrg=3D=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)(376014)(1800799024)(366016); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?s3Zbq3Mv99ngIXmXrJUQ5ICAj3MfQXPxC9fjn0dNUKiDnqIPHJ1lg/iIIfRM?= =?us-ascii?Q?bL4XDSwSa3M+jSjy2Jtglh/k5TN7a072ThtjkAX2SCElAlEuXjDPTwDV+kFk?= =?us-ascii?Q?bc4GJIGcpNu1jrVvIKje1Ly/mf5HEfTrUf7EHzxgNDfdC7sW+nrWQGJWXa6g?= =?us-ascii?Q?KaaK7kLldk1C0wMYNkHjXLV8j6FJtoOBTQs4fDMJPlpQo5PaSx1CQaqRCPry?= =?us-ascii?Q?qGFLBbHskhHbZoM2YVwAR5WDJv/Wpxi00F1bGRWWduMHgO2km9TuNm1u6akP?= =?us-ascii?Q?qqrVHRECXSsmykIFMao5CV3dc/ymJ/rvKG1hPNJlDmng1YrCZ3mqViWDlLeh?= =?us-ascii?Q?mDW0pCT6UTxb5QJn45pn78GwxWhfQmRUo8+cseo/BJ0K6igov00+42842SJn?= =?us-ascii?Q?uWmkh457WLZ0o5eJEDU5Nj3Oi8l587L8qBcyqdz0ys2Kh7DqcX6ovyZdjqN0?= =?us-ascii?Q?BkH69aw+tgTG59caWAQqQj+m/OPpGBbjD6iW0AQi6jSc6J4JWkG6o36dPA2M?= =?us-ascii?Q?CGBuM4T2x1+8nj2zG00/cStpJrF7Fo2RgCDSG26fBxqXCJHHMkxcCFAHsfv5?= =?us-ascii?Q?9Xvh+H3rt9Wrmde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rnS1iIamgWIcIOlI?= =?us-ascii?Q?V9E5blIybIsmvSyPMto5e7K8PU4R8PnPf9Z2yUzd/b+KtFaGPAZvMp7RtZIv?= =?us-ascii?Q?gfWqEsUe8PO7sQd80nWjbXRUyLl7+MEkRKG4VKrPQYJ21P9pgD/dV9bRjFup?= =?us-ascii?Q?yA=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: f01a870c-1cf3-4c38-8b5b-08dc975ca593 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jun 2024 10:25:35.1410 (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: ex0hH572e5KVFrRdKKCt4TkZ7FJI2Ze/WJGAXy4T6/0vSCiLK/gsBdlu6xJnf7aujtqlvHm/TYHlwko+gP7QpuX+tbF1g8/wZd55PptXDn0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB7208 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 Fri, Jun 28, 2024 at 05:54:00PM +0800, Wenwu Ma wrote: > In ubuntu 24.04, DSA's workqueue has a new driver_name file in sysfs, > DPDK needs to write a correct value to this file when configuring a device > instance using the dpdk_idxd_cfg.py script, otherwise it will fail to be > configured, this patch fixes the issue. > > Signed-off-by: Wenwu Ma > --- Acked-by: Bruce Richardson