Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1991240rdb; Tue, 3 Oct 2023 07:17:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH65R/8S/3VUrx0rtCKRX816t3YD5MkshOsPa+NjNnV39NIPB7fTtSoZlEV0x35UgDe9hHE X-Received: by 2002:a05:6a20:7da5:b0:15e:2d9f:cae0 with SMTP id v37-20020a056a207da500b0015e2d9fcae0mr14436299pzj.10.1696342624269; Tue, 03 Oct 2023 07:17:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696342624; cv=none; d=google.com; s=arc-20160816; b=ZM9b3f7Fl1Cpx2EvxJLialWSS9LkCoOgjLerKEz10YG4GxcN4evh3wo0jPtcaXePeu wQH4UZgxSOYTI1OltiP7KNs+BNgwhZHChJX11M+n/eBM7S8IqQVlUHWoIJbmL/Tw66uf nwI3JF96ToIh8qv9Vc6a5j1XrtQZt7xp/xjCOCThrlFUz8Qg4cbEAHQGVHGwYU/Vyds2 oTdZreAlt7mhijxxPAK1L/ijtTCGGDS4tMC/zWcsBElyrZVqTXrJuK4W7BHG+PH78gKf HOR6DQJNcKpbl3uiYjvKi5AqSVuGLxEf6JZzmIrp7pY8dDHdsUQSGn4adKIpyygBS7dm jXkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=S3M6bv867yDicFh/CoBNUqbhI4NGRUMWN6YMH7+FD+8=; fh=v1t45t4BehDZYWp500pllAfACnMvsf/mLIfUinQpkEU=; b=akX3YaelgfJsSM9Qg81sLQOXCCVv4J4ccJ3n7FA8zx1QkN/VF00BfTh9Ow2XthNy6O mdZEVkxL9Unp0jmZu8jxhb9Jed8axnVTFJKrsUekSrd9tIBIV201QsOT23qtOS9EsXkn 3SY6Kz/zHrtcdnZtRXoVw2NzTVhVllRih6DFOoa2aZGc6GOcRLMuIkBVndD05FpssErS /RdrPMGVxn068DqsFne/qqYyTfXiOMLCBaHKm9lijeqfjlQvSfRe5J7FaqBGF5rSb5TG SdlWGCIDwEGYdNmt7X7eTyFbIWon0JmXfPsR804i6h/2cabpPW/IITyBBAqtTzSAm22G Pc7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P4a9JIvP; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id ay40-20020a056a00302800b0068ff333d768si1477318pfb.384.2023.10.03.07.17.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 07:17:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P4a9JIvP; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 642FE80EE6D7; Tue, 3 Oct 2023 07:16:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238639AbjJCOQ7 (ORCPT + 53 others); Tue, 3 Oct 2023 10:16:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237926AbjJCOQ6 (ORCPT ); Tue, 3 Oct 2023 10:16:58 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9CA29E for ; Tue, 3 Oct 2023 07:16:54 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1CDCC433C8; Tue, 3 Oct 2023 14:16:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696342614; bh=151grJFIi5fsE3npp4Rmsf7qKjqFMhfs8hx9WJKpzuA=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=P4a9JIvPb1JycAlIUG3uBwu9Bj5MJH5yAA/KkjO1j8+Rzoc1vyh4To7phK9SUVoSH wYh0htUkW4CeHvY7dRVWzzpYiuNqgcvctAM+VoDPxR6ds+I82bJ9idO8UhJNw9GH4/ BaPWnG2vI16K3rCjywCpMGRZrtx0rUrV7M/z/eILCxCTnrEreiw43f7RPHtHAD8J3X UO9J+sgAtKRpNkHGuH0Aqn+es1nlgOFDqca/xUE2g9rnzP81Sb3xo7AhZNcPsD766o czpvx21U2LCkHJiScgmr09vgHWSWDbtRxnbeuqapqyCFp1+smSVB03UD2f1BoRQ6YC zJdoWs63+MCwQ== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: ath10k: convert msecs to jiffies where needed From: Kalle Valo In-Reply-To: <20230626151636.314868-1-dmantipov@yandex.ru> References: <20230626151636.314868-1-dmantipov@yandex.ru> To: Dmitry Antipov Cc: linux-wireless@vger.kernel.org, Dmitry Antipov User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169634261139.61956.15037887677169461852.kvalo@kernel.org> Date: Tue, 3 Oct 2023 14:16:53 +0000 (UTC) X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 03 Oct 2023 07:16:58 -0700 (PDT) Dmitry Antipov wrote: > Since 'mod_timer()' assumes expire time in jiffies and not milliseconds, > 'msecs_to_jiffies()' should be used in 'ath10k_pci_rx_post_pipe()' and > 'ath10k_snoc_rx_post_pipe()'. > > This patch also introduces a minor refactoring and fixes number of loop > iterations in 'ath10k_pci_rx_post_pipe()' (I assume that the number of > calls of '__ath10k_pci_rx_post_buf()' should be equal to number of buffers > returned by '__ath10k_ce_rx_num_free_bufs()' and not plus one). > > Fixes: a6e149a9ff03 ("ath10k: add hif start/stop methods for wcn3990 snoc layer") > Fixes: 728f95eef523 ("ath10k: rework posting pci rx buffers") > > Signed-off-by: Dmitry Antipov > Signed-off-by: Kalle Valo This is too intrusive patch to take without any testing. Patch set to Rejected. -- https://patchwork.kernel.org/project/linux-wireless/patch/20230626151636.314868-1-dmantipov@yandex.ru/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches