Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp665509pxu; Tue, 6 Oct 2020 16:22:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyi1bgSxQEjScLsEPeILO/VQ8ZVrZKAyinabyv9Lyn78iSIhX6B3hP6GV56f9h5LxfJHCr7 X-Received: by 2002:aa7:c3c7:: with SMTP id l7mr499421edr.213.1602026521430; Tue, 06 Oct 2020 16:22:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602026521; cv=none; d=google.com; s=arc-20160816; b=ww9TdAQqH/+OZkPVlhuKv0Isjr9EefFEwMmvBTjmd7d4CUWtfFHeSiD7sXsB6/TXqL 6kdvHWPP6PLLzdbj7N0Av/yHGMxjPLsa2z13sGELegd+sC61VKNI7rCvTYjF4AQ5j4on T+JPJ0dqWYchZNkHPJbMnyd1roS84bio5BoVQFTOYpqOzWIQdMRreGztQ4b+ji5yACaM 0MluY5Xya1TrnrUGsl8w5KUn2oy30LyLkKPIKs5TmbFK2fXp+nzYc+OqLPVrAnhSKuyA 4n63uTfH3BO71/irY1is97PI8IRNlJe+taXh9QJEWP5LW+XW+5pipOjczRduLGrGKg+6 dmzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=5fBB2dN7PdVdzeo2GaMVbE6RJ04Kn9xtAgetaWZ+zY8=; b=t4BoFznopg5M/y6it7G1qI+ejbN//p1dPEAOfL4hBuztA2W5wLl+5bvosoS63C+EPz 7ESnsQszqui1FTGe9j92RJkvwLKaEPoS/1wvAXTbRVqz4tsg+cymPcT0NVM+S2xZKSFm M0ZtyoWcj8kI51b2CbD9a/uixVlz/E/Y18636kH5f9hn4/hSC3I2ZJE2wsRf81oy9pXa wJmTGxBxkYyAfEKFFtfGK8POZ/TNjjjzWdUMRSLtP4MBVqXojwvoey08HPyme4Lmp0Rw YjRBp9Xv9E/lZRpeFIsdjN9OLNdQpR3PsEMXsLpFJHbODnFTyoJGyU5k9M/XKfuiOpGd jbSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=j8ntnkFT; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r2si171087ejr.265.2020.10.06.16.21.37; Tue, 06 Oct 2020 16:22:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=j8ntnkFT; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726817AbgJFVwp (ORCPT + 99 others); Tue, 6 Oct 2020 17:52:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726810AbgJFVwp (ORCPT ); Tue, 6 Oct 2020 17:52:45 -0400 Received: from mail-vs1-xe42.google.com (mail-vs1-xe42.google.com [IPv6:2607:f8b0:4864:20::e42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E964C0613D3 for ; Tue, 6 Oct 2020 14:52:45 -0700 (PDT) Received: by mail-vs1-xe42.google.com with SMTP id h2so52410vso.10 for ; Tue, 06 Oct 2020 14:52:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5fBB2dN7PdVdzeo2GaMVbE6RJ04Kn9xtAgetaWZ+zY8=; b=j8ntnkFTswigoDlM2kyeqSJnc2fj4esZFkzvc+ruGDYe/EKQ32ogWQakV7iq525v7z bR0JIdfXxMtuGKKbkC97ikiGOh7EOcbTBoXZXD1aIuwSEEFV/PdWgWZmSjmtXw6A172S AShlaJNKVdo9XefO6oV2tFPa9wc1RaopZv+K4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5fBB2dN7PdVdzeo2GaMVbE6RJ04Kn9xtAgetaWZ+zY8=; b=BKBiriEbtAZnUqt3wxyeQ6LPhUBiip6ETzcX7GzUrfWLKex/uOizsYPA5SID3QBaOK ROzrqL9w/x/05Z+a7oz0Si3BhQEChxhYf8lZ8kt0c6Mb5GkkhKWTDjN9BuotfFeL8Wm/ gBIP1xxUqYeojFbPEgvYWHD+fGZTuTzuw0Jws96gEBL9KhlhEJZcmAlpcShui6K+gUOO 13UPnb42mgZe2zdP+IGY0AJGloq8rm+4hqkLFYyxU0qm9zXRYd+D4L4jiMbSHm57EqPG 5f2Ly5FJ7Z6Yh3Yrxo4wB3jvZbE3KmIMqT7YcESO0zdNToNG627hZKh5XxuegkLbmTRe HrYA== X-Gm-Message-State: AOAM530lz6j9JxNB09FUePYm98x2pZW7fmJ3yNadp8kjGeGYeWFH2B9d sqPBvyXtK/WYDbgAm6ey1jSEO7ymeccJatNosHbp2Q== X-Received: by 2002:a67:f857:: with SMTP id b23mr57260vsp.10.1602021164282; Tue, 06 Oct 2020 14:52:44 -0700 (PDT) MIME-Version: 1.0 References: <1601997621-12056-1-git-send-email-bgodavar@codeaurora.org> In-Reply-To: <1601997621-12056-1-git-send-email-bgodavar@codeaurora.org> From: Abhishek Pandit-Subedi Date: Tue, 6 Oct 2020 14:52:33 -0700 Message-ID: Subject: Re: [PATCH v1] Bluetooth: hci_qca: Wait for timeout during suspend To: Balakrishna Godavarthi Cc: Marcel Holtmann , Johan Hedberg , Matthias Kaehlcke , LKML , Bluez mailing list , Hemantg , linux-arm-msm@vger.kernel.org, Venkata Lakshmi Narayana Gubba , Rocky Liao Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Reviewed-by: Abhishek Pandit-Subedi On Tue, Oct 6, 2020 at 8:20 AM Balakrishna Godavarthi wrote: > > From: Venkata Lakshmi Narayana Gubba > > Currently qca_suspend() is relied on IBS mechanism. During > FW download and memory dump collections, IBS will be disabled. > In those cases, driver will allow suspend and still uses the > serdev port, which results to errors. Now added a wait timeout > if suspend is triggered during FW download and memory collections. > > Signed-off-by: Venkata Lakshmi Narayana Gubba > Signed-off-by: Balakrishna Godavarthi