From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47D71C83F18 for ; Wed, 30 Aug 2023 18:30:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232876AbjH3S37 (ORCPT ); Wed, 30 Aug 2023 14:29:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245135AbjH3Ods (ORCPT ); Wed, 30 Aug 2023 10:33:48 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05D29193; Wed, 30 Aug 2023 07:33:46 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 0957867373; Wed, 30 Aug 2023 16:33:42 +0200 (CEST) Date: Wed, 30 Aug 2023 16:33:41 +0200 From: Christoph Hellwig To: Tomasz Figa Cc: Christoph Hellwig , Robin Murphy , Anle Pan , m.szyprowski@samsung.com, mchehab@kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, hui.fang@nxp.com, Jason Gunthorpe Subject: Re: [PATCH] media: videobuf2-dma-sg: limit the sg segment size Message-ID: <20230830143341.GA25574@lst.de> References: <20230828075420.2009568-1-anle.pan@nxp.com> <20230829150442.GA3929@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org On Wed, Aug 30, 2023 at 12:47:57PM +0900, Tomasz Figa wrote: > Do we see anything replacing it widely anywhere on the short-middle > term horizon? I think we could possibly migrate vb2 to use that new > thing internally and just provide some compatibility X to scatterlist > conversion function for the drivers. Jason said at LSF/MM that he had a prototype for a mapping API that takes a phys/len array as input and dma_addr/len a output, which really is the right thing to do, especially for dmabuf. Jason, what's the status of your work?