Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3533837pxv; Mon, 28 Jun 2021 06:50:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNS2nzrAaxdrH21j0WLQLxLL2ZPvv32ieIBXzFFQJGZyt4bVUg2GwWN+DstIAYZEXBBs8X X-Received: by 2002:a17:906:48cb:: with SMTP id d11mr24385194ejt.532.1624888208482; Mon, 28 Jun 2021 06:50:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624888208; cv=none; d=google.com; s=arc-20160816; b=WjmjTd49kzrbu4Qy+V/TnPk9JLNKWRUSSPleeedJftAA/2ldR5g1KZgEWfG+2wUd1v d7FW13NbI8Iqch4bRPp0nyRhNoGw+uJwMvFLxKhwobGpbinhSzO2sklZ++nYG2Dn1uuY oVfkH3jAzXzA0P7DBYQo+bTXxRoSlwtDrlwX81i3xUBlNtGecq8cxHc3/FbjrfGPhvU1 hIR9s10lKBFxci7QzkpVdJjDUeVJHPAMbauwqFz9VRA4m9xrab837ooJyVQ8bZdxPmB0 uSMWYRL1EzOExTmSMyzIv+LJsm+Qb4IEMSkzPt6ZKHss7jz1RerCBjuNhhnozFlN09hi ZcJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=qceIscsR0qrG5qBxyFH8+s8zOb1JhNM9G4ZV0IV+llI=; b=o0zzHYYX7RcncF0s9pP9HeBLJGfWIV0SHUi6x2wfYH8rc31KjV+0T1Bvxt2K/IMGjd F8EiZbKl7yk0B+5Vk9B41UXwfLhh9hhH6Ly69t4vhBh3yXhE+zJDDBjMBqAIdfbgyQhM aqBueqi1Hzkc+uMXIGL8SfEuT8PWSWvVGjBCfd0+tMZgs8ZwUanffFc69iSXbNOD9YVZ tbmrfkHbUY3YYdCcy13sOg06huIHro8u11/j9Gvw9bTir21Cpksn7+UrFTKrJLvw6Dq8 q9hrkP7Jbn7FQ1W/DB7PU+d+qCowSfvNaaWbq5fF7ZNp01MVBuj/eAYAHBSXYHwYx67F GuPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@landley-net.20150623.gappssmtp.com header.s=20150623 header.b=Ui5tbzle; 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 s13si11788712edd.329.2021.06.28.06.49.44; Mon, 28 Jun 2021 06:50:08 -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; dkim=pass header.i=@landley-net.20150623.gappssmtp.com header.s=20150623 header.b=Ui5tbzle; 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 S232135AbhF1Ntj (ORCPT + 99 others); Mon, 28 Jun 2021 09:49:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232079AbhF1Nti (ORCPT ); Mon, 28 Jun 2021 09:49:38 -0400 Received: from mail-oo1-xc29.google.com (mail-oo1-xc29.google.com [IPv6:2607:f8b0:4864:20::c29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F634C061760 for ; Mon, 28 Jun 2021 06:47:11 -0700 (PDT) Received: by mail-oo1-xc29.google.com with SMTP id g13-20020a4ac4cd0000b029024c717ed8aeso1648015ooq.13 for ; Mon, 28 Jun 2021 06:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landley-net.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=qceIscsR0qrG5qBxyFH8+s8zOb1JhNM9G4ZV0IV+llI=; b=Ui5tbzleCKtxQLzeaeNusdncvAYbZ0YVOaGFOd9hPcTFcKVdYk3QY7gbBOjNaFJN6v BTKz1fQcFColqlgOehqK1lCndPtgfQ7g5E07dU8Ga6wHXAqFg1S62r3U7snNJAGS8awD VE0Bv+6UzQCojhJjbb+wdf5OQpg2M6RJaulStQP6nxup6C4jaL+/ljjWn1OL10iv5ofs PsOum6XwhXMAILXuiX/Xl38nrmFKYNGiN5pDMRX0LYIEDwsIsiIXxwRhXJqwufJnfwSB nUsHJ2JeGNdd6Z9YeVWdo1+VFc+QPUboRwHfLrsLGKXIak/048eDNKCJ59FydZXXbb6Z WJrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=qceIscsR0qrG5qBxyFH8+s8zOb1JhNM9G4ZV0IV+llI=; b=l/CZFyS51UPwrneYACxMpOI/SuQZYi6ahPRM44IhnJ49+Tv9koVcs6YBSHsIFTmu8X YTRsHjZwBMA9nLxIC6598KrrOXqtNNWrtecs+sNwCdoddZOcjJfQ6lc5oGcq1wxinohQ LkrDN5fshPH9NZaN5DFd5zVBokLsEQdpT9VUWFd7MN2ZpzeZmnQbI3N9zqoY0W6CFA30 PJarcpSd9OVA3otFXcF+hlQlKsqZ7PaGOdNemCx5Jd9VB4SPTqVpfG2MA41x8JOwbkRx +XDB7xGt7Pvdimdqom8FyR3JceikqCdE7K7kajBToRuUHLNMfUwAxEExjeH7LcGDBv/x YDjw== X-Gm-Message-State: AOAM531R5uAgbd4g25wS+N+axIIbt5Q3b7fn3U0GCCDDfYZg/xwNmgsK qZwWWXwtkoTtEGn+3ErYHAzaZ2mWEexmuK05 X-Received: by 2002:a4a:b815:: with SMTP id g21mr19202867oop.70.1624888030261; Mon, 28 Jun 2021 06:47:10 -0700 (PDT) Received: from [192.168.86.166] ([136.62.4.88]) by smtp.gmail.com with ESMTPSA id y20sm1619791ots.23.2021.06.28.06.47.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Jun 2021 06:47:09 -0700 (PDT) Subject: Re: dma_declare_coherent_memory and SuperH To: Christoph Hellwig Cc: Yoshinori Sato , Rich Felker , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210623133205.GA28589@lst.de> <1a55cf69-8fe1-dca0-68c7-f978567f9ca0@landley.net> <20210628133858.GA21602@lst.de> From: Rob Landley Message-ID: <4d6b7c35-f2fa-b476-b814-598a812770e6@landley.net> Date: Mon, 28 Jun 2021 09:04:19 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210628133858.GA21602@lst.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/28/21 8:38 AM, Christoph Hellwig wrote: > 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. Your plan is to eliminate the ability for non-device-tree boards to do DMA? Rob