Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1443856ybl; Fri, 16 Aug 2019 15:24:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqzEIRZoaaj9zhSdC2ig+5yhK1+WYsXGMrLffe807zTZ+yFOYg6gW5UHPFx5ik/uFCpPEBEk X-Received: by 2002:a17:90a:650c:: with SMTP id i12mr9252103pjj.11.1565994297503; Fri, 16 Aug 2019 15:24:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565994297; cv=none; d=google.com; s=arc-20160816; b=S0zHc2JEBQ7CjcrSxb/X6MfKERtMRP4DuVZsRnykjyO767zuXIIE37BEx8A8g78bYe 4aQej6ViIA+zMUSxhiBiG9SmYTv40ObnGx00UzHvvalrkJYd67X7VgH1AQuNvM9eG5d+ X+4QopFQnDoVZzpkEO7PP9bavWRi4hASLisXNFW9VNioSILDIjOOm1UyygV6B5icTJoh CMKdVeUxRxmbQo4WDr2ZfIJBeHK5j+TfCKkrpjsLUltjNaNE2yo9g+Jx5TIskwhfZhfz QYmYV3k6F90DCP7T3ERrYZkj84c4w0FMfiqKzzH7SPl8qWm25FJ7rKZ5Gqg7rSZL7Ubs wNhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Z/RL8I+CX00aaoEA3B93OfzM8SWXYflpbq6Zuf69+2Q=; b=SW4eiGKSY9JhilEWcMc+MX3pGMxsQbrXPfFcttbX3/O8H2J+4stOFSGKCHsi5izNDn 7irRMaFDDQ+22anyMzNx0is54Dn1aebUj1GfUZTgxBYqNUPNucRAL5kmss4Qlf23LjvZ sy/sVQ2Tctq2LsPfpYpIsruoRFHeyD+ie9XoC8VxkOqzXynWNwPoM4G7+FZhqR1Yq50z o7JbtAkbo03uOLzPntuvaXbjDkjwzEDnyGKLpE/jwutbH3d3eeNhP3kzZCs2bGrDBOzj unHfcrUtA1SNadICg2/Xg+feiqnPtc0MTW4QjMvpV/RUFhdiYLdJ1ThHzzkygMD3M1Wr P9Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PCD6NB8T; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 65si5196965pfg.241.2019.08.16.15.24.30; Fri, 16 Aug 2019 15:24:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PCD6NB8T; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727837AbfHPWYH (ORCPT + 99 others); Fri, 16 Aug 2019 18:24:07 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:38816 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727756AbfHPWYH (ORCPT ); Fri, 16 Aug 2019 18:24:07 -0400 Received: by mail-pf1-f195.google.com with SMTP id o70so3816230pfg.5; Fri, 16 Aug 2019 15:24:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Z/RL8I+CX00aaoEA3B93OfzM8SWXYflpbq6Zuf69+2Q=; b=PCD6NB8TBlV/+xuB6WcPJ6ZvxS8yBi9wwHXyInSFgGxD55G8j3R8gvP+bb7gQEsNel UwNGTdYr/oghTCCM65TW7ecBXltVDwyWqZ00zBm7d+o407wI90UM2BCigLgBv0jeZ81O lkNJjNOSM64BSGDg9E+zVE5guJUEt9jJZ2g/yKy4nf7mLCjWoD0SQ+ktXySUAosoe4XF 7R/yLHB0JMOGiJMpzOMQ9YPqLLYK5K7o78nQqxgz1cLOZZLgb/7is+F0K5ME2dGnPUde 3mN7TuHHVDYc7FP3VXJU1NmS/FejfhOLwpyI+PPnL96RsC4P9x0Fv+xATfQSmMHPr9UB mHYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Z/RL8I+CX00aaoEA3B93OfzM8SWXYflpbq6Zuf69+2Q=; b=D2Q0WW0aWd+nwRUH1I5GCrp8VJ4YCcVAEHEczp/P0R4xzxK5+RgrIcHAbzfLZhQfu1 kM1001g44ELD2a3C14mCbf/0l/9gK143P3d03jr//21uCHBAp9cEIX4PPG+QHCEfnSrK dt2kyzqRfhqhcGrjlE2kpeFPjfHfaFmfKpfXB0ufjRWRvUDtlSN7FDZLKqdwgnkrOY2V nAQF+Yd/yeqUV1NigESZnFu+cld7nc6GZ5+g6cIdhiRoaYnYpjHCVbIh5NDTxjPih0iB ugh46Jhtne6zu9LILfpJnSvWsBc1KVjN5fmrPRHT70qrDL+/VPSrVo/zS0/9g/bbGbRt Mztw== X-Gm-Message-State: APjAAAWjxY1YDEZGzTiHIhTsVXY7AGE/DJHlHzGSyGwky1QreJ+eC+zo 0J6xW02Lhsb4G9cOluitI+I= X-Received: by 2002:a17:90a:e38e:: with SMTP id b14mr9226497pjz.125.1565994246561; Fri, 16 Aug 2019 15:24:06 -0700 (PDT) Received: from Asurada-Nvidia.nvidia.com (thunderhill.nvidia.com. [216.228.112.22]) by smtp.gmail.com with ESMTPSA id v21sm7433880pfe.131.2019.08.16.15.24.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Aug 2019 15:24:06 -0700 (PDT) Date: Fri, 16 Aug 2019 15:25:07 -0700 From: Nicolin Chen To: Tobias Klausmann Cc: Christoph Hellwig , kvalo@codeaurora.org, davem@davemloft.net, ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, m.szyprowski@samsung.com, robin.murphy@arm.com, iommu@lists.linux-foundation.org, tobias.klausmann@freenet.de Subject: Re: regression in ath10k dma allocation Message-ID: <20190816222506.GA24413@Asurada-Nvidia.nvidia.com> References: <8fe8b415-2d34-0a14-170b-dcb31c162e67@mni.thm.de> <20190816164301.GA3629@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi Tobias On Fri, Aug 16, 2019 at 10:16:45PM +0200, Tobias Klausmann wrote: > > do you have CONFIG_DMA_CMA set in your config? If not please make sure > > you have this commit in your testing tree, and if the problem still > > persists it would be a little odd and we'd have to dig deeper: > > > > commit dd3dcede9fa0a0b661ac1f24843f4a1b1317fdb6 > > Author: Nicolin Chen > > Date: Wed May 29 17:54:25 2019 -0700 > > > > dma-contiguous: fix !CONFIG_DMA_CMA version of dma_{alloc, free}_contiguous() > yes CONFIG_DMA_CMA is set (=y, see attached config), the commit you mention > above is included, if you have any hints how to go forward, please let me > know! For CONFIG_DMA_CMA=y, by judging the log with error code -12, I feel this one should work for you. Would you please check if it is included or try it out otherwise? dma-contiguous: do not overwrite align in dma_alloc_contiguous() https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c6622a425acd1d2f3a443cd39b490a8777b622d7 Thanks Nicolin