Re: [PATCH] dma-mapping: benchmark: check the validity of dma mask bits

2020-12-21 Thread Robin Murphy
; Dan Carpenter Subject: Re: [PATCH] dma-mapping: benchmark: check the validity of dma mask bits On 2020-12-12 10:18, Barry Song wrote: While dma_mask_bits is larger than 64, the bahvaiour is undefined. On the other hand, dma_mask_bits which is smaller than 20 (1MB) makes no sense in real hardware

RE: [PATCH] dma-mapping: benchmark: check the validity of dma mask bits

2020-12-18 Thread Song Bao Hua (Barry Song)
Subject: Re: [PATCH] dma-mapping: benchmark: check the validity of dma mask > bits > > On 2020-12-12 10:18, Barry Song wrote: > > While dma_mask_bits is larger than 64, the bahvaiour is undefined. On the > > other hand, dma_mask_bits which is smaller than 20 (1MB) makes no sense &

Re: [PATCH] dma-mapping: benchmark: check the validity of dma mask bits

2020-12-18 Thread Robin Murphy
On 2020-12-12 10:18, Barry Song wrote: While dma_mask_bits is larger than 64, the bahvaiour is undefined. On the other hand, dma_mask_bits which is smaller than 20 (1MB) makes no sense in real hardware. Reported-by: Dan Carpenter Signed-off-by: Barry Song --- kernel/dma/map_benchmark.c | 6 +