From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C8105C8CE; Tue, 30 Dec 2025 11:47:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767095223; cv=none; b=XNIgyo3kB3qlC+hWsavmDr1TndIVZ1qF62UiF36l8cD3OAHsmj3ZCMJg7rDK5FQ62ya8k3jfzDLv8+t3pcINBs+j09fW57CvuFWYl0Ew6avzWSHqmLqcn+FL/hRryIATBjbrCuG+AN2CogJGBvicyKxFmRrq+z+sLiw5WVF2Vwk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767095223; c=relaxed/simple; bh=g/Osl+TvnXzyea68sqODUuVsxskQBDKjfIXWUabyoHA=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=u6V5U8D5/HlQ2UZH75UZogdtUJqHoqn+g4BN0BHvLUIORHA1SoBC5fEChIjal/6+f5UQGyEAsnNlt/CDkwzGiZuHCc4Fj2ixhuDjTWR0aRGhLYysdVKBV/kDRW69SPD9Kx1YmC7OY8yHaxjIVNvLHd2MP+phlaxsZ+nbD+aTPvA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=V6zuIbsG; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="V6zuIbsG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D441EC4CEFB; Tue, 30 Dec 2025 11:47:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1767095222; bh=g/Osl+TvnXzyea68sqODUuVsxskQBDKjfIXWUabyoHA=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=V6zuIbsGGSsPrcZP488SURbiA6QnMdTfFr0RvTGn06Pz2XBq0M27BlcB/H8Njjsnr uLjxymkRuLk57pvwyTVZp3xYXumlfKZ/VD/wtnx7sECJde3+nXNoXLLWgL+Wq7pAwC /zAcDAzMM6Jv8I8E7+8jJ6RkjBYnaRIL9mMhzAO5ua4hyqDFAprMHg7ksDzV0cnlZ9 wMro9I9QFkWgmqXTs4SbKVVu85HwUdI+oO0/uAgb//98BB69n2MwovLbVSuxqvWe4K 1kkz+7F6AZwBTa0JwT7EM/XRSIq4vbaslepacvVWz11FmDawWyePqRGUFiIw0051iy CCSjSUcDCqSeQ== From: Leon Romanovsky To: Thomas Fourier Cc: stable@vger.kernel.org, Selvin Xavier , Kalesh AP , Jason Gunthorpe , Somnath Kotur , Eddie Wai , Sriharsha Basavapatna , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20251230085121.8023-2-fourier.thomas@gmail.com> References: <20251230085121.8023-2-fourier.thomas@gmail.com> Subject: Re: [PATCH] RDMA/bnxt_re: fix dma_free_coherent() pointer Message-Id: <176709521920.596503.3669039368865843149.b4-ty@kernel.org> Date: Tue, 30 Dec 2025 06:46:59 -0500 Precedence: bulk X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.15-dev-a6db3 On Tue, 30 Dec 2025 09:51:21 +0100, Thomas Fourier wrote: > The dma_alloc_coherent() allocates a dma-mapped buffer, pbl->pg_arr[i]. > The dma_free_coherent() should pass the same buffer to > dma_free_coherent() and not page-aligned. > > Applied, thanks! [1/1] RDMA/bnxt_re: fix dma_free_coherent() pointer https://git.kernel.org/rdma/rdma/c/fcd431a9627f27 Best regards, -- Leon Romanovsky