Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp857875ybi; Fri, 14 Jun 2019 04:38:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqyKdH63l7ZFdoWIH/mCbgtA4BCtoewEQp51K+p0TZqZnr2hwwHfLzzFQ3f5uJzH1mVXI28M X-Received: by 2002:aa7:9aaf:: with SMTP id x15mr47265137pfi.214.1560512287318; Fri, 14 Jun 2019 04:38:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560512287; cv=none; d=google.com; s=arc-20160816; b=fl8kI2ojBB2Zgr2tTjRtytZOKAedxs64iMQMpYyjvhfTSfIBHYe1JZ5stPsZfwpTjg YX8oyVG3ebAZC3xYWhZAyifqnd4ubrCYGMCVrrOa/2xuxdq/BogYIiDRGC/ejh2yBNas +QXxp7hATRUSFcnXFH/JzXk/GQpFL1xw7OAsLrbfRC6n+DEn3Gbf2dk3hEA5fnL9I7bP eX9h0dvbEhv7wnrBAgDkiXQPGMy4RA9Jbb1Xz1d5cAAyQ0ZfB3Gur1YO/fl49az2AYTx avhmtbgT/+X5cMvPpnYRkgahpiw5irKHEkkUw3AqpDW0iIuPMdXbq4IVMXOMm7tPw9U1 kLRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=iYWTfHNOGy0zCm7qjiECEcfyYn0UNGZv0fcAcGdSdgg=; b=rI3xaJCZD/xBlQTxZSK0grMvzHNms9SXlYSlP2O+HcqKshJlKR0zYoADCOq4KMK48m 0Us0IFoq9l3cmhNaTPHUgB10hb19X7lK14SVuuALAIVZjHNyTyh+p5iEH+B8rbOzSYno nXZnqqgLrJ2Zd3Du4n0i8sWg+HAdF70WpG56QW1mnlwo4aw9WZKZ+rEAgpOiQ6qmKIRM UkEBDmW2pDJ4PRqdeVGVQBShx47F1ANskXEoxOF05QVYxsrbsa9ogcSF+5/jSj3afVSO TP+FP072KNJbWJl5tCMbgQZJmOT0Gf03w5zLetWIkm+Jr4FDEyq4PtRNQYAzWcUSE/g1 AXNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=o6LPSm3Y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m129si2162738pfm.118.2019.06.14.04.37.51; Fri, 14 Jun 2019 04:38:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=o6LPSm3Y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727589AbfFNLgH (ORCPT + 99 others); Fri, 14 Jun 2019 07:36:07 -0400 Received: from mail-qt1-f182.google.com ([209.85.160.182]:39458 "EHLO mail-qt1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727054AbfFNLgG (ORCPT ); Fri, 14 Jun 2019 07:36:06 -0400 Received: by mail-qt1-f182.google.com with SMTP id i34so2007631qta.6 for ; Fri, 14 Jun 2019 04:36:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=iYWTfHNOGy0zCm7qjiECEcfyYn0UNGZv0fcAcGdSdgg=; b=o6LPSm3YPDMrL/3E2NtKGfuENLZmMWBdAt0M2fXDRjTnM/hpNZZD+gQx4nuzZRErRi OOXafc/BXwn0ssoqtMNrRgteXvsZ9xAn9QCgJjykO7RCluQFxU248dF6f0gsXfVgDHhP trxyZq65xhrp0csV+D/zOKyYqleu7RIq0madxSfNVQW1qIL/UK4qUV1OFM0dwJf4YXvR bI5jwS6oaZJ3+a3+myzITXwleNevb9W5SCrLkZM05SU8z3xCk3LixFOIvODGbEXUMe0Y Hbl5Q0UCcaVzqBAHmIEpHRa57mo6U0i5aO1uDLd2NJTI9uLJ1jQ8pufjjrNYqf7PyLNr KWxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=iYWTfHNOGy0zCm7qjiECEcfyYn0UNGZv0fcAcGdSdgg=; b=sP+H4DDqiqG7FS1tJ7l452Vq210TfJaUIx6UmehKIsm+UIvne7Lum5v7wuqaIktBGj 6BVyeW5QEY5Sdr9sadlYQQXYJr9c2D1zSwgXb4c0hpkicgIc4Bhj14t3OoiJtMBjhtTP Tq4Xzh6ZI0MT8u9CKHmT2nOztzgvAjwoASSPY5C2RCfFr7nNsolWgHWlSVlyLjoVPS11 vgVCNT8pQ6ev/SLrIDPAKtPOEOpqG93EXnhSyKLYW7SMRgcERyHrOmgczaabtkpeJ9Mb Ib5lYmKb7n1bb6hU1U0Gu335Q8KSaELWAVBC1/gRKQ7sRGp3A5W35UQdWjC+JbndoPZ+ LT6g== X-Gm-Message-State: APjAAAUWM/8dCJPXIzwr0hYnh6o2I+UszbvKfNU9NKlRSEgxzuh1fO8i 9PXN9bexl6EiZ7K0WWOaAAoH6ZiDo3XjdaujCyc= X-Received: by 2002:a05:6214:2b0:: with SMTP id m16mr7805135qvv.23.1560512165862; Fri, 14 Jun 2019 04:36:05 -0700 (PDT) MIME-Version: 1.0 References: <20190614100928.9791-1-hch@lst.de> In-Reply-To: <20190614100928.9791-1-hch@lst.de> From: Greentime Hu Date: Fri, 14 Jun 2019 19:35:29 +0800 Message-ID: Subject: Re: [RFC] switch nds32 to use the generic remapping DMA allocator To: Christoph Hellwig Cc: Vincent Chen , iommu@lists.linux-foundation.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christoph Hellwig =E6=96=BC 2019=E5=B9=B46=E6=9C=8814=E6=97=A5= =E9=80=B1=E4=BA=94 =E4=B8=8B=E5=8D=886:09=E5=AF=AB=E9=81=93=EF=BC=9A > > Hi Greentime and Vicent, > > can you take a look at the (untested) patch below? It converts nds32 > to use the generic remapping DMA allocator, which is also used by > arm64 and csky. Hi Christoph, It looks good to me. I just verified in nds32 platform and it works fine. Should I put it in my next-tree or you will pick it up in your tree? :) Tested-by: Greentime Hu Reviewed-by: Greentime Hu