Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1319561pxb; Tue, 8 Feb 2022 14:34:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJyWhqjD/LF9TZWvTFnXeuJEKnNfaQ8gDI8P7IbFpc5xSmywDAq0XTTxozwfHG5a82v0Q/yM X-Received: by 2002:a63:4e5c:: with SMTP id o28mr5180864pgl.263.1644359684101; Tue, 08 Feb 2022 14:34:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644359684; cv=none; d=google.com; s=arc-20160816; b=eJX6V+SK2TKx3Sg17QhDuZWxWK5Lj8G/CZLO5LaUFSo8wZmLKa4ZUv0lJbbKAKR6s4 IcZZ7Apfb9AgNmEd5U2RFbQTzI2En+selgJ8VqdD8ueWVt4zIXLNrnpkIU8XvlP/Dy3Y 70KYTayzbxY+HwIFffsA3beAGL4XzkXiG3MwuPJYcV3YRMOgjC+0EejFF3HYqxlFtREy Xzm7M3l8oiPZP90dK9l2Uj4lplCZA04h6adXPXYXGxKKLdDH1iYxiXhxqEj+VrlWRKw4 zACWqOSMCTd5UPcjykEQOtBZO+DZM4Id4VNa45v+lsMyiCJftJgHcZWRBRmfwpU24Kun 2Mtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=H1M7GiEBG1472fgEdXp4cPGZllRAqGb5pgJL+uEjrjU=; b=BLcIewR26l4S0MZ45rDmGSgtyVQIDRYQJC2wEi3Qd8Xj+20pxDfWPLx+MC34EsIOvg bdjVq1l8DOuhfMAn9ZS5nnL0jpP3C3IQO53hnmdUVtKJlvd3kDzl+iL18688MQ2zdRgC Eteynq1VVandV/sPUp8RRUJLyHwEfw0tJxBNrBs0LEpfCsfednIU8dct7+v5n+Ky3aAN gmE5sF6YqGJZsV8GOopOllRhkQADqXViLkAvlblXtj4g/sWmJ4KwW6JpLGhi+2tBJtGk NqQNvLFFS15vU/ojtCxx2W4Y+StQdvKQNfNcGiWEzTtWW5a3LUOOUrFT0WZqfcD+ygnW UGpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="Q/fs7dV6"; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 184si14796202pgc.643.2022.02.08.14.34.33; Tue, 08 Feb 2022 14:34:44 -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=pass header.i=@quicinc.com header.s=qcdkim header.b="Q/fs7dV6"; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239283AbiBHLcF (ORCPT + 72 others); Tue, 8 Feb 2022 06:32:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356586AbiBHKwG (ORCPT ); Tue, 8 Feb 2022 05:52:06 -0500 X-Greylist: delayed 122 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 08 Feb 2022 02:52:05 PST Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F32BAC03FEC3 for ; Tue, 8 Feb 2022 02:52:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1644317526; x=1675853526; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=H1M7GiEBG1472fgEdXp4cPGZllRAqGb5pgJL+uEjrjU=; b=Q/fs7dV6FyUH5Yw09tEI0MfylcdUyj5tRAmYMeg6tQWOEuXkl+rweeQc ASt++OQ7eBPKq0naNN1N/4W+aphPDsNUDyqeolQkukYNFsF1+Nm3Wjt2G oSwIMYlG8ZUSv88QBGOu35n0+HWVoPkXj2Iu9Sq12krNigX0wInpBX5U5 s=; Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-02.qualcomm.com with ESMTP; 08 Feb 2022 02:50:03 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg04-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2022 02:50:03 -0800 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Tue, 8 Feb 2022 02:50:02 -0800 Received: from wgong-HP3-Z230-SFF-Workstation.qca.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Tue, 8 Feb 2022 02:50:01 -0800 From: Wen Gong To: CC: , Subject: [PATCH v5 0/5] ath11k: add feature for device recovery Date: Tue, 8 Feb 2022 05:49:42 -0500 Message-ID: <20220208104947.25791-1-quic_wgong@quicinc.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Currently recovery is work success for QCA6390/WCN6855 without the RDDM dump feature, because patch "ath11k: configure RDDM size to mhi for recovery by firmware" added in v5. v5: 1. rebased to ath.git ath-202202030905 2. change a few commit message 3. fix count set sequence of ath11k_core_reset in "ath11k: add synchronization operation between reconfigure of mac80211 and ath11k_base" 4. add patch "ath11k: configure RDDM size to mhi for recovery by firmware" to support RDDM 5. move destroy_workqueue(ab->workqueue_aux) from ath11k_pci_remove() to ath11k_core_free() v4: add patch "ath11k: fix invalid m3 buffer address" recovery will fail when download firmware without this patch v3: remove time_left set but not used in "ath11k: add synchronization operation between reconfigure of mac80211 and ath11k_base" v2: s/initilized/initialized in commit log of patch "ath11k: add synchronization operation between reconfigure of mac80211 and ath11k_base" Add support for device recovery. Carl Huang (1): ath11k: fix invalid m3 buffer address Wen Gong (4): ath11k: add ath11k_qmi_free_resource() for recovery ath11k: configure RDDM size to mhi for recovery by firmware ath11k: add support for device recovery for QCA6390/WCN6855 ath11k: add synchronization operation between reconfigure of mac80211 and ath11k_base drivers/net/wireless/ath/ath11k/core.c | 121 +++++++++++++++++++++++-- drivers/net/wireless/ath/ath11k/core.h | 18 ++++ drivers/net/wireless/ath/ath11k/mac.c | 40 ++++++++ drivers/net/wireless/ath/ath11k/mhi.c | 35 +++++++ drivers/net/wireless/ath/ath11k/qmi.c | 6 ++ drivers/net/wireless/ath/ath11k/qmi.h | 1 + 6 files changed, 213 insertions(+), 8 deletions(-) base-commit: 76680d49b5e0e661bc4abcdaf13fb7e124b4ca08 -- 2.31.1