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 D99AEC433EF for ; Mon, 9 May 2022 06:26:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230238AbiEIG2q (ORCPT ); Mon, 9 May 2022 02:28:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233816AbiEIGUK (ORCPT ); Mon, 9 May 2022 02:20:10 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 470558CB00; Sun, 8 May 2022 23:16:14 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id B429D68D05; Mon, 9 May 2022 08:15:53 +0200 (CEST) Date: Mon, 9 May 2022 08:15:52 +0200 From: Christoph Hellwig To: Serge Semin Cc: Gustavo Pimentel , Vinod Koul , Jingoo Han , Bjorn Helgaas , Lorenzo Pieralisi , Frank Li , Manivannan Sadhasivam , Christoph Hellwig , Marek Szyprowski , Robin Murphy , Vladimir Murzin , Serge Semin , Alexey Malahov , Pavel Parkhomenko , Rob Herring , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , linux-pci@vger.kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org Subject: Re: [PATCH v2 01/26] dma-direct: take dma-ranges/offsets into account in resource mapping Message-ID: <20220509061552.GA17190@lst.de> References: <20220503225104.12108-1-Sergey.Semin@baikalelectronics.ru> <20220503225104.12108-2-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220503225104.12108-2-Sergey.Semin@baikalelectronics.ru> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org So I think the big problem pointed out by Robin is that existing DTs might not take this into account. So I think we need to do a little research and at least Cc all maintainers and lists for relevant in-tree DTs for drivers that use dma_map_resource to discuss this.