Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2618720pxm; Mon, 28 Feb 2022 02:49:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQgrEktitpU+59kAGfpuTZl/l4BmVVucxkSBobDKwQ8vNIvUC4QjF3xiWqgh7yOqQIAISL X-Received: by 2002:a17:902:ce05:b0:14f:8cfa:1ace with SMTP id k5-20020a170902ce0500b0014f8cfa1acemr19609113plg.149.1646045387733; Mon, 28 Feb 2022 02:49:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646045387; cv=none; d=google.com; s=arc-20160816; b=D3dIOgq9+5ckenU2Ko7tXayk5GFCfCrfZ+uoiwO0RONG5Pqa49Ns4A3qxOq/H/tQ5h qDqfDJmkDjfD0hLZ5+4D3+gO/gZCZ9Qq9HFZw9mFhEAShK3wfjANpICewjq+TNuR+u0X ckhu33Kz3SEceDwLCHD62bcOMr0EnGncMgHZGrlh47O2rLarQUBlb5TeC4/GW4CsPOBc o0GA9I1Kd7CJ5uyLeZeDtnGWgbAdfY1YBh/PhrMWTLUEhF7vfOmnieKK81jl6zpt+pfx 0dpuddb1VXARF+UH7eake9nDnoABb2KPqE3wKByhe2L33wLVCKTmzoFba583Kt9DBprV hQ0A== 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=2Sw8CmSZ7521fZPjWcYMdpdXPX1uK062hnXZMz3LxsI=; b=PPxdJk5m/64YAWbblJ3RmJs0DQw3H6QbgKTmP1dMqZR81latmD7Xgosk1M1bI0jy2W MMhEF2UFlREXTpOorCNGoWMrDk4qAWCmLkurxbLZyI/plyo9+jWdakShvokU0qg6xQWl A86uSywOv5vp/BZ5gTxKXgCv5/72WROW4aWs3kG7HCYGUmkUjpw8y2kYcHM4h+V3S2ES N0dsIrqb9hpLyGQ25y4ztysb/nCDI4j4kyiK9BIDziVg3xyaQFATkGLZqzTywAREbLVG gg9jkrfnhDSgH7mmQm8i3emxiHnck/i3OWCR3Q5Tam9qKeR1T3KAtssdiRGkHGiaC5oX en1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="kO25/o8O"; 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 a15-20020a170902b58f00b0014d23053da0si8481731pls.65.2022.02.28.02.49.35; Mon, 28 Feb 2022 02:49:47 -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="kO25/o8O"; 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 S233328AbiB1GrB (ORCPT + 72 others); Mon, 28 Feb 2022 01:47:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232514AbiB1GrA (ORCPT ); Mon, 28 Feb 2022 01:47:00 -0500 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50E5366C8F for ; Sun, 27 Feb 2022 22:46:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1646030782; x=1677566782; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=2Sw8CmSZ7521fZPjWcYMdpdXPX1uK062hnXZMz3LxsI=; b=kO25/o8OTrRBAf8vJ/WU11rBkRag15yQq6kPlSPpcf4N3FOAgv8r4oau sOPoun/PnbwMGsobQQBptesIguSRxBKx9ZCifsZHFLydoa/dDxjZ1v+aL rHBlmKvQikekVUQLzWg+mwNAlQ6UIj0uRcWNik/Ga8alpytMSw5jJ/YiM E=; Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-01.qualcomm.com with ESMTP; 27 Feb 2022 22:46:22 -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; 27 Feb 2022 22:46:21 -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.986.15; Sun, 27 Feb 2022 22:46:21 -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.986.15; Sun, 27 Feb 2022 22:46:19 -0800 From: Wen Gong To: CC: , Subject: [PATCH v8 0/4] ath11k: add feature for device recovery Date: Mon, 28 Feb 2022 01:46:02 -0500 Message-ID: <20220228064606.8981-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: nasanex01b.na.qualcomm.com (10.46.141.250) 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 v8: change "fail_cont_count = atomic_inc_return(&ab->fail_cont_count)" to "atomic_inc(&ab->fail_cont_count)" in "ath11k: add support for device recovery for QCA6390/WCN6855" v7: 1. rebased to ath.git ath-202202211030 2. add patch "ath11k: fix the warning of dev_wake in mhi_pm_disable_transition()" 3. remove below 3 patch which has upstream. 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 v6: add patch "ath11k: Add hw-restart option to simulate_fw_crash" 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. Wen Gong (4): ath11k: add support for device recovery for QCA6390/WCN6855 ath11k: add synchronization operation between reconfigure of mac80211 and ath11k_base ath11k: Add hw-restart option to simulate_fw_crash ath11k: fix the warning of dev_wake in mhi_pm_disable_transition() drivers/net/wireless/ath/ath11k/core.c | 121 ++++++++++++++++++++-- drivers/net/wireless/ath/ath11k/core.h | 18 ++++ drivers/net/wireless/ath/ath11k/debugfs.c | 4 + drivers/net/wireless/ath/ath11k/mac.c | 40 +++++++ drivers/net/wireless/ath/ath11k/mhi.c | 33 ++++++ drivers/net/wireless/ath/ath11k/pci.c | 12 ++- 6 files changed, 216 insertions(+), 12 deletions(-) base-commit: 193dc0446985372a9b06b7572e1b98e1963c23a9 -- 2.31.1