Re: [PATCH] swiotlb: don't override user specified size in swiotlb_adjust_size

2021-04-29 Thread Konrad Rzeszutek Wilk
On Thu, Apr 29, 2021 at 08:45:51AM -0500, Tom Lendacky wrote: > On 4/29/21 1:28 AM, Christoph Hellwig wrote: > > If the user already specified a swiotlb size on the command line, > > swiotlb_adjust_size shoul not overwrite it. > > > > Fixes: 2cbc2776efe4 ("swiotlb: remove swiotlb_nr_tbl") > >

Re: [PATCH] swiotlb: don't override user specified size in swiotlb_adjust_size

2021-04-29 Thread Tom Lendacky
On 4/29/21 1:28 AM, Christoph Hellwig wrote: > If the user already specified a swiotlb size on the command line, > swiotlb_adjust_size shoul not overwrite it. > > Fixes: 2cbc2776efe4 ("swiotlb: remove swiotlb_nr_tbl") > Reported-by: Tom Lendacky Thanks, Christoph! Tested-by: Tom Lendacky >

[PATCH] swiotlb: don't override user specified size in swiotlb_adjust_size

2021-04-29 Thread Christoph Hellwig
If the user already specified a swiotlb size on the command line, swiotlb_adjust_size shoul not overwrite it. Fixes: 2cbc2776efe4 ("swiotlb: remove swiotlb_nr_tbl") Reported-by: Tom Lendacky Signed-off-by: Christoph Hellwig --- kernel/dma/swiotlb.c | 2 ++ 1 file changed, 2 insertions(+) diff