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 5109BA0548; Tue, 31 May 2022 18:37:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0AACC4067B; Tue, 31 May 2022 18:37:46 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 049D340143 for ; Tue, 31 May 2022 18:37:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654015064; x=1685551064; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=jzTLzbJ9V8tS9/XeCg94IeRZF2nBzSWs/8YGw82UJ+M=; b=kQTQtuBPXM/j61OCAyIzgrye025/jFYAjFFkftaZl+OL7C4b/YgDcQTX luQ4W6pRA7ZuSYg9eqvWTnAXC9rDHyZV4rtqesnjxdevik/m+/NcMe+51 Z63NguDyhFIS2mMv/b/dBev+yHRKPLMa2MEWkvPNfmGie9kFXb7qrLT43 uV0c4VqWpAIfUEe72CE+EOzNucOhLkKnTBKyLmxDLsLmPlqazstJlfOxQ ciRL661B7ae9556m5C0dv9Lghrp3WsExZl5r9fHCDkXxQs/tqHD56NEs0 2O5TuI7ueIBXrVHQW3WOXlmeQsU+5AQmCnDQw1324UBFjGpVfLwvDDTCS g==; X-IronPort-AV: E=McAfee;i="6400,9594,10364"; a="255792341" X-IronPort-AV: E=Sophos;i="5.91,265,1647327600"; d="scan'208";a="255792341" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2022 09:37:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,265,1647327600"; d="scan'208";a="581167327" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga007.fm.intel.com with ESMTP; 31 May 2022 09:37:42 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 31 May 2022 09:37:42 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 31 May 2022 09:37:41 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Tue, 31 May 2022 09:37:41 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.108) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Tue, 31 May 2022 09:37:41 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KuCnrVg39m/XWwoCg+z2WGS9Y/0VKXnLDMAlJtiOM+LOS37If030czRW7pRlxNnuJokUivAPr7A433uz8/gq+nrWL8J2rxgXOljZo1SmtsKhrW7cJNYdcBQV18UDLoTXPpXc2yaI9I+uI7P0lsblLcRWywQImw20xD6s038mUhamr8zbMjpNKQ7Jxrdvy+Fbeu+nPuZgoDMxOT3rAGpOlIIAgR2nA1aBGRmJQA/DFqXcBXDP7oCLiKJ38BWwihKBRsWqPe3J/ixxeO0m9dVMvvqZSeb9YuV+o/J1ZPfbFQiuFJ2ZcsaOkRglaNy3j63NZY5ToE8BsnRUuW3C4yNURA== 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=piRJrfMe7P7PBppFFyu1+BHbHNokYhbOOg5fT90isgI=; b=ItXDcgt3noXKz/yCZIxoIFZpLEzNogIRN9NkNz4nkDDWJ98IMqFB0bUWXEPTbaVRA8DYitgCBfaKdjhyYiAmJdulzqWw3Zz+S/9sbEpTcd6vZTK2H9HZAlPZ1PtWCrkjVTn3BDPes9TiecgGBbVloI5IM2FaZ9YhA+zHqg7RNj0LGCUv0OWbEL0D7RkXInIEetBB75Ex4Uv1aMKxQoB9ylXNOc50PI8f5olgj4EbzFlSASm26FYPz2J/omkwt12QOud47TyaZD/JO+bDg1o6usk4jM31tiEjFagXNUW4zSZfccTCNNIPT7fwgecGiYeDQXx6yoCCB8A9NQYGEvYyiQ== 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 MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by MW3PR11MB4681.namprd11.prod.outlook.com (2603:10b6:303:57::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.13; Tue, 31 May 2022 16:37:39 +0000 Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::382e:55b8:41a6:6eff]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::382e:55b8:41a6:6eff%6]) with mapi id 15.20.5314.012; Tue, 31 May 2022 16:37:39 +0000 Message-ID: Date: Tue, 31 May 2022 17:37:35 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH 0/5] Fix IDXD PCI device close To: Thomas Monjalon CC: References: <20220408141504.1319913-1-kevin.laatz@intel.com> <110268931.nniJfEyVGO@thomas> From: Kevin Laatz In-Reply-To: <110268931.nniJfEyVGO@thomas> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0511.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:272::12) To MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6e993259-8e95-4af1-3169-08da4323e07e X-MS-TrafficTypeDiagnostic: MW3PR11MB4681:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dgFGVqPMAtMyH7Qkgpu2d5ubWUMYgnAdQMj9jKI+N/CnIdXc+icchlnohmhaA2pio2weVrzwFC+zShxbhI5AlLbinlX61t2tZmttes27qJoAJh+uoh9FK9N7oQ3cvuj7Ok1Fu//3XYEz3EIrN7/dIuoMTMsguliCLpEhgG83Okomf2ppYT8/gw5YkUFi3EVDEA+U/qsVrYMDvt2E1pkb218vtx8O69kWtcaoDRec82HXBsnrEjkuwb1m/iM5xmCmc4SqH8sfmMCf1NnNEp11xBfFVo53zRf9DnqgfNiXmucWnXTXkWpv8vl/iI9Rdsy1iIOOuIDf8jbD6qhorUTJ+fBpU9D9FAgGa+d79WmQCHChmQpQDvcTTotsuG7uMZRwzJD7rr55dIfwjDBRe8x9vyFwr9jH86bJcAYMsNuUmS2xf4aOMk+4zBe/RcdBm+2oC7wg8pigC3JTKq3h3S1b6EDN6Bhfxdb4wW/MEUANqsdwNr+5Qzg41FxUvlEQZc2UdVl1pTEcF6NKAnMlFnd3sMu/USYHnGD8Sa9ym/nIQZ7omzvaSeozFJxFHRRg5PEHppU6Xclq1uccJNUOKt5H6QZ0Ei2aW83PrtvxlDMyykfP+sldJ379S1OH1VUCfiM2DrerDHaCzwvwSm93annurijpGD1fAecB2zxyzWNFjzYXFKI1xAo8VaxEWnwN4SbsK9TXEBsriPRsoRIt7Vou3t8L+hlCkFhyt2AG3pjTn9Kpjl1PXQGV9V8GvKbBrBif3xIw6XwKdlLVmTr4GJdteOhuwXRhELg4IQ79A63vZY7o62/DlVKXiSjX7xkfZitr X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW4PR11MB5872.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(83380400001)(44832011)(4744005)(6916009)(508600001)(6666004)(6506007)(8936002)(5660300002)(966005)(38100700002)(53546011)(6486002)(86362001)(26005)(186003)(66556008)(66476007)(66946007)(31686004)(36756003)(2616005)(6512007)(8676002)(4326008)(31696002)(2906002)(82960400001)(316002)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cEN5WVRBeXpqbVhtMGU0eis3eURYWlhjaTd2MlVPdlg4S1B2eHR1bFdnT0Ur?= =?utf-8?B?MTQ3MFprNG1mYVZOeU9CUHB1Q09xbkpoNUo0T0FoSDd3T3VEYXBJdlJMSHps?= =?utf-8?B?eVJKUFQ0a05YcldRZEp2OGFMcDlxNWc5MkhsZHllWjVJUUk0QzVpUXZtcFVn?= =?utf-8?B?V0dSTHlweGovMWwxRHh1RDdDcmJWMXJHQlZOK0h5SkhST2NLRDlSSmpLMlFj?= =?utf-8?B?NkRmTnE5dUJYVVNaa21CcGFxWTRiZ0NyVnhldWcvU0hIVWphUkhmVXhHdUdI?= =?utf-8?B?RGt6VUtzZ1p5QzM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cDNWOTVD?= =?utf-8?B?NlVhK1JIWEpQeWlhS1NKNXVRT0JHV1dJL0V5WWMyMTd3ZUNzNjN4ODc3aWxF?= =?utf-8?B?TWRRN1VtSThzYkY1MVYzbnVHRUt6RXJkbjZDdy9ZUzE0OUIxVkE0dHd4ajV2?= =?utf-8?B?bXNXUXZwbFpZbG96VnlyaWpKdkRkLzNVcnpwL0pBVFRpR2RGT1l5bE53VDZI?= =?utf-8?B?RVBuSTlLejVVRDU3Z1d3MjdlR3UweldwaEdwaG1FRzBtaXhQQU9WZz09?= X-MS-Exchange-CrossTenant-Network-Message-Id: 6e993259-8e95-4af1-3169-08da4323e07e X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 May 2022 16:37:39.8128 (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: LmCBeT9OneVAzlGtx3Q6Uv7pceDxhudT19jiXmtN/UBolqsXKt4epZpKGneaBAPknTxKPB9a57jU2pXGmsevzQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4681 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 31/05/2022 17:17, Thomas Monjalon wrote: >> Kevin Laatz (5): >> dma/idxd: fix memory leak in pci close >> dma/idxd: fix memory leak due to free on incorrect pointer >> app/test: close dma devices during cleanup >> app/testpmd: stop and close dmadevs at exit >> examples/dma: fix missing dma close > Any news about the v2? > Hi Thomas, No v2 yet since we might be able to drop the application changes from this patchset - depending on the changes in the series adding bus cleanup to EAL cleanup [1]. Ideally I would like to rework this bug fix to utilize the changes proposed in [1], so there is a dependency there. That would allow us to fix this bug without adding dma_close() to all applications. /Kevin [1] https://patches.dpdk.org/project/dpdk/list/?series=23151