Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp353430rdb; Thu, 19 Oct 2023 06:33:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHd9FL/aM0hsv+MNGWD1Py9eEzVxXtNpM6lu9XkIpQIrRNt8uFJKXKAw/7kObOVjUh02MjJ X-Received: by 2002:a17:90b:8ca:b0:27c:f282:adac with SMTP id ds10-20020a17090b08ca00b0027cf282adacmr2838789pjb.0.1697722389901; Thu, 19 Oct 2023 06:33:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697722389; cv=none; d=google.com; s=arc-20160816; b=yD/VPr8uiTNPZ65HJB1Y2+XcwC2+WINzcNNgShJcnYLOa9PGHDcz/AGIx+EgvLWKUD +5AQ2wyH2+xFfOqJgrrbMbm5ua8aMu5Sc/Pxs1IBAFH22CdHvlTSsi848S+7SDU5YauD qCarfoNrn5OuFpkrg/I6dCrdM7IZbDIQBr86E+nSiw0HlQcvLACYzBrWlZDzNmOLWnos 1z847WcoHJAbbrH0OLWElf1o4PPeWNxLlkqPSEUFgKeJsxqJfta5q87qaq1uSlQalmt2 emViulsvD2qXHOaEnFaw+q5PTImX0XxQ9ftKDNjHdv7WI7pl0Q/l1aR8x3R4f4Zczz4R DT2Q== 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=xAdWjWab9nQOUfpjKS5Q7hfxvvMXegWqzZK/9GclAvQ=; fh=4Mxa1PTb1kF/9lpqs5Dh2jP1Ewls7I8fX21KO1dUoo8=; b=cBLy9KA3hM6ee6dgmhXNL+c6Twnd4w/DGjMWtP40aIRaq6qWHXi3t+iaQoW90tb5Jw XSagxLwbCjCIYWIkWrRvEbtEdWSNw7WBfUfR15/EKGU36h3denUCdetz97x6irlfx8U7 QgtYRFxClDw8u+MSxWiBg4vM0AdKsCal6x+svfI7881jZLKguHmR7y7NXcfPHm8vBSfF LVAjYCWvR7Ryww7Q5rPVOsMXtBg5gbZeY076+4OZuQfPVOYF6y53qnJ9Vx7Ua/m9cAsr RaFY7CWRjjGpndTopmFgXwnkafbNvRl3IOXK7nM6/PU4oUcpwwUQOOaGPAKAce8kfPXJ DDNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S3RU1dCm; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id ip5-20020a17090b314500b0027d09fa3a9bsi2189039pjb.183.2023.10.19.06.33.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 06:33:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S3RU1dCm; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id B7CE5822D128; Thu, 19 Oct 2023 06:33:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345782AbjJSNdI (ORCPT + 52 others); Thu, 19 Oct 2023 09:33:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345736AbjJSNdH (ORCPT ); Thu, 19 Oct 2023 09:33:07 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E70011B for ; Thu, 19 Oct 2023 06:33:06 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1C38C433C8; Thu, 19 Oct 2023 13:33:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697722385; bh=/KTeEIlW5YqAIFD6soa+r7G+BrGSwAXI0I+oMa3g2uY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=S3RU1dCmJIbuuGenx9G1CL8mxwnOV+l86BL/rp0luxJc2CkeS6CGSz/crv+WJCEb0 XZlJmk9DC/+pnRZkDpChWmAkRFl5te+7zbUmxa1IMyIdWseY9J5rBVfjDzKYSjRvDF CGo44Sytxm+LecjMRTg6Hs2PXZzjhluKEFBDf++om7ARdPqInnWoiLKpgBdD2bpjdw 90rDvZ4XxHmdl4hL9uC/fy/Ti+R/rqZ72PcRBAY0jsfgQvovnelvqG2Yh1OFhKf8W0 CMT80303sg0pobEKFOJA8PZCeFjOd185lf+fUzdpmaJ1i4fkf1jgVeS+puvKKM5eOu +A2y7M3d+n/SA== From: Kalle Valo To: Shiji Yang Cc: helmut.schaa@googlemail.com, linux-wireless@vger.kernel.org, stf_xl@wp.pl Subject: Re: [PATCH] wifi: rt2x00: fix rt2800 watchdog function References: <169769882877.117236.15856778587852752332.kvalo@kernel.org> Date: Thu, 19 Oct 2023 16:33:02 +0300 In-Reply-To: (Shiji Yang's message of "Thu, 19 Oct 2023 20:05:13 +0800") Message-ID: <87h6mm20vl.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 19 Oct 2023 06:33:08 -0700 (PDT) Shiji Yang writes: > On Thu, 19 Oct 2023 07:00:30 +0000, Kalle Valo wrote: > >>Shiji Yang wrote: >> >>> The watchdog function is broken on rt2800 series SoCs. This patch >>> fixes the incorrect watchdog logic to make it work again. >>> >>> 1. Update current wdt queue index if it's not equal to the previous >>> index. Watchdog compares the current and previous queue index to >>> judge if the queue hung. >>> 2. Make sure hung_{rx,tx} 'true' status won't be override by the >>> normal queue. Any queue hangs should trigger a reset action. >>> 3. Clear the watchdog counter of all queues before resetting the >>> hardware. This change may help to avoid the reset loop. >>> 4. Change hang check function return type to bool as we only need >>> to return two status, yes or no. >>> >>> Signed-off-by: Shiji Yang >> >>Is this patch ok to take? > > > Hi! I think it's ready. I've been testing it for a few weeks. That question was more towards maintainers Stanislaw, Helmut and other reviewers :) That reminds me, is Helmut still maintaining this driver? I haven't seen an ack from him since 2016. As we nowadays try to keep the MAINTAINERS up-to-date so should we remove him? -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches