Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp522404pxh; Tue, 9 Nov 2021 14:38:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJzFAtR0soYGw70YoRq4VhunWgJYMLJJcRH58EvrGLLfLv+FqOF+FcZPWDIS5wRCME5AGyDN X-Received: by 2002:a17:906:c20e:: with SMTP id d14mr14561840ejz.80.1636497516919; Tue, 09 Nov 2021 14:38:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636497516; cv=none; d=google.com; s=arc-20160816; b=LsA+3Vs00xlzfxFlHlCFX7hGl+DxBItnjVlCFuLv3sX0MG4YdPq0SAg+V0uAR3g7q1 oEjYXijVTQMtbXD/P4eD9VKB45+Sx9JHNyff7MpFW9UqWQjq2wlNqppd9asK6rjqiehE ajifXA6mOgiX2Pge2LQEYt6NVNTwCYktcZ8XVSRqANV7v2d5jzQEIUYnc9enxxr30pyH R7K1c6OKza2hI+6MXpuTPjsHhQn4+PJeJJPUBuo62C4y2FcP/3e3fzohNpdZWVmgUDtu cYpxQB9E6Wuw+n+pTTRC+PfwOwt2v+GUn70QGtX9j5WTtCMzYlDW9d7B6OVToMNfovmj 3Rrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:message-id; bh=GFv8PmY9Hlc29Vfavsox/6pnOqXdxA5KO0oggf2Hx9E=; b=Ygycoz71suoFc6mduV9fdiruEXn+C6wIwvtefgfPTecfVfJHNwYRDMOn4JWTQoyx3j +xnRJ5uWalkkbHHLIhW1nyRdOojX+nXaMY4V48/DSVQcvfVZ86Hi/jT9nUjPfeQfXo+c yruQ77Smbg0S+9I6XuvNwqQUrqG95A06CQqGDY6oyh1ZlpEjrZMD9/E2rXKMBSueI/Pd o3JMB6vha8ooGEiUPIszhXoMGh9OAZkIZN/vvd4w20gFH+bUyA9cCvK4hjnEwMiqDf3x 38ffF8UCRXRzjVSHTkwbmKf2dCf4IdQmgUL0cdLDvcRNgrdzR9yjz1k/lQwdKdp1Tpaq etOw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 16si32545483ejf.85.2021.11.09.14.38.20; Tue, 09 Nov 2021 14:38:36 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241146AbhKIRgp (ORCPT + 68 others); Tue, 9 Nov 2021 12:36:45 -0500 Received: from paleale.coelho.fi ([176.9.41.70]:40818 "EHLO farmhouse.coelho.fi" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S241098AbhKIRgo (ORCPT ); Tue, 9 Nov 2021 12:36:44 -0500 Received: from 91-156-6-193.elisa-laajakaista.fi ([91.156.6.193] helo=[192.168.100.150]) by farmhouse.coelho.fi with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mkV0P-000o6f-0J; Tue, 09 Nov 2021 19:33:57 +0200 Message-ID: From: Luca Coelho To: kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org Date: Tue, 09 Nov 2021 19:33:55 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.0-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on farmhouse.coelho.fi X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, TVD_RCVD_IP autolearn=ham autolearn_force=no version=3.4.6 Subject: Re: [PATCH] iwlwifi: mvm: retry init flow if failed Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Tue, 2021-11-09 at 19:30 +0200, Luca Coelho wrote: > From: Mordechay Goodstein > > In some very rare cases the init flow may fail. In many cases, this is > recoverable, so we can retry. Implement a loop to retry two more times > after the first attempt failed. > > This can happen in two different situations, namely during probe and > during mac80211 start. For the first case, a simple loop is enough. > For the second case, we need to add a flag to prevent mac80211 from > trying to restart it as well, leaving full control with the driver. > > Cc: > Signed-off-by: Mordechay Goodstein > Signed-off-by: Luca Coelho > --- Hi Kalle, Can you take this to v5.16? It fixes a rare but critical issue that causes the NIC to become unusable until the next reboot... I'll assign it to you in patchwork. Thanks! -- Cheers, Luca.