diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-07 20:39:25 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-07 20:39:25 -0400 |
| commit | d0cd84817c745655428dbfdb1e3f754230b46bef (patch) | |
| tree | a7b6f422f6ac50f506ffa7a66f8e83387f90f212 /include/linux | |
| parent | bdf428feb225229b1d4715b45bbdad4a934cd89c (diff) | |
| parent | 3f334078567245429540e6461c81c749fce87f70 (diff) | |
Merge tag 'dmaengine-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/dmaengine
Pull dmaengine updates from Dan Williams:
"Even though this has fixes marked for -stable, given the size and the
needed conflict resolutions this is 3.18-rc1/merge-window material.
These patches have been languishing in my tree for a long while. The
fact that I do not have the time to do proper/prompt maintenance of
this tree is a primary factor in the decision to step down as
dmaengine maintainer. That and the fact that the bulk of drivers/dma/
activity is going through Vinod these days.
The net_dma removal has not been in -next. It has developed simple
conflicts against mainline and net-next (for-3.18).
Continuing thanks to Vinod for staying on top of drivers/dma/.
Summary:
1/ Step down as dmaengine maintainer see commit 08223d80df38
"dmaengine maintainer update"
2/ Removal of net_dma, as it has been marked 'broken' since 3.13
(commit 77873803363c "net_dma: mark broken"), without reports of
performance regression.
3/ Miscellaneous fixes"
* tag 'dmaengine-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/dmaengine:
net: make tcp_cleanup_rbuf private
net_dma: revert 'copied_early'
net_dma: simple removal
dmaengine maintainer update
dmatest: prevent memory leakage on error path in thread
ioat: Use time_before_jiffies()
dmaengine: fix xor sources continuation
dma: mv_xor: Rename __mv_xor_slot_cleanup() to mv_xor_slot_cleanup()
dma: mv_xor: Remove all callers of mv_xor_slot_cleanup()
dma: mv_xor: Remove unneeded mv_xor_clean_completed_slots() call
ioat: Use pci_enable_msix_exact() instead of pci_enable_msix()
drivers: dma: Include appropriate header file in dca.c
drivers: dma: Mark functions as static in dma_v3.c
dma: mv_xor: Add DMA API error checks
ioat/dca: Use dev_is_pci() to check whether it is pci device
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/dmaengine.h | 22 | ||||
| -rw-r--r-- | include/linux/skbuff.h | 8 | ||||
| -rw-r--r-- | include/linux/tcp.h | 8 |
3 files changed, 3 insertions, 35 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index 1f9e642c66ad..212c5b9ac106 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h | |||
| @@ -900,18 +900,6 @@ static inline void dmaengine_put(void) | |||
| 900 | } | 900 | } |
| 901 | #endif | 901 | #endif |
| 902 | 902 | ||
| 903 | #ifdef CONFIG_NET_DMA | ||
| 904 | #define net_dmaengine_get() dmaengine_get() | ||
| 905 | #define net_dmaengine_put() dmaengine_put() | ||
| 906 | #else | ||
| 907 | static inline void net_dmaengine_get(void) | ||
| 908 | { | ||
| 909 | } | ||
| 910 | static inline void net_dmaengine_put(void) | ||
| 911 | { | ||
| 912 | } | ||
| 913 | #endif | ||
| 914 | |||
| 915 | #ifdef CONFIG_ASYNC_TX_DMA | 903 | #ifdef CONFIG_ASYNC_TX_DMA |
| 916 | #define async_dmaengine_get() dmaengine_get() | 904 | #define async_dmaengine_get() dmaengine_get() |
| 917 | #define async_dmaengine_put() dmaengine_put() | 905 | #define async_dmaengine_put() dmaengine_put() |
| @@ -933,16 +921,8 @@ async_dma_find_channel(enum dma_transaction_type type) | |||
| 933 | return NULL; | 921 | return NULL; |
| 934 | } | 922 | } |
| 935 | #endif /* CONFIG_ASYNC_TX_DMA */ | 923 | #endif /* CONFIG_ASYNC_TX_DMA */ |
| 936 | |||
| 937 | dma_cookie_t dma_async_memcpy_buf_to_buf(struct dma_chan *chan, | ||
| 938 | void *dest, void *src, size_t len); | ||
| 939 | dma_cookie_t dma_async_memcpy_buf_to_pg(struct dma_chan *chan, | ||
| 940 | struct page *page, unsigned int offset, void *kdata, size_t len); | ||
| 941 | dma_cookie_t dma_async_memcpy_pg_to_pg(struct dma_chan *chan, | ||
| 942 | struct page *dest_pg, unsigned int dest_off, struct page *src_pg, | ||
| 943 | unsigned int src_off, size_t len); | ||
| 944 | void dma_async_tx_descriptor_init(struct dma_async_tx_descriptor *tx, | 924 | void dma_async_tx_descriptor_init(struct dma_async_tx_descriptor *tx, |
| 945 | struct dma_chan *chan); | 925 | struct dma_chan *chan); |
| 946 | 926 | ||
| 947 | static inline void async_tx_ack(struct dma_async_tx_descriptor *tx) | 927 | static inline void async_tx_ack(struct dma_async_tx_descriptor *tx) |
| 948 | { | 928 | { |
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index abde271c18ae..a17ba0881afb 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
| @@ -28,7 +28,6 @@ | |||
| 28 | #include <linux/textsearch.h> | 28 | #include <linux/textsearch.h> |
| 29 | #include <net/checksum.h> | 29 | #include <net/checksum.h> |
| 30 | #include <linux/rcupdate.h> | 30 | #include <linux/rcupdate.h> |
| 31 | #include <linux/dmaengine.h> | ||
| 32 | #include <linux/hrtimer.h> | 31 | #include <linux/hrtimer.h> |
| 33 | #include <linux/dma-mapping.h> | 32 | #include <linux/dma-mapping.h> |
| 34 | #include <linux/netdev_features.h> | 33 | #include <linux/netdev_features.h> |
| @@ -581,11 +580,8 @@ struct sk_buff { | |||
| 581 | /* 2/4 bit hole (depending on ndisc_nodetype presence) */ | 580 | /* 2/4 bit hole (depending on ndisc_nodetype presence) */ |
| 582 | kmemcheck_bitfield_end(flags2); | 581 | kmemcheck_bitfield_end(flags2); |
| 583 | 582 | ||
| 584 | #if defined CONFIG_NET_DMA || defined CONFIG_NET_RX_BUSY_POLL | 583 | #ifdef CONFIG_NET_RX_BUSY_POLL |
| 585 | union { | 584 | unsigned int napi_id; |
| 586 | unsigned int napi_id; | ||
| 587 | dma_cookie_t dma_cookie; | ||
| 588 | }; | ||
| 589 | #endif | 585 | #endif |
| 590 | #ifdef CONFIG_NETWORK_SECMARK | 586 | #ifdef CONFIG_NETWORK_SECMARK |
| 591 | __u32 secmark; | 587 | __u32 secmark; |
diff --git a/include/linux/tcp.h b/include/linux/tcp.h index fa5258f322e7..ac82c5ea955b 100644 --- a/include/linux/tcp.h +++ b/include/linux/tcp.h | |||
| @@ -19,7 +19,6 @@ | |||
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | #include <linux/skbuff.h> | 21 | #include <linux/skbuff.h> |
| 22 | #include <linux/dmaengine.h> | ||
| 23 | #include <net/sock.h> | 22 | #include <net/sock.h> |
| 24 | #include <net/inet_connection_sock.h> | 23 | #include <net/inet_connection_sock.h> |
| 25 | #include <net/inet_timewait_sock.h> | 24 | #include <net/inet_timewait_sock.h> |
| @@ -166,13 +165,6 @@ struct tcp_sock { | |||
| 166 | struct iovec *iov; | 165 | struct iovec *iov; |
| 167 | int memory; | 166 | int memory; |
| 168 | int len; | 167 | int len; |
| 169 | #ifdef CONFIG_NET_DMA | ||
| 170 | /* members for async copy */ | ||
| 171 | struct dma_chan *dma_chan; | ||
| 172 | int wakeup; | ||
| 173 | struct dma_pinned_list *pinned_list; | ||
| 174 | dma_cookie_t dma_cookie; | ||
| 175 | #endif | ||
| 176 | } ucopy; | 168 | } ucopy; |
| 177 | 169 | ||
| 178 | u32 snd_wl1; /* Sequence for window update */ | 170 | u32 snd_wl1; /* Sequence for window update */ |
