Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3957983rwi; Wed, 12 Oct 2022 08:49:55 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6GX1N0hRl08p8tC0nrLh6DHjCNfK09+UQHzElFhJ7cx+by+BnYj0sQwqxSgHnP2I/I1dah X-Received: by 2002:a17:907:94d2:b0:783:e5dd:9c79 with SMTP id dn18-20020a17090794d200b00783e5dd9c79mr24344328ejc.18.1665589784158; Wed, 12 Oct 2022 08:49:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665589784; cv=none; d=google.com; s=arc-20160816; b=NdXwM/MxGU91dyCz28YtIafxwhe1GVo/f4KwOBqvoNkvPDLQh4UcCA0wJAgzRPS1XA 78KnvJGEmVB4+u1qTE/Xe8ZTDmg5O3nau8JmmDNwx5eyP9kvkjHMItIubYsQiCMp3fRJ l2s+FU26qlIEOowHUadIO6m4aHUMDBigzdt1mO4iKfoTtrXyuuPQlK4WHsVk1xFnM4Sk UWuIlcxbsC2fNbbqwS2/7YE9VGySN5wKWQppMPpo1hSZPJcoYA5Q20LWRZzAHmmp0cJn htEqwBFzVKYsGL9rBJ71W6wRgVUYcERHsFQ1Hs19XAeVy/QVfGTwGcD6XN5hzhm+wIrs OpaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=DYYXuVCuGH1lpbXSxtajALqiR0ANK7QdLr5Li39xP6s=; b=I8NLfKHTKC09P2m32Qq9yaiXITljK6ZkzwFhJ7zxN1LqpBmjwNgbLjBgknfWL9rTY/ ROO8do8s2XaUzcU+9yURZrOWlXTdljIm5n62rXxr1iX2BZ9qjcrHlyQirxOb85aYPzed zq7qAzeK4RasF97FMo1bbUARO9QGOyVMAyFg+H3RRzCJX+FPOFwAHjbQOPP8s0Vh0Fy7 GctdmpbMiaA8cLN2k0fGMXkrlpEaYS7djIZzv1OEq+jlJPWxsNk9UgOIi3MspZU45JRj TjrnNET+CFe7yd3w5e2SmL+gPQy2NKY8OgcIjgrj1UcMJ69bQbwdD86BTEXed0vlfeet QleA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=h5VkM9g3; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id js10-20020a17090797ca00b007700c3ad033si18170326ejc.565.2022.10.12.08.49.25; Wed, 12 Oct 2022 08:49:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=h5VkM9g3; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229895AbiJLPa5 (ORCPT + 61 others); Wed, 12 Oct 2022 11:30:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229839AbiJLPaz (ORCPT ); Wed, 12 Oct 2022 11:30:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EE70CA894; Wed, 12 Oct 2022 08:30:55 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BC8B261556; Wed, 12 Oct 2022 15:30:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AED87C433D6; Wed, 12 Oct 2022 15:30:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665588654; bh=XbTyHiZP7iedmm7OWxyWL6XwynJZBsCOZXG5smQEDEY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=h5VkM9g3xva3tcH4oVEQmiSC6yrFLJ6fc30XwacHHqWZNmEcAVOPKAoKaCxAy24Fw kRqYXi9sD80EzZxNB8iDFt8iqFx3TSqAYKqN8/faBZNH3LLCq6y1lNIKZ3WxfnPTmY neGfZbH03nibY1yUoQ3NfVWuFr9r9YPiS7dlGrHs1SwMTSGRo/5WBg/+BRgqaUwv7h Yg5I79txZK6MXHEAq1MvodRBu/wlGsHOtte2WQ6MTC8mNm0Mg2BQfiB1airSknOQaY FUq4jm0qYS2s9H/m6lMggAZOpP+GmDrXAtkRd2ulEP+TxxolnxSoJ5b+QbA1yfb3vg f9CMJXJB6Enkg== From: Kalle Valo To: Johannes Berg Cc: Youghandhar Chintala , ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Douglas Anderson Subject: Re: [PATCH v2] wifi: ath10k: Delay the unmapping of the buffer References: <20221012142733.32420-1-quic_youghand@quicinc.com> <1c64fe906b36438d63a7fc3fc9d0ab010b6db42f.camel@sipsolutions.net> Date: Wed, 12 Oct 2022 18:30:48 +0300 In-Reply-To: <1c64fe906b36438d63a7fc3fc9d0ab010b6db42f.camel@sipsolutions.net> (Johannes Berg's message of "Wed, 12 Oct 2022 16:49:03 +0200") Message-ID: <87a661njo7.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Johannes Berg writes: > On Wed, 2022-10-12 at 19:57 +0530, Youghandhar Chintala wrote: >> >> @@ -418,6 +426,7 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = { >> .dynamic_sar_support = false, >> .hw_restart_disconnect = false, >> .use_fw_tx_credits = true, >> + .delay_unmap_buffer = false, >> > > All the false are unnecessary and just distract from the content, imho. In this case I actually prefer having explicitly set false (and zero), it makes it easier to maintain the correct order and compare between hardware values. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches