Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1919798ybv; Thu, 6 Feb 2020 12:16:34 -0800 (PST) X-Google-Smtp-Source: APXvYqygYPnUxcSjKzXW/mklhH1en89SG89Mx4qoqJAjumU/x1YkOvnD8E/yOQ5qpsPQvEXlPrDl X-Received: by 2002:aca:d502:: with SMTP id m2mr7889196oig.41.1581020194073; Thu, 06 Feb 2020 12:16:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581020194; cv=none; d=google.com; s=arc-20160816; b=eR7hRZru70QAZ/ZFH+y8Z8wPm3w6srOooHmIXaUkGb5KgonW6xhguPjh6b0SO9eOuP gPj8w7K7/+RUwMzuoLJLxgBmmwkefnVuHEEgdHU69wsJ+jkhA4qYCk1WHAzA7OwBg65z 132w/MkwhPnF9KufCJJJc+7/h163ciXfngYyzgxm4Yi22Ft3H+13NXjPgAYyB7M5auiC UfOaZZ+RipIX47NB5fPUFZvCVkv+yf5w5XUCxd9zlu5bKfuWztuDMkXB1z6x/KR5PF/t 5XqQekiTdKrHmRbio8O6Q48qxvCoOaeUPxAbmv+yx929NYg674LMojdMZ0g61ZFWWfQk 7Ogw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature; bh=Aw2QY0RfuNhDvnuPVel82lyCKdUmNwWkNYILm+EY9eg=; b=OmS4B2HFIVUHXSX52qG4KYK2J83PNnZ2Vvk3PSsxG5zP2jli0I8PuRGH0BjMZhknDL ZBnLwlk6jjryeywxgtC2AIjSUCvD6hS0nVyXDVtw3NwSAOUnuDqPoACnoKAo4O8h0NkJ WLNFNZ/vy5q+lV66H8sHuA9scmxYShYIFUldfIliyLLFcGf5kArtKlw2GvNwkR2NE/ay PqvLRvV8ZAlWQTySw8iyQ/kkRz9XWcKXteKmL82WH1JQFyaxf7qdqPnquSaSCdF8Hn73 d3X6JanoNMBvP6m+D8a0JhZERMESq0KFfydrgLu0EAF8iHIxwxwTuNbY6QdGCegn8DeP hY2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=ofjNIv0W; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 p28si388659oth.296.2020.02.06.12.16.22; Thu, 06 Feb 2020 12:16:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=ofjNIv0W; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727919AbgBFUPI (ORCPT + 99 others); Thu, 6 Feb 2020 15:15:08 -0500 Received: from mail25.static.mailgun.info ([104.130.122.25]:35701 "EHLO mail25.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727526AbgBFUPI (ORCPT ); Thu, 6 Feb 2020 15:15:08 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1581020107; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=Aw2QY0RfuNhDvnuPVel82lyCKdUmNwWkNYILm+EY9eg=; b=ofjNIv0WLXwxkaTyZdEtH7ixA3GxOMTS5HVieAJWkGPk7KAfoOPNN/Ilg5E6D/TtPB6KGXUj xJAFVq/4lIp7NMvvjg/XbRcObRarKLzoKKA/UkDXKIpsLgKYMBHXzdBtq00CMzAaEe3nuKfN U5ZelFIuvbq55msUeGilg1Om7WQ= X-Mailgun-Sending-Ip: 104.130.122.25 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 mxa.mailgun.org with ESMTP id 5e3c73c7.7fa81c887490-smtp-out-n01; Thu, 06 Feb 2020 20:15:03 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id AB192C433A2; Thu, 6 Feb 2020 20:15:03 +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,SPF_NONE autolearn=ham autolearn_force=no version=3.4.0 Received: from [10.226.58.28] (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: jhugo) by smtp.codeaurora.org (Postfix) with ESMTPSA id A0832C43383; Thu, 6 Feb 2020 20:15:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A0832C43383 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=none smtp.mailfrom=jhugo@codeaurora.org Subject: Re: [PATCH v2 06/16] bus: mhi: core: Add support for PM state transitions To: Manivannan Sadhasivam , gregkh@linuxfoundation.org, arnd@arndb.de Cc: smohanad@codeaurora.org, kvalo@codeaurora.org, bjorn.andersson@linaro.org, hemantk@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200131135009.31477-1-manivannan.sadhasivam@linaro.org> <20200131135009.31477-7-manivannan.sadhasivam@linaro.org> From: Jeffrey Hugo Message-ID: <9c564e9d-6887-80c9-6739-aa7188b8600f@codeaurora.org> Date: Thu, 6 Feb 2020 13:15:01 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <20200131135009.31477-7-manivannan.sadhasivam@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/31/2020 6:49 AM, Manivannan Sadhasivam wrote: > This commit adds support for transitioning the MHI states as a > part of the power management operations. Helpers functions are > provided for the state transitions, which will be consumed by the > actual power management routines. > > This is based on the patch submitted by Sujeev Dias: > https://lkml.org/lkml/2018/7/9/989 > > Signed-off-by: Sujeev Dias > Signed-off-by: Siddartha Mohanadoss > [jhugo: removed dma_zalloc_coherent() and fixed several bugs] > Signed-off-by: Jeffrey Hugo > [mani: splitted the pm patch and cleaned up for upstream] > Signed-off-by: Manivannan Sadhasivam Reviewed-by: Jeffrey Hugo Tested-by: Jeffrey Hugo -- Jeffrey Hugo Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.