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 36B97A0548; Wed, 1 Jun 2022 19:10:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1A95340689; Wed, 1 Jun 2022 19:10:15 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id B3BCE4003F for ; Wed, 1 Jun 2022 19:10:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654103413; x=1685639413; h=message-id:date:subject:from:to:cc:references: in-reply-to:content-transfer-encoding:mime-version; bh=goNpLdtko7nAVUzqMUNMMOvNlP9cXmMx2DOp2QBWZkg=; b=Ry1aZkYfUh3Se2FsEO3pUttF8s2l8Be//sah8sAc4H0qianakWTidF/e lnK8nEeWVb1nL0qE0TJNzg3m0YyAb6LI6KZ+Gpcl4L2XMj73JgWDWmCtA 5NSC+bHflCIKcXUrK44QR6O+reYqHB6ZXaKqzOCDm5aCyhCMDDuHqEYMr 3+PJNr4e6z/0NbX2OCDL9Fj8DjxFu0DqU8BrEGtmtBQGsTenb2LaNaY1Q m9vpzgAocIRbiQDXssJKikqP+UDfdmZ09PJqFqENIl7x7xGqIB+ObiL9W YTYKaC1AgHp8pYNvmTeX+BqtI5h6NP18Ei/NpjN8DnZzoxx/1gicC4AqN A==; X-IronPort-AV: E=McAfee;i="6400,9594,10365"; a="275670212" X-IronPort-AV: E=Sophos;i="5.91,269,1647327600"; d="scan'208";a="275670212" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2022 10:10:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,269,1647327600"; d="scan'208";a="606372362" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga008.jf.intel.com with ESMTP; 01 Jun 2022 10:10:12 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 1 Jun 2022 10:10:12 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Wed, 1 Jun 2022 10:10:12 -0700 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.47) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Wed, 1 Jun 2022 10:10:11 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aTUs1lG1qlrDLPkCLsKrgV+CBfyV8X+ncZQLIcIeZZEuW//BMJYypn8Wz3BLFTlA9AiekcQzcyRToW+pRyYXn4M6gbyRT4oOcAdYnygkAmfrH3FpeiCVN+LTEmvrC75ZbeGzva9OWs4umN0pM/UTCAVqTMeYHiAhQEO8TyO8DZSZfMXfCzai7NI9Y5wU33A/k8qLaVVLzmC3hcwpxK2/qpB9xlEa2WBNqHryWm3fOe5WJumgXjoDHbY8lCCdbJ1dzb8ZOq8v6CveZcgrhWG11LGcFnI6+STDPEDduzD7N3c3uhkN6LASiuVnB1DcBAxTAhIZKE9B+EPOiQk7G3GjlA== 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=LBDRS5k4WA3qNu7CDDGZjq3OjYIafYmOJYwGN4rAxo8=; b=ZQ5Zo5uom9uQMQpXmF9bBnV/TRQ9StB1YFDMNzjLpKtnPSCUUV/b/Od2eViFQ7mRqpQZlR0G7e+NdDsIJiQzwmLaMPXvUkViV4QvjIeAqESZ9FZYkybNGv8prlZmmRe4W4VuVEMdWqhjoMQccwpfpaLFCQlFHUJzNG5TcrBYe/DtWMCm8wlSbDK372pVcl5iZsjlr0TA4GFXkKiorM2M6UWYYlK59FTvQD/Las9SYcQDaPIubj0fbnmBz5oDFOeofGTB3fMKKdLo4G5jA1He9wyxKq0BA/lEArM0tRY3/Z+mTcT53eg4w92/iw1CIzfcBsbyuG0zRFdrvEBrKi2f7w== 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 MWHPR11MB1840.namprd11.prod.outlook.com (2603:10b6:300:112::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.15; Wed, 1 Jun 2022 17:10:08 +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; Wed, 1 Jun 2022 17:10:08 +0000 Message-ID: Date: Wed, 1 Jun 2022 18:10:03 +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 From: Kevin Laatz To: Thomas Monjalon CC: References: <20220408141504.1319913-1-kevin.laatz@intel.com> <110268931.nniJfEyVGO@thomas> In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO2P265CA0329.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a4::29) 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: 8f450a03-b9b7-46ee-f743-08da43f1942c X-MS-TrafficTypeDiagnostic: MWHPR11MB1840: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: iWrRaFgd6W4gqobg7llEZFTRvrVUFTtfkwlBblPUA+XGBMhP7bJJ9p5WMl5YpMc1Ey3S5se+DtvNNoVF0NVASJmjrlScmpI5vr4GpLXwSA5BLu5/t7wrrFPYBFQJzQFdrasxcsBlvISUxWOT47FD92IlLxw5JldAp/0thcqan6LUbotjHXOdXkxVpqf9cjiOdsdoD5o9bpZBXMiDfoqfk8I5caZLBaVr7UUZWFSakCg1Xwx16dCQApidC30sJ4TUURDYIr4QFVAGE5sJFZj39nCxEnfX8aOUDCj1BjCo23rr2UBlF3cIThHXj3JGz9Zn7Wc8QNsqkzsgKYzQDg9x3Gnf2uQZXLp4AvjMpSVTCGTM9MYq9tHfizLSkw+sNO3zlHVGQ8mj09GoxspvLlvcf7f5lqKn2CBtgneVDdzm+Z569niA7tC7butlcksDEFGxNS8TkE5aBABtlcxnYx4Kf32CE6wZypydxbzOZIfrqLPPimgpSldS3AQcyLTsLGtSg23b64SH07vcsHMsbdHQTaMmuLdprdLB+GF0wNejWMh4hmZHL/XmJxW6mmi4qR+d4yr0zDniy1QOkCfwrkalz6h+8fC1PM/tPLQ18iIZ/dO4nx8tfcS1Dse5oPT+HHCf46y71OfEej5TFYa0+vtzVga/vpzOl5qwJQxv88Z4jQTN65jhEIsBReYUMRUa5tMNpiKUq0LpyOOwVsERXVC1R/0H2wUjCUK/XzMC1P9QA+53vULprhLczINZuL61gkFOzl00OQ6IflcbR0/hXJhEyapWckapmdm33iI9kazqm2F0NHmPWYgBl/DwMOsEztrNsiYPtbvXxFrK/Tfwzd55DiyBSADvHIzHWzNxaKX5oaU= 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)(66476007)(4326008)(6506007)(31686004)(66946007)(82960400001)(36756003)(83380400001)(31696002)(38100700002)(2906002)(8936002)(186003)(2616005)(6512007)(53546011)(6666004)(86362001)(26005)(8676002)(508600001)(966005)(6916009)(4744005)(5660300002)(6486002)(316002)(44832011)(66556008)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Z1BucXRsOEdMeE1FajJKU3g2NzJMOUJJSXFUNUF5TGhBRzhVRzduZFQvWHZO?= =?utf-8?B?ZmJhVzRVWTRwQVpCbDMxdm4rczNaOXZDTlh3K0s5WTJaMHhHRjRPY1lUckZJ?= =?utf-8?B?U29FeWQ3YXpBaW5nVCsrQTRHNEdEQnRTc0lKZU92YXJ4L3p5dkczZjR1VkJq?= =?utf-8?B?MHNOTVJNcFJhdzZxMWNldjkyRmI2MGVKZVViUitkTDFRUTd4RW42NDI5QXlO?= =?utf-8?B?VHhScitQY0YvT3JOaVF0dEJ0NlFlS2E3NTVqdWRGSUd2YkV0cm1UNEVCNFYr?= =?utf-8?B?L2oxLzY5eFRNUW1NRFNoYjBsSFdsdGNQYlFkdG90WEc1TUpkc0FadFYrZlFv?= =?utf-8?B?eTQ4RkFnRjcvZlZmSHdaTktlUGVSOGhvQkZSRktyYVF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b1FpZnh4RGRuaDZLYTd2RHgyUFlnUmpSQS9FRE5jVjJscGtjK0JnSm9xamNI?= =?utf-8?B?L2ZHOEZucE01Nk1VekxrREhXVW00N05KSVMwR0VHS0sxSTlzREJPUGlPSCsx?= =?utf-8?B?ZWI1Y1JXbnJoTEZ6algwZ3QrcXZFUFNoa25PeXNNY3VIMGZnSHFTRFpiYklq?= =?utf-8?Q?3Im1dslqTbrq+R+s=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 8f450a03-b9b7-46ee-f743-08da43f1942c X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2022 17:10:08.4749 (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: 03UScB+1acvSBd4HaqcYnevrDDXoFK0fU5mooNIwrLspCUBziz6u9m1QdOVhpd5UCcngx+gIm3Ees2p5BD6/Bw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1840 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:37, Kevin Laatz wrote: > 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 v6 of the EAL patch is up: https://patches.dpdk.org/project/dpdk/patch/20220601170234.11100-1-kevin.laatz@intel.com/ /Kevin