Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp14497473rwb; Mon, 28 Nov 2022 01:32:40 -0800 (PST) X-Google-Smtp-Source: AA0mqf6E6STmaSav57AVUG2scZbbLZPFxpvKzmwQ/2OXMq97B2gCrpLCM6EArRMtGAS19bS5B6sU X-Received: by 2002:a17:906:1f56:b0:7ad:f6ef:e6c8 with SMTP id d22-20020a1709061f5600b007adf6efe6c8mr27485583ejk.541.1669627960438; Mon, 28 Nov 2022 01:32:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669627960; cv=none; d=google.com; s=arc-20160816; b=atfX+D680pJGh0+98TqbQG6ZLS7Gad+JZ4EKPL8bGBRskearzLf+FbKmiRrEv3fIII jOXMVXcLzKeezDqQdm9Cik0DI73iEyfawEqlBHd5Nuh7E3wiB+lq+PEgx2eGy1w9y/2L By/KQkLUB2Q6EnChZoQaque4gvWKbb5eAENmla4d9eaEtmoYhlh3xhEib0xcaZMzdQNR a5SHtuxmrtBv68UCoC7Ksprl2Qbdgs+0ouqVWM0YIWMb+VpzsLvw68WTWyoAlxxSD2o6 ZiHslWy+XLqIEWrZCyjlPAr5eomNUgyJjT1wpxMJ7QpN4ChPsZ1vc+YlQmvdNX6fA8Qt kEPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=g6MFH1scv5uKbfQTXIbowtuwn/4+2Qeygz1VdwFcDYg=; b=EpGRjkrlh/pY9uiVh7i58e4dHrt4VdWBs5HOrHtrQetjccd+i4fFAYN57hzF8ZN5SQ sttYEVCCRMVtXvSODjp0hPvRfds7xTX/Pu4WXSNe/ifYcWDyCkzJ2W0BTd6OdsLLxHcS SW8qTBNhQqaNZ1XQZAaF81IbCwFmVBkJkT74RJcWGzn692iQhpiC5FVpyBsVzrkhE575 XGKeCiiAWGzWiBdrT3tAonRwh7b+YyeaijlThgCzCx+LRoozF9BlRJAHNipOEpq8NAL1 LeYKrq95SIaPpjZJd88d5eZhy5bNcK7PxbX9w8W4xsP72zuQ5XB+5D/g71w4FvTcOHqS Uf2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=n0ZjmQdS; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e11-20020a50a68b000000b00467570d605dsi8284299edc.614.2022.11.28.01.32.23; Mon, 28 Nov 2022 01:32:40 -0800 (PST) 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=fail header.i=@nbd.name header.s=20160729 header.b=n0ZjmQdS; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229811AbiK1J0o (ORCPT + 67 others); Mon, 28 Nov 2022 04:26:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229610AbiK1J0n (ORCPT ); Mon, 28 Nov 2022 04:26:43 -0500 Received: from nbd.name (nbd.name [46.4.11.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABBA6C4D for ; Mon, 28 Nov 2022 01:26:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=g6MFH1scv5uKbfQTXIbowtuwn/4+2Qeygz1VdwFcDYg=; b=n0ZjmQdSCitDeu367PSL5NciQR +GNNftLYUTAycdBTYVhXzrUuzTHoDvILYKpGq/8m8bViZ+N9zgTZyYayWKsTHozKICY1amdhv+f9M I4JGYNnsnQ3LHhgRq4+8nnFO7higw8eEbwBV9QjE/pvGF3VetksN79+eTf6sqXJUoND0=; Received: from p200300daa7225c0824436b361c345cd2.dip0.t-ipconnect.de ([2003:da:a722:5c08:2443:6b36:1c34:5cd2] helo=nf.local) by ds12 with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1ozaPL-004ytl-1G; Mon, 28 Nov 2022 10:26:35 +0100 Message-ID: <14f4381a-d424-f84a-bc85-f4b25e6f1641@nbd.name> Date: Mon, 28 Nov 2022 10:26:33 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH] wifi: mt76: mt7921e: introduce reboot notifier support Content-Language: en-US To: Deren Wu , Lorenzo Bianconi Cc: Sean Wang , Soul Huang , YN Chen , Leon Yen , Eric-SY Chang , KM Lin , Robin Chiu , CH Yeh , Posh Sun , Stella Chang , Evelyn Tsai , Ryder Lee , Shayne Chen , linux-wireless , linux-mediatek References: <28482de35c4f1589dcf96b662a48bc558fe46e8f.1669361180.git.deren.wu@mediatek.com> From: Felix Fietkau In-Reply-To: <28482de35c4f1589dcf96b662a48bc558fe46e8f.1669361180.git.deren.wu@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_NONE 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 On 25.11.22 08:36, Deren Wu wrote: > From: Leon Yen > > Some combinations of hosts cannnot detect mt7921e after reboot. The > interoperability issue is caused by the status mismatch between host > and chip fw. In such cases, the driver should stop chip activities > and reset chip to default state before reboot. > > Co-developed-by: Deren Wu > Signed-off-by: Deren Wu > Signed-off-by: Leon Yen This doesn't just affect mt7921. There are some platforms where similar issues have been reported with mt7915 or mt7615. I think we should move some parts of this to mt76 (and mt76-connac) core. - Felix