Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8673662ybl; Wed, 25 Dec 2019 04:01:12 -0800 (PST) X-Google-Smtp-Source: APXvYqwcqHWvel7wU/8nPLk2PtmgF+Ov1x8W/qlnmuEBzrE57APHn3O7iA2ZQFx+L5Z/r7nfm4lj X-Received: by 2002:a05:6830:4d9:: with SMTP id s25mr44515707otd.171.1577275272456; Wed, 25 Dec 2019 04:01:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577275272; cv=none; d=google.com; s=arc-20160816; b=IiIPEv6x8xp2HY/gOA1y7fftxfu355qq1f6uXXI6BriNFEVFJR9ATqCXkLjF/ddq8t MR5aSxH0kt15vVGxpdMKbHnrYbGz+iVOMzYq0GRtARjH1RiHMUsaOSE/8AEY2IxdPvVp nHAD7hR//TJE83qxzcI3g0yQDHjSu30h+r8yXgCepUzlpDOXAibG1ghU3SqHsc0PpnAn 4G2oAjlSHKFhzKC+S/9zEORXjzM4d1BjdNYM8zw5y6gEWPeEFv3vDqB+MeBvVTA/ZgO1 sYQGwiT5obzB7ZnRUWquYmQSVZimT9n+lvRPwuZOznmVBdUfP4+A6iF9Ok0I4fa/srnr Q00A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dmarc-filter:dkim-signature; bh=QgSe2o/5LFUM0oWAOz+4eTS/5OBFDQwVITpXb9+INdg=; b=QmAAqMSmGjgwAfGYtey148I+yUO/DYvZX0w3Aupr91a259AM0PznUqI51+jwtDp4lX TQjhUlckxMoltQuxkNB6nF1twqA1WtQuDkSELuF3UmIkaOQaOBE3X3q6a2ptfUsJP7Bg nI4EZkmOVnnmMPvjORJLvta/Lmbt4V2yjfnbHuBimrdSkf+6VH6/j2AMc2T8UewdI7z2 R7bp4pWjRrwl92+80fsPgLt/j0UKiWYsD23NNoXZKnjDVGNoICZuFMfQ3B4X3i+W6qxf VoW3rPGhPjPNQjT5ZFqpyr1ifuYhM9MVPtiDqQCjhi96DbVOtZkqxYc/Jmr8KHhX0H8o jK2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=WnAf8Zrp; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g6si13125598otk.171.2019.12.25.04.00.44; Wed, 25 Dec 2019 04:01:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=WnAf8Zrp; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726185AbfLYMAk (ORCPT + 99 others); Wed, 25 Dec 2019 07:00:40 -0500 Received: from mail25.static.mailgun.info ([104.130.122.25]:28793 "EHLO mail25.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726025AbfLYMAk (ORCPT ); Wed, 25 Dec 2019 07:00:40 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1577275239; h=Content-Transfer-Encoding: MIME-Version: Message-Id: Date: Subject: Cc: To: From: Sender; bh=QgSe2o/5LFUM0oWAOz+4eTS/5OBFDQwVITpXb9+INdg=; b=WnAf8ZrpRikmemR7eZOLxk3W0eYXfLefI7hwVWVJnkQJ4O7cvao5hCJ8dNIekMZZ965ykNP8 aY7p3fTWtBw8uCFdmoKOkdDwkkbOJlcPoOpRgaq/4j91CPs6x5vrYnSqKvufOoTUu5Pg88NK NuFB7dnMTNZ93/B552OiyitgVe0= X-Mailgun-Sending-Ip: 104.130.122.25 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e034f67.7f4d5239cab0-smtp-out-n02; Wed, 25 Dec 2019 12:00:39 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 00693C447A0; Wed, 25 Dec 2019 12:00:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from wgong-HP-Z240-SFF-Workstation.qca.qualcomm.com (unknown [180.166.53.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: wgong) by smtp.codeaurora.org (Postfix) with ESMTPSA id CFC93C447A9; Wed, 25 Dec 2019 12:00:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org CFC93C447A9 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=wgong@codeaurora.org From: Wen Gong To: ath10k@lists.infradead.org Cc: linux-wireless@vger.kernel.org Subject: [PATCH v2 0/2] start recovery process when payload length overflow for sdio Date: Wed, 25 Dec 2019 20:00:00 +0800 Message-Id: <20191225120002.11163-1-wgong@codeaurora.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org when it happened payload length exceeds max htc length, start recovery process v2: add "add refcount for ath10k_core_restart" and remove ar_sdio->can_recovery Wen Gong (2): ath10k: add refcount for ath10k_core_restart ath10k: start recovery process when payload length exceeds max htc length for sdio drivers/net/wireless/ath/ath10k/core.c | 8 ++++++++ drivers/net/wireless/ath/ath10k/core.h | 2 ++ drivers/net/wireless/ath/ath10k/mac.c | 1 + drivers/net/wireless/ath/ath10k/sdio.c | 6 ++++++ 4 files changed, 17 insertions(+) -- 2.23.0