From: Alexander Duyck <alexander.duyck@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-mm <linux-mm@kvack.org>, Netdev <netdev@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Alexander Duyck <alexander.h.duyck@intel.com>
Subject: Re: [mm PATCH v3 00/23] Add support for DMA writable pages being writable by the network stack
Date: Fri, 18 Nov 2016 08:10:26 -0800 [thread overview]
Message-ID: <CAKgT0UfyeTOvhiFD93-fuXo-3W5NvZTPSQRj2QC6+RntdABvfQ@mail.gmail.com> (raw)
In-Reply-To: <20161110113027.76501.63030.stgit@ahduyck-blue-test.jf.intel.com>
On Thu, Nov 10, 2016 at 3:34 AM, Alexander Duyck
<alexander.h.duyck@intel.com> wrote:
> The first 19 patches in the set add support for the DMA attribute
> DMA_ATTR_SKIP_CPU_SYNC on multiple platforms/architectures. This is needed
> so that we can flag the calls to dma_map/unmap_page so that we do not
> invalidate cache lines that do not currently belong to the device. Instead
> we have to take care of this in the driver via a call to
> sync_single_range_for_cpu prior to freeing the Rx page.
>
> Patch 20 adds support for dma_map_page_attrs and dma_unmap_page_attrs so
> that we can unmap and map a page using the DMA_ATTR_SKIP_CPU_SYNC
> attribute.
>
> Patch 21 adds support for freeing a page that has multiple references being
> held by a single caller. This way we can free page fragments that were
> allocated by a given driver.
>
> The last 2 patches use these updates in the igb driver, and lay the
> groundwork to allow for us to reimplement the use of build_skb.
>
> v1: 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
> Submitting patches to mm instead of net-next
>
> v3: Added Acked-by for PowerPC architecture
> Dropped first 3 patches which were accepted into swiotlb tree
> Dropped comments describing swiotlb changes.
>
> ---
>
> Alexander Duyck (23):
> arch/arc: Add option to skip sync on DMA mapping
> arch/arm: Add option to skip sync on DMA map and unmap
> arch/avr32: Add option to skip sync on DMA map
> arch/blackfin: Add option to skip sync on DMA map
> arch/c6x: Add option to skip sync on DMA map and unmap
> arch/frv: Add option to skip sync on DMA map
> arch/hexagon: Add option to skip DMA sync as a part of mapping
> arch/m68k: Add option to skip DMA sync as a part of mapping
> arch/metag: Add option to skip DMA sync as a part of map and unmap
> arch/microblaze: Add option to skip DMA sync as a part of map and unmap
> arch/mips: Add option to skip DMA sync as a part of map and unmap
> arch/nios2: Add option to skip DMA sync as a part of map and unmap
> arch/openrisc: Add option to skip DMA sync as a part of mapping
> arch/parisc: Add option to skip DMA sync as a part of map and unmap
> arch/powerpc: Add option to skip DMA sync as a part of mapping
> arch/sh: Add option to skip DMA sync as a part of mapping
> arch/sparc: Add option to skip DMA sync as a part of map and unmap
> arch/tile: Add option to skip DMA sync as a part of map and unmap
> arch/xtensa: Add option to skip DMA sync as a part of mapping
> dma: Add calls for dma_map_page_attrs and dma_unmap_page_attrs
> mm: Add support for releasing multiple instances of a page
> igb: Update driver to make use of DMA_ATTR_SKIP_CPU_SYNC
> igb: Update code to better handle incrementing page count
>
>
> arch/arc/mm/dma.c | 5 ++
> arch/arm/common/dmabounce.c | 16 ++++--
> arch/avr32/mm/dma-coherent.c | 7 ++-
> arch/blackfin/kernel/dma-mapping.c | 8 +++
> arch/c6x/kernel/dma.c | 14 ++++-
> arch/frv/mb93090-mb00/pci-dma-nommu.c | 14 ++++-
> arch/frv/mb93090-mb00/pci-dma.c | 9 +++
> arch/hexagon/kernel/dma.c | 6 ++
> arch/m68k/kernel/dma.c | 8 +++
> arch/metag/kernel/dma.c | 16 +++++-
> arch/microblaze/kernel/dma.c | 10 +++-
> arch/mips/loongson64/common/dma-swiotlb.c | 2 -
> arch/mips/mm/dma-default.c | 8 ++-
> arch/nios2/mm/dma-mapping.c | 26 +++++++---
> arch/openrisc/kernel/dma.c | 3 +
> arch/parisc/kernel/pci-dma.c | 20 ++++++--
> arch/powerpc/kernel/dma.c | 9 +++
> arch/sh/kernel/dma-nommu.c | 7 ++-
> arch/sparc/kernel/iommu.c | 4 +-
> arch/sparc/kernel/ioport.c | 4 +-
> arch/tile/kernel/pci-dma.c | 12 ++++-
> arch/xtensa/kernel/pci-dma.c | 7 ++-
> drivers/net/ethernet/intel/igb/igb.h | 7 ++-
> drivers/net/ethernet/intel/igb/igb_main.c | 77 +++++++++++++++++++----------
> include/linux/dma-mapping.h | 20 +++++---
> include/linux/gfp.h | 2 +
> mm/page_alloc.c | 14 +++++
> 27 files changed, 246 insertions(+), 89 deletions(-)
>
So I am just wondering if I need to resubmit this to pick up the new
"Acked-by"s or if I should just wait?
As I said in the description my hope is to get this into the -mm tree
and I am not familiar with what the process is for being accepted
there.
Thanks.
- Alex
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2016-11-18 16:10 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-10 11:34 Alexander Duyck
2016-11-10 11:34 ` [mm PATCH v3 01/23] arch/arc: Add option to skip sync on DMA mapping Alexander Duyck
2016-11-10 11:34 ` [mm PATCH v3 02/23] arch/arm: Add option to skip sync on DMA map and unmap Alexander Duyck
2016-11-10 11:34 ` [mm PATCH v3 03/23] arch/avr32: Add option to skip sync on DMA map Alexander Duyck
2016-11-10 11:34 ` [mm PATCH v3 04/23] arch/blackfin: " Alexander Duyck
2016-11-10 11:34 ` [mm PATCH v3 05/23] arch/c6x: Add option to skip sync on DMA map and unmap Alexander Duyck
2016-11-10 11:34 ` [mm PATCH v3 06/23] arch/frv: Add option to skip sync on DMA map Alexander Duyck
2016-11-10 11:34 ` [mm PATCH v3 07/23] arch/hexagon: Add option to skip DMA sync as a part of mapping Alexander Duyck
2016-11-10 18:40 ` Richard Kuo
2016-11-10 11:34 ` [mm PATCH v3 08/23] arch/m68k: " Alexander Duyck
2016-11-10 11:35 ` [mm PATCH v3 09/23] arch/metag: Add option to skip DMA sync as a part of map and unmap Alexander Duyck
2016-11-10 11:35 ` [mm PATCH v3 10/23] arch/microblaze: " Alexander Duyck
2016-11-10 11:35 ` [mm PATCH v3 11/23] arch/mips: " Alexander Duyck
2016-11-10 11:35 ` [mm PATCH v3 12/23] arch/nios2: " Alexander Duyck
2016-11-11 10:58 ` Tobias Klauser
2016-11-10 11:35 ` [mm PATCH v3 13/23] arch/openrisc: Add option to skip DMA sync as a part of mapping Alexander Duyck
2016-11-10 11:35 ` [mm PATCH v3 14/23] arch/parisc: Add option to skip DMA sync as a part of map and unmap Alexander Duyck
2016-11-10 11:35 ` [mm PATCH v3 15/23] arch/powerpc: Add option to skip DMA sync as a part of mapping Alexander Duyck
2016-11-10 11:35 ` [mm PATCH v3 16/23] arch/sh: " Alexander Duyck
2016-11-10 11:35 ` [mm PATCH v3 17/23] arch/sparc: Add option to skip DMA sync as a part of map and unmap Alexander Duyck
2016-11-13 17:27 ` David Miller
2016-11-10 11:35 ` [mm PATCH v3 18/23] arch/tile: " Alexander Duyck
2016-11-10 11:35 ` [mm PATCH v3 19/23] arch/xtensa: Add option to skip DMA sync as a part of mapping Alexander Duyck
2016-11-10 11:36 ` [mm PATCH v3 20/23] dma: Add calls for dma_map_page_attrs and dma_unmap_page_attrs Alexander Duyck
2016-11-10 11:36 ` [mm PATCH v3 21/23] mm: Add support for releasing multiple instances of a page Alexander Duyck
2016-11-18 23:27 ` Andrew Morton
2016-11-21 16:21 ` Alexander Duyck
2016-11-22 6:28 ` Andrew Morton
2016-11-10 11:36 ` [mm PATCH v3 22/23] igb: Update driver to make use of DMA_ATTR_SKIP_CPU_SYNC Alexander Duyck
2016-11-10 11:36 ` [mm PATCH v3 23/23] igb: Update code to better handle incrementing page count Alexander Duyck
2016-11-18 16:10 ` Alexander Duyck [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKgT0UfyeTOvhiFD93-fuXo-3W5NvZTPSQRj2QC6+RntdABvfQ@mail.gmail.com \
--to=alexander.duyck@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=alexander.h.duyck@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox