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 3F22743063; Mon, 14 Aug 2023 17:38:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C5F5F40A8A; Mon, 14 Aug 2023 17:38:00 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id E044B40A7F for ; Mon, 14 Aug 2023 17:37:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692027479; x=1723563479; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=OGsYdV2OZNisd6GDwmFBvulSN6NwBo3gRRycuvOuNKw=; b=JSMGT/Hh0++xbETuOjDTbIXbNE2PDabdCGhgryl3uN88GjHoFPYNGkhZ QhHT0NcQd/ZeW3GB+dEJCmrT5Cpq8DSerBo/4WrVO7IDADb1z55dIEd0u wfrNH/QBmMDzobbYsLMw5LzcDEbES5FzI9q/jXKtSvZ1lCQerHEvV2P58 AMufAWRgqWBrneMZ4k27h47BE5yuh32LW8HZvPCFiOywnIHTuSk04iAKr HxXe1/DOK4/cHpoRSQNvauI/wRcTz/Gvqv90t2fH7kzxGCQhZC9bkA+Vm EavqBU3gLzkV73tgHWlr3y2Tph9VI8/5lb3dTVLaO75SBFX+MdI8NzktK g==; X-IronPort-AV: E=McAfee;i="6600,9927,10802"; a="362216296" X-IronPort-AV: E=Sophos;i="6.01,173,1684825200"; d="scan'208";a="362216296" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2023 08:37:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10802"; a="980021215" X-IronPort-AV: E=Sophos;i="6.01,173,1684825200"; d="scan'208";a="980021215" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga006.fm.intel.com with ESMTP; 14 Aug 2023 08:37:57 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) 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.27; Mon, 14 Aug 2023 08:37:57 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) 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.27 via Frontend Transport; Mon, 14 Aug 2023 08:37:57 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.170) 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.27; Mon, 14 Aug 2023 08:37:57 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JfbMRTkjTbkwhap06sBLKMtDa4pTxwc7FagWDX/ls7hIVPqtREjVx7KbDwq+p+CxIkQMr3dJrE8TypVkZEEs0TYtFPmRnsukDt4UE/Q2YN3d0aYkJwBTzg4ZKdNda0LnaqFUHCkH1Y7GVXGBOhFQ64H3rOETDhM7cogd9zWCYWIJFvbXJrnnHQrrpvryQ6dcnFF4d26jMCA0k0+l9K4aOq2zga/osvZ8QY8B5F0xTUUfsHk1efm0y9VrfzGpeD8MppzTSwv8hszdhYgpook6Dgh+BtdewmvLxNU9p+2V10a/o8mZsm4jXqXcklb3Bs6eKtpNO1Nzx4V98/AaTcMRgw== 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=88ltfZaD4bSqZ/67d8pTemLSpijB7dtoK42Cpr9ANzM=; b=gaxsHBy6hLB5zJZnv0ALrj3T0LGhD3q4Ag+5dqDmPlkQBlFVLhqwq5B5m5Y43OkfoyPb0TkZYLmOQcCtvrp3FO43g0/unzaZxJvj1VvE/r2af7tHkGkQ70Bb4RVn92XaeQpdC6v8Z2kDqSy4dlL/JZUhB1j8RX+RBglskGH4bleG8df8C3HOnA7DGDrm00LsHLTxDGtI66ZGriDUMIOCoyp/Th0QyzOIJdkgdThln1BeqO+fQFCqHPE0VbcRVGZPN51X7zE2ebx0FkCr2NImtkyXMTmCG7Vhe7f+SH5aRWoFILcf+E3yaZv4qJyE0K9rfoS42o4SCgL+WJnE99WlpA== 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 PH8PR11MB6853.namprd11.prod.outlook.com (2603:10b6:510:22e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6678.24; Mon, 14 Aug 2023 15:37:55 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::9802:65f0:c441:780f]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::9802:65f0:c441:780f%7]) with mapi id 15.20.6678.022; Mon, 14 Aug 2023 15:37:55 +0000 Date: Mon, 14 Aug 2023 16:37:48 +0100 From: Bruce Richardson To: Frank Du CC: Kevin Laatz , Subject: Re: [PATCH] dma/idxd: add reset in the init routine Message-ID: References: <20230811021054.3848656-1-frank.du@intel.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230811021054.3848656-1-frank.du@intel.com> X-ClientProxiedBy: DB8PR06CA0063.eurprd06.prod.outlook.com (2603:10a6:10:120::37) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|PH8PR11MB6853:EE_ X-MS-Office365-Filtering-Correlation-Id: 35782eae-f605-41a7-72c9-08db9cdc6d99 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: S098mIXFWnpypxpZR2y1BwjZKWc2L0EIjkArjuNf1ylh4YPz0L3CwxisY/be7xbrjZFvKu5XxQ9zJLdZEPFnhwtzR6NkU5Ly1Y0v1gPn5Zosn5IXg11iSv0Xwa1wKFTXAIS8m7lmgMmhiQKi57WpNhG1T97gNqa7WOANa1oAGgFVubG1trauwKzJ7eg6HOIbDdCyo4lMwtyLwgIh5nA2WP3JN5Xth3gga2x2zaVHr/pZGx5n3s1t8t5beNRpU0NqPaDUYW9VihDBEAbbULNdyxilXkezzkH2EtURnDuDTpGd0+OIjjH2Mtb5XXs+XqOpbtAbcycq1mQVZ8U6P0rIt7K1e3+gXG+qHdpSocGrCchVqTe2li+RyZwE6lSFXnwwlCRsxcMtNuYcdma/EtPRnbPtm34BJ75M4D3ywm3Rj7IOsP74P9IOdX7iHhI5bNdrN6A6ICKrTvUNX03u2pZD5qL9pnCwBfbEhBVo1D6Xfpf9eN+a+zgXRfvsot1REtSyvJAnrp5j9DhrZqzmVng1v9K3LbgNtCF+mv1O70vMicTxv9d6IXUpd0LXjN31Cr8W 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:(13230028)(366004)(396003)(376002)(346002)(39860400002)(136003)(186006)(451199021)(1800799006)(4326008)(8936002)(6512007)(86362001)(478600001)(6862004)(6506007)(6486002)(316002)(8676002)(66946007)(41300700001)(66556008)(6666004)(66476007)(6636002)(5660300002)(44832011)(26005)(4744005)(2906002)(38100700002)(82960400001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ghRVLMpUOjSe6D2KdvZdhGZWseDO4+j/bUrFkkxSBK2xRPtp4KJNCaTvjkJb?= =?us-ascii?Q?y3k1KgTh2+Wid6QyTt7kNwrptJkMtSvLLnj8A2g2i/u90Jv/w+E4X9idKY3+?= =?us-ascii?Q?1JYYRGHKdKfqrnSu5vlI4T+Y+RcsUcJKdvPIkL0jPcDBPJQ8Be6lLZLYgZ/m?= =?us-ascii?Q?nsI4iFIm+OL+FdwkFOi+JIWaWo6MJm0tw912FNprJPOTNBIwL+axn9v6//uR?= =?us-ascii?Q?WDJiw8FONCuxxcRwJJgJNhvMk7oQdhh6AwLzdkQmxF5NvLkQQfFDaZ/XhQit?= =?us-ascii?Q?O6ILTEKv2jdrCu1WD6AUl9Rstx/fjXW1PzIC1Qr8ObtfFaMNg1wn19WHEwlQ?= =?us-ascii?Q?TB8PjAU+rvyDSXa8bnceJU3W1MO8R2ztgv9tTpsdHFWi5fTgIj++/eWdm3rk?= =?us-ascii?Q?viHNyKm2noQhB8SL2RJ6vQxMYQF8MZ9LRtXDGe3s05BcXC9DTGArQ7JjlibO?= =?us-ascii?Q?i3maqGuWMGdSeXruHeJdJH24LVgvvAPEUDpMnSZ1CAk+LEiE2ZhNRDhB3J5A?= =?us-ascii?Q?0oM6OPcBMw9IsTNBeuFqhTBRkErJxSzNEGZCbbK1A2bV3T2TDd6O4IAsjFcf?= =?us-ascii?Q?2DmJH270Iu7ZzNY9Mjx/I6TafZl0fC2dQv6xkrYHjfB+HjvG+Jn+OC4k2WBx?= =?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Th6mOSx6tzKlzYvB1qzDA?= =?us-ascii?Q?GgT8Cm0b/xhS+3tSr08KtQ8UKj0UIPIHrB0rb7zQN2i5OV8GpIL/eQDRoXG0?= =?us-ascii?Q?Lw=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 35782eae-f605-41a7-72c9-08db9cdc6d99 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2023 15:37:54.9902 (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: PPiUengM4KneOVp/GeZXQxAP0blHwh12QnFuSQXxREtxn+DjrstFhOCq48K12XaW62PSYJWG1WUTqAdh3xW9th5KQtEYq8Fvt0GMNFPQA/I= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB6853 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, Aug 11, 2023 at 10:10:54AM +0800, Frank Du wrote: > Fix for windows, no one reset the dev to a clear status. In Linux, > kernel driver will reset during the prob. > > Signed-off-by: Frank Du > --- > drivers/dma/idxd/idxd_pci.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > Ran some sanity tests on Linux and saw no issues. Acked-by: Bruce Richardson