Re: [PATCH] swiotlb: suppress warning when __GFP_NOWARN is set v2

2018-01-04 Thread kbuild test robot
Hi Christian, I love your patch! Perhaps something to improve: [auto build test WARNING on v4.15-rc5] [also build test WARNING on next-20180104] [cannot apply to swiotlb/linux-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH] swiotlb: suppress warning when __GFP_NOWARN is set v2

2018-01-04 Thread kbuild test robot
Hi Christian, I love your patch! Perhaps something to improve: [auto build test WARNING on v4.15-rc5] [also build test WARNING on next-20180104] [cannot apply to swiotlb/linux-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH] swiotlb: suppress warning when __GFP_NOWARN is set v2

2018-01-03 Thread Christian König
Am 02.01.2018 um 21:51 schrieb Konrad Rzeszutek Wilk: On Tue, Jan 02, 2018 at 01:13:58PM +0100, Christian König wrote: [SNIP] + +phys_addr_t swiotlb_tbl_map_single(struct device *hwdev, + dma_addr_t tbl_dma_addr, + phys_addr_t

Re: [PATCH] swiotlb: suppress warning when __GFP_NOWARN is set v2

2018-01-03 Thread Christian König
Am 02.01.2018 um 21:51 schrieb Konrad Rzeszutek Wilk: On Tue, Jan 02, 2018 at 01:13:58PM +0100, Christian König wrote: [SNIP] + +phys_addr_t swiotlb_tbl_map_single(struct device *hwdev, + dma_addr_t tbl_dma_addr, + phys_addr_t

Re: [PATCH] swiotlb: suppress warning when __GFP_NOWARN is set v2

2018-01-02 Thread Konrad Rzeszutek Wilk
On Tue, Jan 02, 2018 at 01:13:58PM +0100, Christian König wrote: > TTM tries to allocate coherent memory in chunks of 2MB first to improve > TLB efficiency and falls back to allocating 4K pages if that fails. > > Suppress the warning when the 2MB allocations fails since there is a > valid fall

Re: [PATCH] swiotlb: suppress warning when __GFP_NOWARN is set v2

2018-01-02 Thread Konrad Rzeszutek Wilk
On Tue, Jan 02, 2018 at 01:13:58PM +0100, Christian König wrote: > TTM tries to allocate coherent memory in chunks of 2MB first to improve > TLB efficiency and falls back to allocating 4K pages if that fails. > > Suppress the warning when the 2MB allocations fails since there is a > valid fall

Re: [PATCH] swiotlb: suppress warning when __GFP_NOWARN is set v2

2018-01-02 Thread Christian König
Am 02.01.2018 um 16:39 schrieb Chris Wilson: Quoting Christian König (2018-01-02 12:13:58) TTM tries to allocate coherent memory in chunks of 2MB first to improve TLB efficiency and falls back to allocating 4K pages if that fails. Suppress the warning when the 2MB allocations fails since there

Re: [PATCH] swiotlb: suppress warning when __GFP_NOWARN is set v2

2018-01-02 Thread Christian König
Am 02.01.2018 um 16:39 schrieb Chris Wilson: Quoting Christian König (2018-01-02 12:13:58) TTM tries to allocate coherent memory in chunks of 2MB first to improve TLB efficiency and falls back to allocating 4K pages if that fails. Suppress the warning when the 2MB allocations fails since there

Re: [PATCH] swiotlb: suppress warning when __GFP_NOWARN is set v2

2018-01-02 Thread Chris Wilson
Quoting Christian König (2018-01-02 12:13:58) > TTM tries to allocate coherent memory in chunks of 2MB first to improve > TLB efficiency and falls back to allocating 4K pages if that fails. > > Suppress the warning when the 2MB allocations fails since there is a > valid fall back path. > > v2:

Re: [PATCH] swiotlb: suppress warning when __GFP_NOWARN is set v2

2018-01-02 Thread Chris Wilson
Quoting Christian König (2018-01-02 12:13:58) > TTM tries to allocate coherent memory in chunks of 2MB first to improve > TLB efficiency and falls back to allocating 4K pages if that fails. > > Suppress the warning when the 2MB allocations fails since there is a > valid fall back path. > > v2:

Re: [PATCH] swiotlb: suppress warning when __GFP_NOWARN is set v2

2018-01-02 Thread Mike Galbraith
On Tue, 2018-01-02 at 13:13 +0100, Christian König wrote: > > v2: suppress warnings from swiotlb_tbl_map_single as well Thanks, dmesg spam is history. -Mike

Re: [PATCH] swiotlb: suppress warning when __GFP_NOWARN is set v2

2018-01-02 Thread Mike Galbraith
On Tue, 2018-01-02 at 13:13 +0100, Christian König wrote: > > v2: suppress warnings from swiotlb_tbl_map_single as well Thanks, dmesg spam is history. -Mike

[PATCH] swiotlb: suppress warning when __GFP_NOWARN is set v2

2018-01-02 Thread Christian König
TTM tries to allocate coherent memory in chunks of 2MB first to improve TLB efficiency and falls back to allocating 4K pages if that fails. Suppress the warning when the 2MB allocations fails since there is a valid fall back path. v2: suppress warnings from swiotlb_tbl_map_single as well

[PATCH] swiotlb: suppress warning when __GFP_NOWARN is set v2

2018-01-02 Thread Christian König
TTM tries to allocate coherent memory in chunks of 2MB first to improve TLB efficiency and falls back to allocating 4K pages if that fails. Suppress the warning when the 2MB allocations fails since there is a valid fall back path. v2: suppress warnings from swiotlb_tbl_map_single as well