search for: swiotlb_exit

Displaying 4 results from an estimated 4 matches for "swiotlb_exit".

2019 Feb 05
0
[vhost:linux-next 2/23] include/linux/swiotlb.h:99:22: error: static declaration of 'swiotlb_max_mapping_size' follows non-static declaration
...H=i386 All errors (new ones prefixed by >>): vim +/swiotlb_max_mapping_size +99 include/linux/swiotlb.h 75 76 bool swiotlb_map(struct device *dev, phys_addr_t *phys, dma_addr_t *dma_addr, 77 size_t size, enum dma_data_direction dir, unsigned long attrs); 78 void __init swiotlb_exit(void); 79 unsigned int swiotlb_max_segment(void); 80 #else 81 #define swiotlb_force SWIOTLB_NO_FORCE 82 static inline bool is_swiotlb_buffer(phys_addr_t paddr) 83 { 84 return false; 85 } 86 static inline bool swiotlb_map(struct device *dev, phys_addr_t *phys, 87...
2019 Feb 05
0
[vhost:linux-next 3/23] include/linux/swiotlb.h:105:20: error: static declaration of 'is_swiotlb_active' follows non-static declaration
...bool is_swiotlb_active(void); ^~~~~~~~~~~~~~~~~ vim +/is_swiotlb_active +105 include/linux/swiotlb.h 76 77 bool swiotlb_map(struct device *dev, phys_addr_t *phys, dma_addr_t *dma_addr, 78 size_t size, enum dma_data_direction dir, unsigned long attrs); 79 void __init swiotlb_exit(void); 80 unsigned int swiotlb_max_segment(void); 81 #else 82 #define swiotlb_force SWIOTLB_NO_FORCE 83 static inline bool is_swiotlb_buffer(phys_addr_t paddr) 84 { 85 return false; 86 } 87 static inline bool swiotlb_map(struct device *dev, phys_addr_t *phys, 88...
2019 Feb 07
0
[PATCH v7 2/5] swiotlb: Add is_swiotlb_active() function
...changed, 15 insertions(+) diff --git a/include/linux/swiotlb.h b/include/linux/swiotlb.h index d3980aeed4a0..29bc3a203283 100644 --- a/include/linux/swiotlb.h +++ b/include/linux/swiotlb.h @@ -77,6 +77,7 @@ bool swiotlb_map(struct device *dev, phys_addr_t *phys, dma_addr_t *dma_addr, void __init swiotlb_exit(void); unsigned int swiotlb_max_segment(void); size_t swiotlb_max_mapping_size(struct device *dev); +bool is_swiotlb_active(void); #else #define swiotlb_force SWIOTLB_NO_FORCE static inline bool is_swiotlb_buffer(phys_addr_t paddr) @@ -100,6 +101,11 @@ static inline size_t swiotlb_max_mapping_...
2019 Feb 07
5
[PATCH v7 0/5] Fix virtio-blk issue with SWIOTLB
Hi, here is the next version of this patch-set. Previous versions can be found here: V1: https://lore.kernel.org/lkml/20190110134433.15672-1-joro at 8bytes.org/ V2: https://lore.kernel.org/lkml/20190115132257.6426-1-joro at 8bytes.org/ V3: https://lore.kernel.org/lkml/20190123163049.24863-1-joro at 8bytes.org/ V4: https://lore.kernel.org/lkml/20190129084342.26030-1-joro at 8bytes.org/