Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp15115171ybl; Tue, 31 Dec 2019 01:37:59 -0800 (PST) X-Google-Smtp-Source: APXvYqz0pbOy5o0dtgN/Us7D44PG+EGf/+Zq7AWr8O0qWBsx/xPNC93u+eYmswzCGMnu+48lL6Np X-Received: by 2002:a05:6830:451:: with SMTP id d17mr76017142otc.53.1577785079411; Tue, 31 Dec 2019 01:37:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577785079; cv=none; d=google.com; s=arc-20160816; b=bsmfhSkrb641TyP2CooQCVOjHxWARHFEYbMm+ES8s7tc5JE4XNqd2sJ2Y2qKK4/I6f CHIEmqqyYw97oyAhsSQpFjcMrKhS0yxwHjGQO5f26mgmhws4DWOZr8E+45MtJcgnKBF6 3J+oAgBVcc6zXA9q3iLgNZj7UHV4H+mxPT2JzUdA0lw+TDsabxOV0H4g8LP56pc9G6Kc +NOutGzgAqxY1ue62MYfE3g1TDK4pH2cicYwqP+qxZHaKDua3n5AAvbX8Dls+Oxbf1Ob SWe6kJvEX/qhuXiLeyFG3B5edCLSL4Iijf8RnMloaJ8fEBx728CRhUO2i4+8uIZo2GgC ld0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=y5y18m8BZe1GRBDlNusUsV0+XWeFRukqPLy2F+ycHek=; b=cbjhc6/vioeJKZBXeIk1ksuRzXmwqVWemzMe3eZwMyyAlhO/ckqGRubt/TCKXm+u8Q JDq7E3lAKPsQX93yQKcrOM7FWTeSMuMMLXYJL4VvILnnPboDYFbh7q/soV5DuvkuXoWv 1DAmSgg30Oy7MuHEyNej3LNHmQG5PBfBp4gEfGlZ6ByB78s1K3FVHZ7RMG4HHK79eYPd +vm85Ck8h7bcL+wy65T+j7/V+Rncb+kTLYSsH2C8d+cF2CAez0zJ3EN3k1mKqkmZO6PW Pf8+6uXhHkna4BlX27MO70O3D3D5H69uhwyYlz0odIeQqXjbdtcEdI8144p3ScegHInx r9tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=j+ySj4xQ; 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 b10si25469331otp.124.2019.12.31.01.37.47; Tue, 31 Dec 2019 01:37:59 -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=j+ySj4xQ; 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 S1725980AbfLaJho (ORCPT + 99 others); Tue, 31 Dec 2019 04:37:44 -0500 Received: from mail25.static.mailgun.info ([104.130.122.25]:16592 "EHLO mail25.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725770AbfLaJho (ORCPT ); Tue, 31 Dec 2019 04:37:44 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1577785064; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=y5y18m8BZe1GRBDlNusUsV0+XWeFRukqPLy2F+ycHek=; b=j+ySj4xQRifMFCHJvNWdqbxfkDxEcP3pmg55etbE+r/wxEmhfTFri5Tj4tOZRrsHW0NTNwDp +0+oGSe5nAUypxM0zz2ExjmYBif9u0W69RUrO//e+bTGnzZvT9ApKVEm9LlJcmfaMeloBsW0 dcm7HxINLh6+/vAzdsaWwDP9sbU= 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 5e0b16e1.7f42fc4d8ed8-smtp-out-n03; Tue, 31 Dec 2019 09:37:37 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 8DC87C447A0; Tue, 31 Dec 2019 09:37:37 +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 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: wgong) by smtp.codeaurora.org (Postfix) with ESMTPSA id 48411C43383; Tue, 31 Dec 2019 09:37:37 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 31 Dec 2019 17:37:37 +0800 From: wgong@codeaurora.org To: Justin Capella Cc: ath10k , linux-wireless@vger.kernel.org Subject: Re: [PATCH v2 1/2] ath10k: add refcount for ath10k_core_restart In-Reply-To: References: <20191225120002.11163-1-wgong@codeaurora.org> <20191225120002.11163-2-wgong@codeaurora.org> Message-ID: <5f6eb95de0f877b86b90d0c32d458d43@codeaurora.org> X-Sender: wgong@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2019-12-25 23:14, Justin Capella wrote: > This does not only effect SDIO. > > Why a semaphore / count? Could the conf_mutex be held earlier, or > perhaps change the state to ATH10K_STATE_RESTARTING first? > ath10k_reconfig_complete is also called in mac.c when channel is > changed so patch v2: https://patchwork.kernel.org/patch/11313853/ https://patchwork.kernel.org/patch/11313859/