Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp645612pxb; Wed, 18 Aug 2021 10:34:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJqMYuc5ODWIcAE7A2l/7I/e8YI4GnTqgvzjQJt9IwivaXBjo6b/gixptfBX2tCpP9S2Os X-Received: by 2002:a05:6402:1606:: with SMTP id f6mr11362407edv.111.1629308086349; Wed, 18 Aug 2021 10:34:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629308086; cv=none; d=google.com; s=arc-20160816; b=rrvm1XzKhlhMjhRAGILK9WcmREPj6PbjtMowYkrbwNo1e/5lXo+7yUqchLIV66InfC GMV5jirxU6HvPndMIOkC+1zexixxZedJklBLc/9AFoyyex2xy2SrBHqkVxqLVSRcmA0I Ra4hpdSOEAYBCzPmUECmwmRJE8YHeen87v7pU2Lapyk/JRt2QPATHuXRvRivbSl68FoT c9tFB/Tl1yz7Dau1KkoIBcFeliAWZ5BeDt1OixDjZ57wjRWs/SEINLy1RHwso8I2pz7A fDAsLZ1NTdgmr5W3Aj26cNgTN9vX2kKi8UKGAstfCz2zz7bBaW8/dapsJglF/bzA2fgD OGlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=X1JvNj6TPH+OCZuoL+69d7aXsqVTanSmq4nlChB91RM=; b=iYgf2yoRUqMyQd7MLyPBXxdspB6/yv5f5DJswv5l4jfkvSYfR0UUCtu741TWhDaZhv n1rHcHvE1+arO12/2YmEVKzUWX1xm530OlkUhaMQEnuUEejIkrAOrRX1dzR1+M58O/ar 6gzEsB1rPtBkSXuapkofgIeMkyInKFNGABKF2cNnnNARANNB+I2XvKLF6nO2jiAaT9ZA SYoNA/XV7L5m65yrdtmoiLpOTR7h3c0kTvgAFxlmdT3Z6D3oS868mEmnj28ULPVBVw7+ rQeBUnXbMSj60BPzdiXfdbkcnjVYqlnXn2gDWnWVpuuCPw1rh0NKrFtgYR9+K/FFh18a Bq8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@eero.com header.s=google header.b=UfclXNE6; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=eero.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cm5si371274edb.512.2021.08.18.10.34.05; Wed, 18 Aug 2021 10:34:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@eero.com header.s=google header.b=UfclXNE6; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=eero.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233051AbhHRRbU (ORCPT + 99 others); Wed, 18 Aug 2021 13:31:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233061AbhHRRbO (ORCPT ); Wed, 18 Aug 2021 13:31:14 -0400 Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 959CFC061764 for ; Wed, 18 Aug 2021 10:30:38 -0700 (PDT) Received: by mail-oi1-x234.google.com with SMTP id u25so4412555oiv.5 for ; Wed, 18 Aug 2021 10:30:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eero.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=X1JvNj6TPH+OCZuoL+69d7aXsqVTanSmq4nlChB91RM=; b=UfclXNE6fS2NX0zaGPyHaQ9Sf51yRwlF1tIwR0Nlt7IrrO8SDVjg6xc4bfNPGdnGJL rG2kvtG5zfJgWqRJGgUr7iIkkC/97HU/n2ou4jDX4Z4lzRDeylPLrCvmuUFF43PVzEUS JgU/6dhsSBUgN3Dzg4wAy6HOVxpzz0G1c/Kp0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=X1JvNj6TPH+OCZuoL+69d7aXsqVTanSmq4nlChB91RM=; b=dscteOkIqehRG/YVgkCTU1MDlbgOXBw3F629swLtagVOOFMN8owzXO99DNOzk1whuC zGvpYmo3V6wsi4+px97Fnm9Zr9WjAmm8doiak9be1Zt/LjLAW3nxUF9b/JdSeRo6YE0j CEmpBa4DKItvKxwtpPmPi7iTGwvRsdb4M8q4E/IY8BMtjFNuk/8hcgiTCbB4gm99AyQ1 hXNrGsV0t2WXxRJhV2bGSlADiZQa+8YxYHTtQmkHq4ZODq9D7IrbN/U3ZQw33+krsu9r wZFWETSizxpSzmpIi75VXyuzGCHE3ibXd29ertcJ8BsroOwQaDHKsHIAMiRGnyegBS+z ECng== X-Gm-Message-State: AOAM5304msGSh1BonHlrRBYe1g/6Xr7WikW1uZSEf0r7sES/hPf04baG IModbsNiJK/4PbSrSmLF8UCYoA== X-Received: by 2002:aca:b608:: with SMTP id g8mr7959112oif.66.1629307837970; Wed, 18 Aug 2021 10:30:37 -0700 (PDT) Received: from ?IPv6:2600:1700:38c5:675f:4c90:f673:77ac:78b3? ([2600:1700:38c5:675f:4c90:f673:77ac:78b3]) by smtp.gmail.com with ESMTPSA id c16sm124828otp.59.2021.08.18.10.30.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Aug 2021 10:30:37 -0700 (PDT) Subject: Re: [PATCH] ath10k: Do not call dma_alloc_coherent() for SDIO and USB To: Arend van Spriel , Fabio Estevam , kvalo@codeaurora.org Cc: ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, hch@lst.de, erik.stromdahl@gmail.com References: <20210818150943.1630199-1-festevam@denx.de> <17b5a29d098.279b.9696ff82abe5fb6502268bdc3b0467d4@gmail.com> From: Peter Oh Message-ID: <369c1f89-df33-455b-773e-a2e0dbf582ff@eero.com> Date: Wed, 18 Aug 2021 10:30:36 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <17b5a29d098.279b.9696ff82abe5fb6502268bdc3b0467d4@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org >> Fix the problem by not calling dma_alloc_coherent() when the device >> is not DMA capable, such as SDIO and USB. >> ath10k calls dma_alloc_coherent multiple places including ath10k_htt_rx_alloc. Do SDIO and USB not use such data path function at all? Thanks, Peter