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 1BB89A0C4A; Thu, 8 Jul 2021 08:25:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AB2044157D; Thu, 8 Jul 2021 08:25:39 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2076.outbound.protection.outlook.com [40.107.94.76]) by mails.dpdk.org (Postfix) with ESMTP id 6E49A40687; Thu, 8 Jul 2021 08:25:37 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n/j4fA7404GAkHUamTDQQjG/y/sre00opEnHko7Imz6wPufF31WXV7TR8Dj0Lx4r5BvZ9u5SyAnhSzPE2JRHzg/8BGe7GcoK8rnGJLbDuEzSeXgti9XaT+qUJzBwrOb3i/qFQEm/cOOLw+z0T1POkBCSZrb+yWarNqZJlODFx3L/aiplyVLrEEdck6JHgNAQhwohpj/2yRxQZlLDKQnyTbbA1iKWxwdjDoENx9nYCYccn5mVRSye5VMO4GV1sFzC4i9yC6tZMNG98eMf07oNwlHnsMl4V7isCEGtTDB+V7AVgu1G0/wh7b8yU/VMoZJQl15qbv5U9EmpSAlYzRXhlA== 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-SenderADCheck; bh=W8iQSS4FzgsyFQguP11cbnEcW2F2xsJJnk4F33Kglys=; b=XIu7klqo4U3f+O5r4Oe+O9BM2oxtEt0Rv1Gqk/UgWNHYxB1V4otJEmMT0PhIqvu0iGGJoMoAa1G0t9fUbmTXhf1/7Xhly/1lEAZBMQ3qTz610jACqVJJ5VFe/eznGxsMaW1gSKXeBsox12KaDAvEbdEuO+6s6NWOZCwZXt1bOgcmjffSFmaB4E3o4R7PxSEDhrAi8WN8vivj1phcpOCjovUJrWIEMAweWw1DWcLRBW7mOBr26Ej7SZkyJ891Z84jAw+PBlDdu8P77x4jtECCllJ7mm7YbdtZyhN0JpAE2bF6VVxt7VQd3CpCYe5mDZWFgJYNL80JZin+MBFohGg0OA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=W8iQSS4FzgsyFQguP11cbnEcW2F2xsJJnk4F33Kglys=; b=K4/YeGm5TlBML948sBc48mCJ7TlvIhrvqulRQIMpWSXwz91qZvWP/JQh3ScI90qRFjnddlQBM5QsD6jJwuCy+E63N/v8aXCYZkcGFzhcO3oo8zKLT3q7iy2j0PFiX/hJdBTFRkHces0apmzKve25Hq7kgbgd6nvL06OOH1nNkK7TzWopgqZfNTv0dEYpMuJWflzpEb02stWqmWg5oYh+oRHeHhQUcrMzmu47tcPZBiRrSUvITrImlZz+lALH7EYrhTkKQrk6bDfM9BaVXgwDLukRwKMLr/6Xgsbpz96d0bF8MNzDJDGn544AeaiWK/xcqlsf0ntbsUHU1ETM00/QJQ== Received: from BN8PR12MB4980.namprd12.prod.outlook.com (2603:10b6:408:a8::18) by BN8PR12MB3313.namprd12.prod.outlook.com (2603:10b6:408:65::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.19; Thu, 8 Jul 2021 06:25:35 +0000 Received: from BN8PR12MB4980.namprd12.prod.outlook.com ([fe80::6594:2a51:4bc1:fd3]) by BN8PR12MB4980.namprd12.prod.outlook.com ([fe80::6594:2a51:4bc1:fd3%6]) with mapi id 15.20.4308.021; Thu, 8 Jul 2021 06:25:35 +0000 From: Michael Baum To: Akhil Goyal , "dev@dpdk.org" CC: Matan Azrad , Raslan Darawsheh , Slava Ovsiienko , "stable@dpdk.org" Thread-Topic: [EXT] [dpdk-dev] [PATCH] compress/mlx5: fix memory region unregistration Thread-Index: AQHXbklPw4PKmDH1xEul5J3vFsN0SKs36fEAgAC4/fA= Date: Thu, 8 Jul 2021 06:25:35 +0000 Message-ID: References: <20210701071807.2018505-1-michaelba@nvidia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: af8976e0-a4bf-4f99-7894-08d941d9322d x-ms-traffictypediagnostic: BN8PR12MB3313: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2512; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: C1pKc/Zxx6F0LftqT5KBuSG8XX8MM4/nRIueCmpzj0rCcgoNPTO0/SZTl9JP6F7p5Sgl17eNY3vFocyoJy4p+RRUyRce5lYmNeo+3ORdgcLOizvtkAyhI0dbkuAowAxCtRJWMjjzWdVEsdBK7mMOpHRg6BcQBk5PtsFZhI0iLUUHWipr5GdHuONif8ESqVfbGnsnxO67rQutZQ7qURTLHHPeMYPvoWugYa1F2+9UmKmLz6/3cAa9o0jB7PRMfqo0QjLayYxjiI/gpUpvA/zoHQ0y3QPSLyC/fTuFG+227wNfn6V7vd4bKW/cd1ggoujVM34alLxeLfFegR8A2ad91++Lo0HC1sGFtP8g4S48EY91njWV5peLXcvtzo99NmqAOGG4s3/NwXv/szwRJtXOWyalW8c1266r+8Jjcx0lJXlrapLEx6Cy2qW+6wvi+uVefiuN/QPtRnXgppSTL+HrwtHnyDmqcU7HPuO3xcVjl2+Mspm38Ow/0Oz9/GF+jc64AufTcZznEfO1JM0Cv5xZip5vxyPf53DVtytxlIEgzWySp/R1FpLs1KmPPp3q2o/tj1a5z3NGeWSkTGEndFRni3LzOaB8abWLDovDzKiZNeu9JQnvWUPxyllet7rPvKKf0qsOWP7yPvCl6uv6e8c9A38GnCOCMzCg1PmDaYZSNKDdw3ujvoebf8Urp7OdaWeeFJEPVL9mnsrd30RNSr/5lNmcT2i+1s3txk0cOkrtGEw= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR12MB4980.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(376002)(396003)(346002)(39860400002)(136003)(4326008)(54906003)(478600001)(33656002)(4744005)(186003)(122000001)(55016002)(71200400001)(966005)(26005)(83380400001)(7696005)(316002)(8676002)(52536014)(6506007)(76116006)(38100700002)(66556008)(86362001)(2906002)(9686003)(66946007)(64756008)(66476007)(66446008)(110136005)(5660300002)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?xURCqfxsGMx92r+o4Mk63t6m9+0tOuaqflWWBLMZdHwt7Tu+taD5rzvh/Cti?= =?us-ascii?Q?dvDo6pTrZ6Z1Xenuwj6PXBh+Oapoee+ULdjragYwUUqlMJpwiH9BdAoDV7wc?= =?us-ascii?Q?uVbD7f6Hw0jUXZw4y35j3DDR1voSYNQ3QdWcJ9qd7P1aT+Jmeh1UPbY3tLIi?= =?us-ascii?Q?G0pLhJ0udhXXmmCUPk45UFVXZZ99zbBhT2KlNtXek3oPp+0cMXCTi5ldM/cC?= =?us-ascii?Q?c1nJjaKzJZbNLzGpdqUOki0aUgKYKpP7sEP2ddrUauCEUMrSRdEF1yXxSK55?= =?us-ascii?Q?wQ+KH0CQEPfQ1J6vPA6FDkxiukdpu7JtVq/+suVqYoO5QQJRhDbaqO3/FKzA?= =?us-ascii?Q?vemRl/G4oIW0M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nea9?= =?us-ascii?Q?sGX1Nm5wIgxq1xlBlZ6Jul1AGN+61oMMxXr2smIW1jXypHFPexTAcIiKOOP/?= =?us-ascii?Q?ub8=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN8PR12MB4980.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: af8976e0-a4bf-4f99-7894-08d941d9322d X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jul 2021 06:25:35.3806 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: +wfHojasugjJ/XCZOOeIwHAUgCzdigDdewofoXNF0hKaWJQhyTPQCCQ2q04G1ViOdyjR6oaTc1tex34+//kEnw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR12MB3313 Subject: Re: [dpdk-dev] [EXT] [PATCH] compress/mlx5: fix memory region unregistration 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 Sender: "dev" Hi, From: Akhil Goyal=20 > > The issue can cause illegal physical address access while a huge-page > > A is released and huge-page B is allocated on the same virtual address. > > The old MR can be matched using the virtual address of huge-page B but > > the HW will access the physical address of huge-page A which is no > > more part of the DPDK process. > > > > Register a driver callback for memory event in order to free out all > > the MRs of memory that is going to be freed from the dpdk process. > > > > Fixes: f8c97babc9f4 ("compress/mlx5: add data-path functions") > > Cc: stable@dpdk.org > > > > Signed-off-by: Michael Baum > > Acked-by: Matan Azrad > > --- > CI is reporting error with this patch. Can you check? This patch depends on this patch: https://patchwork.dpdk.org/project/dpdk/patch/20210628150614.1769507-1-mich= aelba@nvidia.com/ It sent before and integrated to master-net-mlx branch, but not integrated = to main branch. This deficiency probably causes these CI errors.