Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3671682pxv; Mon, 28 Jun 2021 09:55:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVJN4OMCn54+Sz+3LP0fesJHAbifmPikE94ff+a25NOO1PcDDl/yIgFdp8HfGY3iG2Ah85 X-Received: by 2002:a5d:8d16:: with SMTP id p22mr336822ioj.90.1624899322054; Mon, 28 Jun 2021 09:55:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624899322; cv=none; d=google.com; s=arc-20160816; b=PPDIM1D69b0UjouseEA5S1nE3N6d+x/cZLgzMP048S1e8Q5ZfKlTiFd4xlfnRqrKMG JqUE8r3IHUZ9ONcXA4F2+o48/f6Fq14iWtb4y97GSuaAS4eEKk8hSnxnXwX46mMOggJI tMuDFj5vK/hCTQASCuL64dNsavz8QloeYDrRxaMEt3i27FO2I9o6Qdp36sCvIZHJpUSr S6LO48/FhkcWR5LcnBhl1zd5cawcSgQVEABdt7VlDlFJJcXwNIuLDpver8p+FOSgrFnM 9vfgSvrnRhDXx9o52KFOqyDsO/Dubz2HqD+1xB50QiF+FpuBnDqnQ++4OydkH4poKOTC GBEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=IoWugZi/Hv0T9OZ+q0LHRoNPNYaVC8sA8vKYvfshBrc=; b=T+/fizPfQIr9lErSgad2g34FJAn2HpIEjxp88bWWKZqoAr9J9W6/oBRZepWA6hF7kv S/3l24kDwKKA3bOZrKNTXPTgD3bbasu1MtQseGIpi4K6khKwkLkqIro/3Kc+Wh3rfEuJ wz3pa/AxQ0RX2M8jqVqYs4Bu1iBDoqhi3t9DQDsBjP8hnFhPpazSZu4n6N2i5PUtKc+Z MUr+fwFS8mH+vqZz7IM8La2vZusO/P4GHCuAAk5vETDNBs3j3bm1rymSqNst8C0YZXsi s8nZ9KsgBdMnErd7f8VhZAasn4hXTimqk21Wq6wlluOpVRJ8WzbV7t3Z2KtuPxLxrWNX tayw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f23si18658354ioo.70.2021.06.28.09.55.09; Mon, 28 Jun 2021 09:55:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231920AbhF1Nlb (ORCPT + 99 others); Mon, 28 Jun 2021 09:41:31 -0400 Received: from verein.lst.de ([213.95.11.211]:36508 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231955AbhF1Nl1 (ORCPT ); Mon, 28 Jun 2021 09:41:27 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 258586736F; Mon, 28 Jun 2021 15:38:59 +0200 (CEST) Date: Mon, 28 Jun 2021 15:38:58 +0200 From: Christoph Hellwig To: Rob Landley Cc: Christoph Hellwig , Yoshinori Sato , Rich Felker , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: dma_declare_coherent_memory and SuperH Message-ID: <20210628133858.GA21602@lst.de> References: <20210623133205.GA28589@lst.de> <1a55cf69-8fe1-dca0-68c7-f978567f9ca0@landley.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1a55cf69-8fe1-dca0-68c7-f978567f9ca0@landley.net> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 26, 2021 at 05:36:08PM -0500, Rob Landley wrote: > On 6/23/21 8:32 AM, Christoph Hellwig wrote: > > Hi SuperH maintainers, > > > > I have a vague recollection that you were planning on dropping support > > for non-devicetree platforms, is that still the case? > > We'd like to convert them, but have to rustle up test hardware for what _is_ > still available. (There was some motion towards this a year or so back, but it > petered out because pandemic and everyone got distracted halfway through.) > > (We should definitely START by converting the r2d board qemu emulates. :) > > > The reason I'm asking is because all but one users of > > dma_declare_coherent_memory are in the sh platform setup code, and > > I'd really like to move towards killing this function off. > > Understood. Is there an easy "convert to this" I could do to those callers? Well, the replacement is to declare the device memory carveouts in the Device Tree.