Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4760696yba; Tue, 30 Apr 2019 04:04:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqxiKof9ojyUeAf7S1pBPXu2YcLl7qtQAG6J4hWkiS56YCB2/8I7s0vI/WnBxTdsiqJQN6jF X-Received: by 2002:aa7:8458:: with SMTP id r24mr19874408pfn.231.1556622250891; Tue, 30 Apr 2019 04:04:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556622250; cv=none; d=google.com; s=arc-20160816; b=M18dFUOkcQtc8fsTdqq0Vf2EAhgrdWi4jkPTeqpXeCstv1uGn9isLi0V+q6AZD0/nB cL+Ru50o3tEI93/ElFkjtu26X61rZpSMAK31MFhQp+xqRrT96wVM+54L1RLj5PMu887T Amgai7aQoji8QYC+CPo31iWVGN7nuv6h76Envl5MAb/Ab3TFXjO8TWtlPw4Vy3YwLZfF YFLyCXX/K2qUKm0AbgrbD+CggAhDTVGEKv16BlRNQgciUQmQe78hxEMniLwY80m464fi 812qhgVx6bxkRP43dz66HNnQoZ3adDrUNpk41XrkPB3JumaLUiCZJ8021r9rCKP8N+Sl FWwg== 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=PAuk9r9abU+3dCJ7MGM4b0v1HEZtMK1t3kVmT53GYTk=; b=zUdgx7X5T96qKGnd5prYgTQEm4KbydStFXxArWeVTaUktYXUG1TQggXESVNU4HSRkp 5Mlm/gGkT48yb4MZKByq7kslXxOsIn5UN7gdtMApte/erpeQ2Z8q7b4FD1gPIINXyIt5 BuWNYtUZxqzREdpa/KKwUpCM8czoKMIycn5YRUlb/9g6NE/+W+MuyWG0MnhNUymLyN4o 17jvOZAxFfkE7y+nEmbYZQ7HbE9cp5cLhlJ+URU1c3gP2BQZoNgEIWIIxR+UiJe9iu88 G+gCObdK6HuC0jGfQXVNNvOLzCPgGvgOaj1dOtps8vCKshFOdqgCxPXZttmnZbDipnGW ZU8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=baoWPhmm; 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 o70si37220727pfa.33.2019.04.30.04.03.53; Tue, 30 Apr 2019 04:04:10 -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=baoWPhmm; 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 S1727491AbfD3LBN (ORCPT + 99 others); Tue, 30 Apr 2019 07:01:13 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:43184 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726646AbfD3LBN (ORCPT ); Tue, 30 Apr 2019 07:01:13 -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=PAuk9r9abU+3dCJ7MGM4b0v1HEZtMK1t3kVmT53GYTk=; b=baoWPhmm7krqFeob9riojtfuO CYckS+yO4JyaBL3bHVkCqG90pyiYW52H+sbi63c3dAbKAIZ/ILLKhekzKXYE1/beWP+Qjn2c8zIjc OwmTY/zEDh1LIDSGkFjwgTFvnsdP4HpVOpvY6XZYXdnrRdl5pwABT1MBFbLMtpP8GoIisqD5hZjhf QEKNB5lmBx/6adfw1Dka4bg2huZeFLXdefqqRBAnSU9w554+5WFMKuJOwlZnd3x8FSdMwWI9O01Fu SBNuZa/oC5RnLerY55f0/oU1wPwHV/FQk9Et3pIwJlrz69/UhWRHmlSbRpiYK8j5pPLham6Fzz95b tr1KcrGIw==; Received: from adsl-173-228-226-134.prtc.net ([173.228.226.134] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hLQVZ-0000GR-R4; Tue, 30 Apr 2019 11:01:10 +0000 From: Christoph Hellwig To: Ralf Baechle , Paul Burton , James Hogan , Ley Foon Tan , Michal Simek , Bartlomiej Zolnierkiewicz Cc: linux-mips@vger.kernel.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org Subject: provide generic support for uncached segements in dma-direct Date: Tue, 30 Apr 2019 07:00:25 -0400 Message-Id: <20190430110032.25301-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 all, can you take a look at this series? It lifts the support for mips-style uncached segements to the dma-direct layer, thus removing the need to have arch_dma_alloc/free routines for these architectures.