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 EA2A0A0C49; Wed, 7 Jul 2021 21:07:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7D791413DB; Wed, 7 Jul 2021 21:07:03 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id AFA42413B6; Wed, 7 Jul 2021 21:07:01 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 167J0hpV025271; Wed, 7 Jul 2021 12:07:00 -0700 Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1anam02lp2041.outbound.protection.outlook.com [104.47.57.41]) by mx0a-0016f401.pphosted.com with ESMTP id 39n5tg3aar-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 07 Jul 2021 12:07:00 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RZnneggjJ2zTig/xHNrUmtdh6wEIwJybAFTi71Lz6TK1JI2QCk4537mZkwx5shZXsBcxd1hXppiEPB9U48iNr+yzpU5AJEHhfZLzO3iO8M0GnE68nLtyCkW0dnjjyIiHwZSFEouknQ4J+x7G07DxEU0v/CT/s+OpjxJ6f8J0mNFZWcXVhnRZ9nTzdw59ItxXoKV75CzyqEOalclEBiIqSKqio9gnQN32SpxwgVtxOYVATPeqzv+TNyFlF1SzGLZNqf5JC2dOkqOFrNSpKhaPID9nYV0OmtBm7lcD8NMP2BlzQ6bCbg+/3ybvKU7SR+f8A6FfGePotvhv7B7YgRPlIA== 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=QhMXOiYLmEzw0s5ke0whqYQnYkTwzKDVL1SOiKDTfa4=; b=jBc4j5JRA5T+oiYdOtds4vi2pVjzVwD6wi9+2nG9CQJbSuXk5IZtvjmoG+MgZbMb6Xj7X4CndqdH2aqrsA7uC4mv8aYoSj3uhnEcOP/8ICebwVlQzA4eC6zbTzpnSiVkthg2I6Ft37ULJjcFbYIITT+dFrEmhaKGnQMwAZL2kVQc5a598F1MpuR9CJJogGseXLHBfRsW3NuyJZrW7hR8LrbeorB+4WUtBJPNr12Jl4Eo/stGa/Y26XunI7JDxHudimDic/sMOH2SofKrwb+J46jFDeMzj33YJ3AWkVw/tYawlXLIoKl0LLwfR9C4aOzFQSCf8pFEJxKgnwIbrv2X3Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QhMXOiYLmEzw0s5ke0whqYQnYkTwzKDVL1SOiKDTfa4=; b=K7z3yjfsSScmgSHz/mxa98vTRiObLPkKQ3QLajrM5hgz7jZ4Xfx2oi6yRf+e92XR2rJvWARM1D7ngQr7kck1uknG7wX8Z6CanMyrqZS2oedoKYbbocoDMVPjhCHqJOr3iVaTSBWY2JJ5R4tu+XCmYg3D6QqBTR3XB+GvVDu4t30= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO1PR18MB4585.namprd18.prod.outlook.com (2603:10b6:303:e0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.21; Wed, 7 Jul 2021 19:06:58 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::1455:9a67:a6e7:e557]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::1455:9a67:a6e7:e557%7]) with mapi id 15.20.4308.020; Wed, 7 Jul 2021 19:06:58 +0000 From: Akhil Goyal To: Michael Baum , "dev@dpdk.org" CC: Matan Azrad , Raslan Darawsheh , Viacheslav Ovsiienko , "stable@dpdk.org" Thread-Topic: [EXT] [dpdk-dev] [PATCH] compress/mlx5: fix memory region unregistration Thread-Index: AQHXbklRKEg7ISTm50+Hrwvn+FdMO6s36cmg Date: Wed, 7 Jul 2021 19:06:58 +0000 Message-ID: References: <20210701071807.2018505-1-michaelba@nvidia.com> In-Reply-To: <20210701071807.2018505-1-michaelba@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=marvell.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0a9e5fdf-f5d9-44e1-7a42-08d9417a6515 x-ms-traffictypediagnostic: CO1PR18MB4585: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2150; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: j+UcEiPDJBEBbYrtTgQhUTBD857geyCJvJ9uI3B2cao9LQBGrrUjKWCWPdabVxBjX6huQFs7jYddfZ3Ul32zaD6/yKqxFFrGq5i0O2/uFz8IAh6g6XAnzcHaas/jFkJB0fiRjlksYCyC/HFsIW6VLwgFyskNkFG0xp8bnHHNBliM5lqSqsJCtmx25Xb8FCf95nQ5BJiEKOGbNwjuGX761IijSSb8rXD8equyZYsRLxaLhcV5MUk6WsPuv3RDCU9UAFNRhnPfe5XckPsTrl2l4aVSofRY3IRPFf88t2R3pk8BldR6yi0ZBD0TXaQlurkK3K+dtivh35xNX4HgBUyfV3siIutgmbRKrFSdU6xs4bpDlcZikd2vIEccpZvw1aJb9vBMxGdBav8g2+ic7TTpReg6p/prPbL4PrXE9QNM4wZtdSWvQ/cOoQgnuLPCyZvtE9Nj01Qo7me544GrO0xhzEamd+JOfIYBieiZeGnoPbunVo0AS3HbkBeP8Jjeoye+LZTumXyxaJJYdXpoGXv2r+irfzC9m0hcJLMDvO0laHb6Z7zF3He7XC7KJdwqj3CJDs/ry/G9lUa8YX7oWcLpU0k756kMTufJlnlfEzEttbNSOIA8ZReHvhZ+YFSb7zJu2JcrSEtPL+W+olEUSr/yQw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(396003)(366004)(346002)(376002)(39850400004)(33656002)(186003)(5660300002)(26005)(6506007)(83380400001)(2906002)(86362001)(9686003)(76116006)(66946007)(52536014)(4326008)(122000001)(55016002)(8676002)(8936002)(316002)(4744005)(66446008)(110136005)(7696005)(66556008)(64756008)(66476007)(478600001)(54906003)(71200400001)(38100700002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?xcYIQy83MEjefpESoN7oEqt5rkDoUEuadUG1zlkZFeQ77E9oHEqDqtPkHhf9?= =?us-ascii?Q?Yh1NWIhsN/HyXL+r3ZsPO+/f+2XpdWjFhRzhhMMt9yjOQRaCY8GHiTBAQPp/?= =?us-ascii?Q?kxRsKL4i4YoFndHfh1zU6WukkC2b8GL9AgllYPExpgsmlO0LjUX9Ki9o++uK?= =?us-ascii?Q?q1Vf617m85RExE6EkUhath9FLL0/KshlytfMSFniYdgBVcEjN1lYQTbBEgsJ?= =?us-ascii?Q?blXE/RbtNYCQfpullT8T8G38Q7fzd455BWLr7QII1P+tkrWL0nOsHLGbbAf4?= =?us-ascii?Q?S3FgEJUNOXHMe+i23ZemDciRlvg4/TQx8EsF23NMkh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Th3j33gfUBGmPg8K0p5q76glCXmzPGaEX+at1fg1ISNQjqVWwgl?= =?us-ascii?Q?mrO0k4UQ1OKitIi9S06eRqPqNyniIym4I3lKaR6wKSR9Ctq8PKQzD320b73b?= =?us-ascii?Q?j6+rJraBni6rWwYHIRe9m8Le?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0a9e5fdf-f5d9-44e1-7a42-08d9417a6515 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jul 2021 19:06:58.6013 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: WclRc31HC6UD9HqBWcQXfn3ej3LQHBRvi+q/WOvAOnm7EghRELoiRxqyBza7p8QfHwno1wysxyUYMGgs/omTYA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR18MB4585 X-Proofpoint-GUID: aogLENmiWZlvyQUZE7EmbeOFVM8jbXYm X-Proofpoint-ORIG-GUID: aogLENmiWZlvyQUZE7EmbeOFVM8jbXYm X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-07_09:2021-07-06, 2021-07-07 signatures=0 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" > 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. >=20 > 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. >=20 > Fixes: f8c97babc9f4 ("compress/mlx5: add data-path functions") > Cc: stable@dpdk.org >=20 > Signed-off-by: Michael Baum > Acked-by: Matan Azrad > --- CI is reporting error with this patch. Can you check?