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 X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29314C433E2 for ; Tue, 8 Sep 2020 09:28:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D821121D42 for ; Tue, 8 Sep 2020 09:28:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728925AbgIHJ2e (ORCPT ); Tue, 8 Sep 2020 05:28:34 -0400 Received: from verein.lst.de ([213.95.11.211]:52252 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728705AbgIHJ2d (ORCPT ); Tue, 8 Sep 2020 05:28:33 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 7792768AFE; Tue, 8 Sep 2020 11:28:31 +0200 (CEST) Date: Tue, 8 Sep 2020 11:28:31 +0200 From: Christoph Hellwig To: Aaro Koskinen , Tony Lindgren Cc: linux-omap@vger.kernel.org Subject: omap1 and __arch_pfn_to_dma Message-ID: <20200908092831.GA20123@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Hi Aaro and Tony, omap1 is the last arm platform implementing __arch_pfn_to_dma and __arch_dma_to_pfn. Any chance you could help converting them to use the dma pfn offset in struct device [1] instead? Thanks, Christoph p1] which we are also reworking to support multiple ranges, but I can help with fixing that up easily