Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10444398ybi; Wed, 24 Jul 2019 23:20:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqz7cTHQblT4nzQ1gQ1uoZ2BToBvVCrBihqMCWasyqJIFf/f2LjKesFaxGZuv91JVyrJCAOh X-Received: by 2002:a17:90a:ae12:: with SMTP id t18mr93115336pjq.32.1564035625765; Wed, 24 Jul 2019 23:20:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564035625; cv=none; d=google.com; s=arc-20160816; b=WInmXTZnAs6GohMh3XT75yOvRNq5+UokmOQZ5vXKii5Bky7RlwRXuvg5Jn7GcRkzYV PM9VGpwcCtsM1JMWFF8Ar3dDcMAY72W0ncCBX1JhV/DwPwQzOVR6MTE85Bf0dEP8l+34 Udo+I+bh2WFjEBcWR/G+5w62sbEmygvtP1C4M+/s5zudwHm4bqMrAABMttdqBquy2yFO tcUVdQZ7wEXCVWxiYpKmN256E4hUsVD9lK/BT3QK3mGj6x0ewIji/Xr1ZzOaLcXSgohU SoMny8RV89Ch8HqCGC2rQxkVRV5TWpUNNZLQOPlyJSgFoh9CB1uaVf4Bac6AH55a95Ht UEXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:dmarc-filter :dkim-signature:dkim-signature; bh=fs5Cvf1kGHUO3LWeedovtG56Lp//xqjimKCAtXDDE4c=; b=yWvEvOCjXWb+y7Q7myCyDcLiVrO1s3jRSdK1moSL+vNIxw/nHtQgsWxCx8F5sPMwTh HdC9IgOg05BCfTVS4xG8goBiSkWZYD02VD4izB+kl2drH/KC2/Ho8DrG+S/CbJ4kp6rv b1J3pquM67XqzZM/3lOam5PjvaB5BZB/CdIcatbGgGbV3mQxZvSHLmMG2N3yLbzojRZS toqNC2ptaOzqbRnCOMqL15ijSiRcb8ZOkHcSXoYRBOpqQbsL2fWrriHMR87xRfHYIun5 BFxQymZQ2bWtn06/ke9fl+8/ZmZQ0rQs5AU+Ytoiq7G/X017f48zGK+4Mza/Yme++DYc leiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=bMsF962d; dkim=pass header.i=@codeaurora.org header.s=default header.b=fk8JO0d1; 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 m39si15871177plg.155.2019.07.24.23.20.01; Wed, 24 Jul 2019 23:20:25 -0700 (PDT) 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=pass header.i=@codeaurora.org header.s=default header.b=bMsF962d; dkim=pass header.i=@codeaurora.org header.s=default header.b=fk8JO0d1; 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 S1727208AbfGYF4o (ORCPT + 99 others); Thu, 25 Jul 2019 01:56:44 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:37618 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725800AbfGYF4n (ORCPT ); Thu, 25 Jul 2019 01:56:43 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 4C67C6055D; Thu, 25 Jul 2019 05:56:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1564034202; bh=obQivilrrq99bI/JADOtPPw40Tam6JqkCOlcQ4u07Pg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=bMsF962d6/5hRs8CNVfvOuFh4McgKgeaYjwiNj3rwaaPtAP6v1KZ5KaO+5ayPT7X8 Dk0u0GVbi2sdzFC5siDwnBU1Ll2HS92frYguPRwP1uvbB0SUBU8gLoQwBwEQ/gApbq 43BEiRsKf6jOkmD6Y6EjXSwyN/8B3a+P3AvXqgpA= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 80BD960213; Thu, 25 Jul 2019 05:56:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1564034201; bh=obQivilrrq99bI/JADOtPPw40Tam6JqkCOlcQ4u07Pg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=fk8JO0d1n7CFnbxsgD6H9t57uVvCqUoYRCA9TuaG0rfqi+Tvb2UVr3h4dHScgkhSY EQ6SzMH0UOjrdbwzJYMIgy6mDuQfDqre9tdHdaNcPknctiD6v44h7ISBXfHbXfxEoq tpwl1W30EdWY0/KUbJAxnaMqr9tlLD3iht+TUTO0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 80BD960213 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: Doug Anderson Cc: Ulf Hansson , Adrian Hunter , Ganapathi Bhat , linux-wireless , Andreas Fenkart , Brian Norris , Amitkumar Karwar , "open list\:ARM\/Rockchip SoC..." , Wolfram Sang , Nishant Sarmukadam , netdev , Avri Altman , Linux MMC List , David Miller , Xinming Hu , LKML Subject: Re: [PATCH v2 2/2] mwifiex: Make use of the new sdio_trigger_replug() API to reset References: <20190722193939.125578-3-dianders@chromium.org> <20190724113508.47A356021C@smtp.codeaurora.org> Date: Thu, 25 Jul 2019 08:56:35 +0300 In-Reply-To: (Doug Anderson's message of "Wed, 24 Jul 2019 13:22:22 -0700") Message-ID: <87imrqzmgc.fsf@kamboji.qca.qualcomm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Doug Anderson writes: > Hi, > > On Wed, Jul 24, 2019 at 4:35 AM Kalle Valo wrote: >> >> Douglas Anderson wrote: >> >> > As described in the patch ("mmc: core: Add sdio_trigger_replug() >> > API"), the current mwifiex_sdio_card_reset() is broken in the cases >> > where we're running Bluetooth on a second SDIO func on the same card >> > as WiFi. The problem goes away if we just use the >> > sdio_trigger_replug() API call. >> > >> > NOTE: Even though with this new solution there is less of a reason to >> > do our work from a workqueue (the unplug / plug mechanism we're using >> > is possible for a human to perform at any time so the stack is >> > supposed to handle it without it needing to be called from a special >> > context), we still need a workqueue because the Marvell reset function >> > could called from a context where sleeping is invalid and thus we >> > can't claim the host. One example is Marvell's wakeup_timer_fn(). >> > >> > Cc: Andreas Fenkart >> > Cc: Brian Norris >> > Fixes: b4336a282db8 ("mwifiex: sdio: reset adapter using mmc_hw_reset") >> > Signed-off-by: Douglas Anderson >> > Reviewed-by: Brian Norris >> >> I assume this is going via some other tree so I'm dropping this from my >> queue. If I should apply this please resend once the dependency is in >> wireless-drivers-next. >> >> Patch set to Not Applicable. > > Thanks. For now I'll assume that Ulf will pick it up if/when he is > happy with patch #1 in this series. Would you be willing to provide > your Ack on this patch to make it clear to Ulf you're OK with that? Sure, I was planning to do that already in my previous email but forgot. Acked-by: Kalle Valo -- Kalle Valo