Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp568508ybe; Mon, 2 Sep 2019 06:06:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqyxVuhrH9lXHyCU6HkGaM9g8+S1EG3M6rAEJhRrfvBNjtXa17WmMEIV7By0h8NWSee1qW1K X-Received: by 2002:a17:90a:1110:: with SMTP id d16mr13418384pja.29.1567429617182; Mon, 02 Sep 2019 06:06:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567429617; cv=none; d=google.com; s=arc-20160816; b=B/rP/z7ru1UDf+IlFexWl1M5lSb0fxTLSpdhDjUHyUCPh9NpVuynEhuOrAILqj/TCc dBTPfvYWvb079Sr1+784AqjwaA9R233B88FMYC004SQ9hLL1+vWJjLEQvhtAFReU60Jz laUPVTFyYPnD3DVo/0nPVCaMdZ4cb2KtNpoezxMgen26OiacwA2g/3C00LknUpVk1jUf ngja/09DIebVKYltH5bWMnefcTcc7xGl5E8r3xLCc+m+aO+8r2CnyOKpv/cHU/HZ3kek iW++VcrjbhVuIK52B0irf3rvKYt4ydJAskce2OsSnEz2KOMAvxs038xQz4k8sU5n6ayW yD7Q== 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=jw8Fv6wzy49CF5verrxJIhR/l1Jc+1IWvfjOczPJBbw=; b=ot2Hp9LE5x5ru5fTYa7+yx9hInncQPlnd0jf+/R78oG8dWUBurhM6/xZM2cGRSFbyI d11fDxSO8H9Cc4BdeZuJXWICtzaKyhLTLyhcLX5DRld9sh+jC29qopux15cUbs0aYG9D X2l42PBcgH3Xb8twNFJKi4kTyq1btZJYH+opbkZxoWInwdYqU/sMDHcExv6YlaoBpQr3 pZwI0Sli+DDCykXEmLb+cFzEfL6kRQW+u88hddf/JPtD1f3fkUQpKRD0UkHMv1PIk9F/ aWq2GHUyhyGoU/bkKKrT6UCBsGZycY7ofbxZ+fhs66fOVBeDF1AndYqMrQhLQAEYbtHN oddg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=PL+e1Zdr; 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 q128si14338270pfb.192.2019.09.02.06.06.41; Mon, 02 Sep 2019 06:06:57 -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=PL+e1Zdr; 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 S1730370AbfIBND4 (ORCPT + 99 others); Mon, 2 Sep 2019 09:03:56 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:36658 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730249AbfIBND4 (ORCPT ); Mon, 2 Sep 2019 09:03:56 -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=jw8Fv6wzy49CF5verrxJIhR/l1Jc+1IWvfjOczPJBbw=; b=PL+e1Zdr2JEzZT9ECWOEgUXIj PfofQ/VUSphe5QCeOTp7hVitRbcBwO5EdK72d/pVGE9Al05kGGKjA898+8hdtXjKoTctl7h0PdacC P898B+D6oQf8leL3R7qFDVwMz+UTwtptX7bm10xVhrcwZFPzA+WwvblcZokJJ9MWLL1CHVEC403k3 yZR22p/2zlSZ1dNzHE7/iT4XKcaRwmRLAmZsdsnwPPxjAOymEaUy3HVEN2o0LkkOho7mSpD7DrDA1 euVeuEZhe/LdLZ399jjWMaBG0TjH+3bM748sWpek8QJ+H81MukrKwHHfkFd0rETi4hEgJqJJIkx8x QMq+VUvQQ==; Received: from [2001:4bb8:18c:1755:c70:4a89:bc61:2] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1i4lzi-00018q-Rg; Mon, 02 Sep 2019 13:03:43 +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 v3 Date: Mon, 2 Sep 2019 15:03:26 +0200 Message-Id: <20190902130339.23163-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. Boris and Juergen, can you take a look at patch 8, which touches x86 a as well? 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