From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753756AbcKIVVD (ORCPT ); Wed, 9 Nov 2016 16:21:03 -0500 Received: from mga04.intel.com ([192.55.52.120]:10589 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751282AbcKIVVB (ORCPT ); Wed, 9 Nov 2016 16:21:01 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,615,1473145200"; d="scan'208";a="784532123" Subject: [swiotlb PATCH v3 0/3] Add support for DMA writable pages being writable by the network stack. From: Alexander Duyck To: linux-mm@kvack.org, konrad.wilk@oracle.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 09 Nov 2016 10:19:57 -0500 Message-ID: <20161109151639.25151.24290.stgit@ahduyck-blue-test.jf.intel.com> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series is a subset of the patches originally submitted with the above patch title. Specifically all of these patches relate to the swiotlb. I wasn't sure if I needed to resubmit this series or not. I see that v2 is currently sitting in the for-linus-4.9 branch of the swiotlb git repo. If no updates are required for the previous set then this patch set can be ignored since most of the changes are just cosmetic. v1: Split out changes DMA_ERROR_CODE fix for swiotlb-xen Minor fixes based on issues found by kernel build bot Few minor changes for issues found on code review Added Acked-by for patches that were acked and not changed v2: Added a few more Acked-by Added swiotlb_unmap_sg to functions dropped in patch 1, dropped Acked-by Submitting patches to mm instead of net-next v3: Split patch set, first 3 to swiotlb, remaining 23 still to mm Minor clean-ups for swiotlb code, mostly cosmetic Replaced my patch with the one originally submitted by Christoph Hellwig --- Alexander Duyck (2): swiotlb-xen: Enforce return of DMA_ERROR_CODE in mapping function swiotlb: Add support for DMA_ATTR_SKIP_CPU_SYNC Christoph Hellwig (1): swiotlb: remove unused swiotlb_map_sg and swiotlb_unmap_sg functions arch/arm/xen/mm.c | 1 - arch/x86/xen/pci-swiotlb-xen.c | 1 - drivers/xen/swiotlb-xen.c | 19 +++++--------- include/linux/swiotlb.h | 14 +++-------- include/xen/swiotlb-xen.h | 3 -- lib/swiotlb.c | 53 +++++++++++++++++----------------------- 6 files changed, 33 insertions(+), 58 deletions(-) --