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=-3.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 68E50C43461 for ; Wed, 9 Sep 2020 05:55:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 33F8921941 for ; Wed, 9 Sep 2020 05:55:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725983AbgIIFzQ (ORCPT ); Wed, 9 Sep 2020 01:55:16 -0400 Received: from muru.com ([72.249.23.125]:44310 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725807AbgIIFzQ (ORCPT ); Wed, 9 Sep 2020 01:55:16 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 4866A80A4; Wed, 9 Sep 2020 05:55:15 +0000 (UTC) Date: Wed, 9 Sep 2020 08:55:52 +0300 From: Tony Lindgren To: Christoph Hellwig Cc: Aaro Koskinen , linux-omap@vger.kernel.org Subject: Re: omap1 and __arch_pfn_to_dma Message-ID: <20200909055552.GA2747@atomide.com> References: <20200908092831.GA20123@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200908092831.GA20123@lst.de> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Hi, * Christoph Hellwig [200908 09:28]: > 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? Sounds like a plan, however I don't have currently access to my omap1 devices and won't for about a month. Aaro care to look at this? Regards, Tony > p1] which we are also reworking to support multiple ranges, but I > can help with fixing that up easily