Re: [PATCH v2] kernel/dma: Fix panic caused by passing swiotlb to command line

2019-01-10 Thread He Zhe
On 1/11/19 9:46 AM, He Zhe wrote: > > On 1/11/19 1:27 AM, Konrad Rzeszutek Wilk wrote: >> Let's skip it. There was another patch that would allocate a default 4MB >> size if it there was an misue of swiotlb parameters. > But this patch mainly fixes a crash. Could you please point me to the

Re: [PATCH v2] kernel/dma: Fix panic caused by passing swiotlb to command line

2019-01-10 Thread He Zhe
On 1/11/19 1:27 AM, Konrad Rzeszutek Wilk wrote: > Let's skip it. There was another patch that would allocate a default 4MB size > if it there was an misue of swiotlb parameters. But this patch mainly fixes a crash. Could you please point me to the patch you mentioned? Thanks, Zhe > > > >

Re: [PATCH v2] kernel/dma: Fix panic caused by passing swiotlb to command line

2019-01-07 Thread Christoph Hellwig
On Mon, Jan 07, 2019 at 04:46:51PM +0800, He Zhe wrote: > Kindly ping. Konrad, I'll pick this up through the DMA mapping tree unless you protest in the next few days.

Re: [PATCH v2] kernel/dma: Fix panic caused by passing swiotlb to command line

2019-01-07 Thread He Zhe
Kindly ping. Zhe On 12/3/18 6:22 PM, zhe...@windriver.com wrote: > From: He Zhe > > setup_io_tlb_npages does not check input argument before passing it > to isdigit. The argument would be a NULL pointer if "swiotlb", without > its value, is set in command line and thus causes the following