Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp797404ybe; Thu, 5 Sep 2019 06:11:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqxwmWXq1Ja7HfzoX1ohg5iHMwivEsQR6496ilFa+LoqvtkE8U+4eRA5am4cG4dxfNPP27r0 X-Received: by 2002:aa7:9343:: with SMTP id 3mr3645471pfn.145.1567689067970; Thu, 05 Sep 2019 06:11:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567689067; cv=none; d=google.com; s=arc-20160816; b=WbniR+x2DhjFnqb5iTmmmW2jLjeoOKT6i7jx9EiEjDtSrsJnW89Y6F9skIlzXcPomA fBgkZvOtAhgF8ebdF13BOtXqCQoB9hcmfUYDDMokJojLJ90MoUAkdaakkGSHHlu4A66K jGkNaHj3Bhgp0SkAWtEP8+F2raWFHqShGv/VF8xRTUi80Y6tkuftrFULIQlsB3Yfm02q vZWDc+QRgdoCgZO2Pdh7GGsXT3gvonYpESnIE4ADooEmxdGbgJ8KX7w6c1484l7ViRwa yr/LulIw1kG82QSZ4oHCL29lvfqku+hMboZ+IdrUI98IasJsAYSgAi60YApsCuXaJX8V oGYA== 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=PcPa5IlnDPH8tm4OAmhfwwgRlNISzvs+UWn9umBpAfg=; b=cgDv+Ab3tr9Wms1JGDmsZ7W1UzPBo0ift1UGhvMDwIJvu7TcRar4qFIQa3tgA0ACsx 4++y15SeXRACAH8h9w/9duQrOqIklDdEmlXHFhS9aMkUWsRLNGcDG0Nbfu7UAfAqpyhQ 8n0bN91O45MAICp08JL93Z76x2BcY+Iyv+8WqckfV18rI+WDKLNgDfmLpMI8bug4ph2k 2NAlsWeMo2A9c7iEqZd2GgyxmNMsyUnB0HraNzw2X4/odXgvmT+5I3QMIszlaX86+Kny oWWPv5/YOOIxk2i13HOjuDnHSsXaZUrT5dfePxkKx5Os/m3yMeWkmaC4IQsKbJZBg2EV ryJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=oHktuR8r; 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 t1si1844878plo.8.2019.09.05.06.10.51; Thu, 05 Sep 2019 06:11: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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=oHktuR8r; 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 S2388585AbfIELg0 (ORCPT + 99 others); Thu, 5 Sep 2019 07:36:26 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:45728 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732712AbfIELg0 (ORCPT ); Thu, 5 Sep 2019 07:36:26 -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=PcPa5IlnDPH8tm4OAmhfwwgRlNISzvs+UWn9umBpAfg=; b=oHktuR8r49WzS31A+UiLvH2Z1 NOyMpC+gF++rhCh0op7LqLwwAWVUNUm2SQ9KmfLw9Pn/jUxylg5DwsGYh3+9dzQi14KQdNMBbj9oc doMl3phBErpwrkl1GIePI1UGZRc2kIdHNs44uBX4QikSp831ZWfdwCW4SV0WZ2Dnd43ncD/uZM+J2 /Rw7f9H5PeR8pjZMTjToV/ZWxAE/xpX2xJSe5VGnQdi5AWvDDfwFt8fHgPIJMw1JPMcO2WHpzvs14 eaEIYtaQygNOOsdigW27oG6DgRt17ieKZVa5HK7Ouw9qXpBM1CF3SwzHnSMOjBiYRp+Lhz2szCjNB xKIvE8g0w==; Received: from 213-225-38-191.nat.highway.a1.net ([213.225.38.191] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1i5q3o-0001wn-Rm; Thu, 05 Sep 2019 11:36:21 +0000 From: Christoph Hellwig To: Stefano Stabellini , Konrad Rzeszutek Wilk , gross@suse.com, boris.ostrovsky@oracle.com Cc: x86@kernel.org, linux-arm-kernel@lists.infradead.org, xen-devel@lists.xenproject.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: swiotlb-xen cleanups v4 Date: Thu, 5 Sep 2019 13:33:57 +0200 Message-Id: <20190905113408.3104-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 Xen maintainers and friends, please take a look at this series that cleans up the parts of swiotlb-xen that deal with non-coherent caches. Changes since v3: - don't use dma_direct_alloc on x86 Changes since v2: - further dma_cache_maint improvements - split the previous patch 1 into 3 patches Changes since v1: - rewrite dma_cache_maint to be much simpler - improve various comments and commit logs - remove page-coherent.h entirely