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 DECDD455AD for ; Mon, 15 Jul 2024 17:29:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D6FCF40A71; Mon, 15 Jul 2024 17:29:07 +0200 (CEST) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) by mails.dpdk.org (Postfix) with ESMTP id 06B4240BA4 for ; Mon, 15 Jul 2024 17:29:06 +0200 (CEST) Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-52ea2ce7abaso7538963e87.0 for ; Mon, 15 Jul 2024 08:29:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721057345; x=1721662145; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YmOlCsDsc7hSAR2D749NeHxin5hekC55NodPijFGx+c=; b=WqSuEpLtOunrv70CpUx2iBmpbJDT/JaX/6z+t70BZKE/D/JinYpMOYv6UEeUkHNla8 s/XzdmMA/NDPmQle3t1j65hOvAqctUIQ9GXkYyVRnQsTYNb/zVVVJAJd6qfh/cYH9HkF hXC1ol6epnQNdSOktRUdFMvyhpPr+ufQsO57QhQLdDOgCjbmXjp1r+jUZ0msxroPJYlK XeTKJmYHcc2y4WX6Z32QVjAFBgYutOfg8oKndxHWfd42AxmY5Mz7jF5wGDunr0ZYpT3Z Qhw3axDHpZ0PKDFrxhNRbFt9QdCmm7fv7V+QaWqlmAW0OPUzzyzGpRsX6RE7ibmZYEh5 T46Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721057345; x=1721662145; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YmOlCsDsc7hSAR2D749NeHxin5hekC55NodPijFGx+c=; b=WCCaXVwlbxHwjON23Xk82kpjz8G98M2CG/y3t+IFF41/J6CmcQwgIiYKjDeUnH6t8q V+UZTFOnxgyXkuwFCTYyG+6Zgc0eF/t3B/QLhjFgxI4YE7QCFNFP0gxvz2heESCUBXKQ PruPB8UfYXwx7JYFdba5pAAes+FPepv1w7KJg4CNq3+54jK5Zj5mtM3heJDczdXmczxg SygoV8yA9MqFb6x/thF3Kjmj7EKqmGLz6ZPO7RQHmrBCvvm6hSUU4SAMv6dg2LWRQqJL xSI6cFSHuE3nflKPcCFTpQs5FH31sTMiZjuVtY8yJmRvClf5G8vmELKz/CktJ6f22rEL jG6w== X-Forwarded-Encrypted: i=1; AJvYcCWEZABMchu5RZPJEa5aN3JdsoWcL0C7ZwvfkS/YPKdkFuju6Y6t6gzgQvULAtmVSN0+c7QLyx3Hu4aUQ2FsWOk= X-Gm-Message-State: AOJu0YxAKOdPZ7uuG0uXhpPKy6q9jlNruTw7Q2npKAqlAvwDFBMUxFDz RP1y94BJhO4OQCA9EOLuqfkMC1cpjJhkpOvc36Ds0iKkwFEvctYwLoCTdfyw X-Google-Smtp-Source: AGHT+IEFQSjulPdleBMYk3fgZF1huEBuAWg5fF3kVNd4AtKi0Vfv6VVfnHZ6eP/xMRvqYOfVUmJ/6Q== X-Received: by 2002:a05:6512:402a:b0:52e:91ff:4709 with SMTP id 2adb3069b0e04-52eb9994adfmr15137959e87.21.1721057345404; Mon, 15 Jul 2024 08:29:05 -0700 (PDT) Received: from localhost ([137.220.120.171]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-427a5edb41asm90525985e9.36.2024.07.15.08.29.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jul 2024 08:29:04 -0700 (PDT) From: luca.boccassi@gmail.com To: Gagandeep Singh Cc: Vanshika Shukla , dpdk stable Subject: patch 'common/dpaax: fix IOVA table cleanup' has been queued to stable release 22.11.6 Date: Mon, 15 Jul 2024 16:26:15 +0100 Message-Id: <20240715152704.2229503-37-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240715152704.2229503-1-luca.boccassi@gmail.com> References: <20240624235907.885628-81-luca.boccassi@gmail.com> <20240715152704.2229503-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 22.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/17/24. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/041e6663bd8ed4da45cd30e24b96a7494c953c53 Thanks. Luca Boccassi --- >From 041e6663bd8ed4da45cd30e24b96a7494c953c53 Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Wed, 10 Jul 2024 14:25:29 +0530 Subject: [PATCH] common/dpaax: fix IOVA table cleanup [ upstream commit 3a3cdff440fe6b98b95f798caf7a4583a49ebe08 ] Fixes incorrect structure free. Fixes: 2f3d633aa593 ("common/dpaax: add library for PA/VA translation table") Signed-off-by: Gagandeep Singh Signed-off-by: Vanshika Shukla --- drivers/common/dpaax/dpaax_iova_table.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/common/dpaax/dpaax_iova_table.c b/drivers/common/dpaax/dpaax_iova_table.c index 9daac4bc03..d2a78f4c19 100644 --- a/drivers/common/dpaax/dpaax_iova_table.c +++ b/drivers/common/dpaax/dpaax_iova_table.c @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: BSD-3-Clause - * Copyright 2018 NXP + * Copyright 2018-2023 NXP */ #include @@ -255,10 +255,7 @@ dpaax_iova_table_populate(void) void dpaax_iova_table_depopulate(void) { - if (dpaax_iova_table_p == NULL) - return; - - rte_free(dpaax_iova_table_p->entries); + rte_free(dpaax_iova_table_p); dpaax_iova_table_p = NULL; DPAAX_DEBUG("IOVA Table cleaned"); -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-07-15 16:19:36.547200055 +0100 +++ 0037-common-dpaax-fix-IOVA-table-cleanup.patch 2024-07-15 16:19:34.532205695 +0100 @@ -1 +1 @@ -From 3a3cdff440fe6b98b95f798caf7a4583a49ebe08 Mon Sep 17 00:00:00 2001 +From 041e6663bd8ed4da45cd30e24b96a7494c953c53 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 3a3cdff440fe6b98b95f798caf7a4583a49ebe08 ] + @@ -9 +10,0 @@ -Cc: stable@dpdk.org