Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp774600ybi; Fri, 14 Jun 2019 03:10:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqyp+QV3nqlwEzmqPpQONGdHqs8pjETyqtQ2LNALEBwEo/n/892clgVATnWpmpfvUmOAk/vM X-Received: by 2002:a63:52:: with SMTP id 79mr34702982pga.381.1560507025150; Fri, 14 Jun 2019 03:10:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560507025; cv=none; d=google.com; s=arc-20160816; b=BGQon539NzKyLGtHI6jM5HKXxTSAsTk83IgD2aDkjcX/J2zwLIcXIagGuWD1iz2+kP 6qlA2mhQTnXAulgtTJ5QTWC5VVVIK3zf1DdDIp+TAAegYJP/h8wawAu+9FRmIM5VGh2i WQzmsSxYfSRTXiMacfsKqN6XR+wSRv3vEpJgtBdhskD6svYGEHOduoqNBSwVw587pADQ uucJg0nXn/lmE5vBpYF1cZzTfPhcgISvPpUa6q8xn3pGlSX7NvInY5QrUQ/XtemUUolL j2L/TOYuR9sKWzyInJG+uj+pfay85L3x7Yb2GWOVYFD21bC63G3OZ6VQOTzUxMdFnJRP IRJw== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=YuvfDmTRlrw28HgCcbxWCLme+ZpdUXZ77St9YzhMCWw=; b=R77JZEQ3BrAZU6MZ8eFRdzXRVgpEhyqxfI/T0sijLTUb+Ujg6QRGCBDRy7UiAFTT5H QWGkJXd3OndBzMZhraWmzlQxJsV115SdHCKYemgk2/x5OFlfULcIW+ltATEqHSDJJWpD idSN/XNRR7ONZXvj58m81eCEknD2hw6gOinlfbaE0A4MXPWYrDZYRGzmjR8R5Ccl6/m0 VG5Mj+mU6QPn9ZfI4d3dYyDo3mhpvWtwPI24MoPk4wy3EEF4SAk8/Wf4HH2ay84SxLvi XOgF3aa9jRSkHc3sOMl22k98JkhrzvxChG7mShKHcnId+Zw55y41Dl9GQB/kRbkqWgT1 8Srw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=IXDbLqgT; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l70si1921709pje.68.2019.06.14.03.10.08; Fri, 14 Jun 2019 03:10:25 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=IXDbLqgT; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727471AbfFNKJi (ORCPT + 99 others); Fri, 14 Jun 2019 06:09:38 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:48540 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726859AbfFNKJg (ORCPT ); Fri, 14 Jun 2019 06:09:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=YuvfDmTRlrw28HgCcbxWCLme+ZpdUXZ77St9YzhMCWw=; b=IXDbLqgToWu6+SArZBz4mZAcV nNd5zi+VwoF0UG1YtG+D7ozFNxiUtyoC4WV4gEi3r3ad0Lj5XN8GbWQa/KNJ9DXHo+flRA5QSiZ/S k7T19ABuAfMaiuuEYhvHX/S8sfg7lUC1CxDtrMCedY80uHZBkuE5MsmXtbUlmIONWkZ7flCvw1yDQ XvylQaO6KMH8JIK2tVT9MCGIDTiIVzY1sBziAK7C6AIIepQtMppPy5xaDeOfZ4RXXejhfAGgPdHpL MD2dJKR+wpAmEF8O6bDGPSlE/2DLUjxZOGVlAYTHejDI8gRVQTNEndMqYgCUTDY9l9H20WVwPhjry aU7ZXabcw==; Received: from clnet-p19-102.ikbnet.co.at ([83.175.77.102] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hbj9I-0007sR-QG; Fri, 14 Jun 2019 10:09:33 +0000 From: Christoph Hellwig To: Greentime Hu , Vincent Chen Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: [RFC] switch nds32 to use the generic remapping DMA allocator Date: Fri, 14 Jun 2019 12:09:27 +0200 Message-Id: <20190614100928.9791-1-hch@lst.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.