Re: [PATCH] dma-mapping: make map_benchmark compile into module

2021-04-02 Thread Christoph Hellwig
On Wed, Mar 24, 2021 at 07:33:23AM +, Song Bao Hua (Barry Song) wrote: > The requirement comes from an colleague who is frequently changing > the map-bench code for some customized test purpose. and he doesn't > want to build kernel image and reboot every time. So I moved the > requirement to T

RE: [PATCH] dma-mapping: make map_benchmark compile into module

2021-03-24 Thread Song Bao Hua (Barry Song)
s.org; h...@lst.de; > m.szyprow...@samsung.com; Song Bao Hua (Barry Song) > ; io...@lists.linux-foundation.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH] dma-mapping: make map_benchmark compile into module > > On Wed, Mar 24, 2021 at 10:17:38AM +0800, Tian Tao wrote: > >

Re: [PATCH] dma-mapping: make map_benchmark compile into module

2021-03-24 Thread Christoph Hellwig
On Wed, Mar 24, 2021 at 10:17:38AM +0800, Tian Tao wrote: > under some scenarios, it is necessary to compile map_benchmark > into module to test iommu, so this patch changed Kconfig and > export_symbol to implement map_benchmark compiled into module. > > On the other hand, map_benchmark is a drive

RE: [PATCH] dma-mapping: make map_benchmark compile into module

2021-03-23 Thread Song Bao Hua (Barry Song)
ao Hua (Barry Song) > > Cc: io...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; tiantao > (H) > Subject: [PATCH] dma-mapping: make map_benchmark compile into module > > under some scenarios, it is necessary to compile map_benchmark > into module to test i

[PATCH] dma-mapping: make map_benchmark compile into module

2021-03-23 Thread Tian Tao
under some scenarios, it is necessary to compile map_benchmark into module to test iommu, so this patch changed Kconfig and export_symbol to implement map_benchmark compiled into module. On the other hand, map_benchmark is a driver, which is supposed to be able to run as a module. Signed-off-by: