Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp3860630pxy; Tue, 4 May 2021 11:31:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyF/D9ctOB3tUXUWQnCBhWef0MlIMApUkFDrUX+53KfS0XISd6mwJ4rXOQcXO0ssVuhzNhp X-Received: by 2002:a17:906:a017:: with SMTP id p23mr23641147ejy.460.1620153113422; Tue, 04 May 2021 11:31:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620153113; cv=none; d=google.com; s=arc-20160816; b=SZZCVIg1Fa1UwafzQoP6Nk+m0hvE2OFFr+R3/Ce1KWOyQojqizp+7Ru7kh5sv917dT 3LaskWa5GdWy55RkITbWGlNLuBj05jQHm4nNNkl6dit4eHgwms0KbDVhtnhGs158+OBA +GE9a/bIw6+ymF08xhGVTFGpu8QhmDMwEGqAaq/1sfhM3ugeQqHLKrRshIZFS/Tn/2Co IP2iXHVPtmLtwwAo3osiORQxXXd3tAR2boH4DzfT3M6Jb5xCl4lM7qcIgytaOOkz5cRN D0nYgGvfdu/V/fLtQfLM5TMoijUVYONOuhJphpYO7UbFNJVj/OrhxqUByJzRmOdyx0oR S+Dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=kQ62OmM8ORKG9tTaimpbfjGu2rXioXxP95VVC0CzHxA=; b=gt1BvlpekQJdOo0ycktRvteUhqJvivM1aEPc5Y927Nl5N5obl8pC2nCwQLgVe4U+wG /MYs68xJ3/hae0XnyDXebstWi3tNn6ob8mdaf6sW2ijHbJHnU7hDjNaPmRg1tWN68V3k XOwJ+zxVmXvbCT+Ay131llpBMBzblHznVVmGc4Mzyl0+N2qzp9Tn/lQBpNN/1GTjfsCh 3rBbdTtSwYYZm8vlfU50su4JxPl4rhHXKR54vMfaA4xiziCwhGxvyvyplWgwuoVs7H4W 1YGvWtGo08iXxe6dgR1av6SmUFvFEDuyKe22VPWkslROtyipfJCyHmMtZj+0CABu0K5G tMzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@quicinc.com header.s=qcdkim header.b=DGs1FKFp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p8si14956260edj.611.2021.05.04.11.31.30; Tue, 04 May 2021 11:31:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@quicinc.com header.s=qcdkim header.b=DGs1FKFp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231890AbhEDRrt (ORCPT + 99 others); Tue, 4 May 2021 13:47:49 -0400 Received: from alexa-out-sd-02.qualcomm.com ([199.106.114.39]:37431 "EHLO alexa-out-sd-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231835AbhEDRrt (ORCPT ); Tue, 4 May 2021 13:47:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1620150414; x=1651686414; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=86tB1ZeQi45Dw3rGD4G74qfgbGne5hAz+b/ViIYbvNg=; b=DGs1FKFp2jTuDwhBZ29AvnIGU11masgedcO4joLxJgGPpxNl0jCGIIxY JKG+kdCkbZd7I76kqnHT3mBIw+V5DNehROsrRWbF3CadIY4lU2La1fuob lHVzHGrGR8kI3DkXO3n0tP4COlJIlgH7uTEFqLdGI95h8kd3kWBQyco/c E=; Received: from unknown (HELO ironmsg05-sd.qualcomm.com) ([10.53.140.145]) by alexa-out-sd-02.qualcomm.com with ESMTP; 04 May 2021 10:46:54 -0700 X-QCInternal: smtphost Received: from nasanexm03e.na.qualcomm.com ([10.85.0.48]) by ironmsg05-sd.qualcomm.com with ESMTP/TLS/AES256-SHA; 04 May 2021 10:46:54 -0700 Received: from [10.226.59.216] (10.80.80.8) by nasanexm03e.na.qualcomm.com (10.85.0.48) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 4 May 2021 10:46:53 -0700 Subject: Re: [PATCH v8 5/9] bus: mhi: core: Hold device wake for channel update commands To: Bhaumik Bhatt , CC: , , , , , References: <1617311778-1254-1-git-send-email-bbhatt@codeaurora.org> <1617311778-1254-6-git-send-email-bbhatt@codeaurora.org> From: Jeffrey Hugo Message-ID: Date: Tue, 4 May 2021 11:46:52 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 MIME-Version: 1.0 In-Reply-To: <1617311778-1254-6-git-send-email-bbhatt@codeaurora.org> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanexm03b.na.qualcomm.com (10.85.0.98) To nasanexm03e.na.qualcomm.com (10.85.0.48) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/1/2021 3:16 PM, Bhaumik Bhatt wrote: > MHI host can fail early if device is in a bad state by attempting > to assert device wake and holding the runtime PM vote before > sending a channel update command instead of performing a wake > toggle and waiting for a timeout if the send were to fail. This > can help improve the design and enable shorter wait periods for > device to respond as votes are already held. > > Signed-off-by: Bhaumik Bhatt > --- Reviewed-by: Jeffrey Hugo