Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2402191pxm; Fri, 25 Feb 2022 00:58:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJx4uOPdexjVF7wpjh4yzz4PeVECwHvAFmFXt8ar/C6Fe7mrtS4nCFJRjjNQSRA9VsJdbyVX X-Received: by 2002:a63:344d:0:b0:365:4b07:1270 with SMTP id b74-20020a63344d000000b003654b071270mr5266007pga.482.1645779525631; Fri, 25 Feb 2022 00:58:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645779525; cv=none; d=google.com; s=arc-20160816; b=OfMA5z51Ju4ycWlXKgDcuIQK7VcmhyWeW1GoIwwWAVooHyKkX2V+ZrivYwz4afFZ2F Mqx1jlBCBiBWJkKAN8lcFENxXfEyViVgq10vqHGbcN7j4gF7qZ/h4JWow0oGTzWzxsuF rYZ1E2NBnFX/AzM3bl7fNzfiON9uaGzwNzQDhuw5ZCXTdO+HlmQxO5Xfws6xdr0+IBLM Fqj+fkxF+pijOVMxZvBmRWG3N4M1t8ht40EVQTNcQhJjdNlmQGw5PsgIXG5SPj5AYomU Rt2BGjYxzl0yNekByscT1LrL8f38xeFD2T72Z7+BCnH/sNUv2W+rYSOq5LEqEfLw+0iy fFrQ== 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=8IMlfcAq27Ka0YnMzbwPQW1L2g8qqQgVqD9u0cyrUGk=; b=OGhvu0muBZQzjVggGJ4vyfKH32IrGKXTz6yGjM7+XoAHREjbXSPLYeKH2ryVO++40Z h1+vI5ZAXLs+d5hkrVmYE07lx8LcMcBc1pzDZgYdbgtJt52QBWidaGnzcCLleSXX910z UyiIjzq8MLN6AHNEebnNsjKCTvHFmWrzYGjpa+3+Hf3W2ye0Z6TFX1wn9Azewc/h7BEm SMHA5u1lFWTr7kYRWAVeizxS2MEpJtjxNxL0HOG5XGtSxZ4H14GcRiboQx5QDGy+r+gH /R1ZD0J7BbecyK6aez4DLAFD3cIZn0ae35GueD+kf2PbAhVBoAp1UEASWAFE2cHxzngB hzsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=UGYkl7+D; 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 w24-20020a634918000000b00372c773a33asi1315833pga.458.2022.02.25.00.58.30; Fri, 25 Feb 2022 00:58:45 -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=UGYkl7+D; 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 S238173AbiBYIqj (ORCPT + 72 others); Fri, 25 Feb 2022 03:46:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238395AbiBYIqj (ORCPT ); Fri, 25 Feb 2022 03:46:39 -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 DF7FC235318 for ; Fri, 25 Feb 2022 00:46:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1645778766; x=1677314766; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=8IMlfcAq27Ka0YnMzbwPQW1L2g8qqQgVqD9u0cyrUGk=; b=UGYkl7+DLAjAvmhxgcXNfmhcI0Uji4bA9sw043/vlh1gxD8UytHgHBi5 L2+3riyGtcdBiTkayMUtXckcEnk+9ulK7Gkhre6+RobbNesrUTR20NSm/ yckf7/k490Dj2VG+6i+vvJ/a8kUOEK1xJbKQ+7+4CkZEF/cFJA9AWQVON g=; Received: from unknown (HELO ironmsg05-sd.qualcomm.com) ([10.53.140.145]) by alexa-out-sd-01.qualcomm.com with ESMTP; 25 Feb 2022 00:46:06 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg05-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Feb 2022 00:46:06 -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; Fri, 25 Feb 2022 00:46:05 -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; Fri, 25 Feb 2022 00:46:04 -0800 From: Wen Gong To: CC: , Subject: [PATCH v7 0/4] ath11k: add feature for device recovery Date: Fri, 25 Feb 2022 03:45:44 -0500 Message-ID: <20220225084548.19534-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 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