Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp103335pxu; Wed, 2 Dec 2020 16:22:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJykny5jXEiZru1/A822auLcd7cYTO9C/lW7xtVrnpiTNzGsfGB2+fe0ytCzBonVzqJYRK9Z X-Received: by 2002:a17:907:2179:: with SMTP id rl25mr298814ejb.470.1606954940496; Wed, 02 Dec 2020 16:22:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606954940; cv=none; d=google.com; s=arc-20160816; b=aRY4SN0WyYIDIJqvP8O5M02DbSp9wMmHp6J34Ob5SVRJSQ+17L76v6YDBYM87P+Dts 96SddlpQ8CIzqtnB6cIu0BjjlXWSPrZWhSizKkoDh7k7e/WyWhNilQ7ZGzH7C+cL5T6I jCNzynAuk6kSP2fAA0obOiuKoPgAP01fCGtaNO5sB6FHZAjsV9yBxy4fXrGq95bxNge8 xhlttGeRD75a03nWz42Kd3EBM5PK3iyUWZyY/qMYMAq8mrPt+7zpHvSUoDz2+MbXopSN PcQANkVJsZgsX8CoCaR6+StPRDiOBBbaqa0R2UY+dIXbgWYpsd25oCBc47KUbqVazFm+ nACg== 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:dmarc-filter:sender:dkim-signature; bh=b0S5DL/Gbp9GtpsU/9o0DzPmIoUm6yWNQHlIN4bBaz4=; b=J3LAzTKLVwNs/Z+Je1NSsj9C2lQzfjAHV3hdnYzgk+ajEPGnzOKFvsLcDp2MsTREaM FSkVv3eo+v06nuMy/oKVVrPQgN6C9QTtmhL37KwSpaFXF7YKUjkcGNazbq/4B/W76ZZL aNNGo2ZQmsLdPh51QM/xjh/RTGJYoA/63A7MSoTNMIWVzrXvVEtx4CrirNcoKjhABwKa x9eDRJdgpZ5G/1qmaEmIVAcXVS9y19oiVm60+bNxZF+sh9Kry3IUAPbMK9tseMv30OdE Nygy+gTLfdtDHeoN8k6ZG+isjIlIMxaoJv5+Pgzw2RVfIwM4+Q3JMjHLXQ4WJQsAURSq x16g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=Y4ZpcTyD; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p19si242336edu.169.2020.12.02.16.21.55; Wed, 02 Dec 2020 16:22:20 -0800 (PST) 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=pass header.i=@mg.codeaurora.org header.s=smtp header.b=Y4ZpcTyD; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728516AbgLCAS3 (ORCPT + 99 others); Wed, 2 Dec 2020 19:18:29 -0500 Received: from m42-5.mailgun.net ([69.72.42.5]:31852 "EHLO m42-5.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726815AbgLCAS3 (ORCPT ); Wed, 2 Dec 2020 19:18:29 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1606954683; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=b0S5DL/Gbp9GtpsU/9o0DzPmIoUm6yWNQHlIN4bBaz4=; b=Y4ZpcTyDpVWaxhCzEWLYOLqvMp1Ud7DZ/DYhT2yZLjS4LX8hb/fNUg8olGoALpWjXgff/8/Y 7ou/PsbMNKGvme322JqdSpvVeULE8SbxHoS3j2TAY4HTtDhYd+aQ1qHcOehJEZEXAoPeFNGp ++se9IiNJJYKiTYDCQMClHYG/84= X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n09.prod.us-east-1.postgun.com with SMTP id 5fc82ebb89b9bc6268ecd61c (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 03 Dec 2020 00:18:03 GMT Sender: hemantk=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 50DB0C43461; Thu, 3 Dec 2020 00:18:02 +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=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, NICE_REPLY_A,SPF_FAIL,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from [10.46.162.249] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: hemantk) by smtp.codeaurora.org (Postfix) with ESMTPSA id 5FAACC433ED; Thu, 3 Dec 2020 00:18:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 5FAACC433ED 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=fail smtp.mailfrom=hemantk@codeaurora.org Subject: Re: [PATCH v3 2/7] bus: mhi: core: Allow channel to be disabled from stopped state To: Bhaumik Bhatt , manivannan.sadhasivam@linaro.org Cc: linux-arm-msm@vger.kernel.org, loic.poulain@linaro.org, jhugo@codeaurora.org, linux-kernel@vger.kernel.org References: <1606952438-15321-1-git-send-email-bbhatt@codeaurora.org> <1606952438-15321-3-git-send-email-bbhatt@codeaurora.org> From: Hemant Kumar Message-ID: <0759bdc2-1c25-acde-5d1b-451c6f6e73d7@codeaurora.org> Date: Wed, 2 Dec 2020 16:17:59 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <1606952438-15321-3-git-send-email-bbhatt@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/2/20 3:40 PM, Bhaumik Bhatt wrote: > If a channel was explicitly stopped but not reset, allow it to > move to a disabled state so the channel context can be cleaned > up. As the channel remained in a stopped state, its context was > not reset and cleared, which needs to be done if a client driver > module is unloaded or a device crash occurs. > > Signed-off-by: Bhaumik Bhatt > --- Reviewed-by: Hemant Kumar -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project