Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4473734ybz; Tue, 28 Apr 2020 11:54:41 -0700 (PDT) X-Google-Smtp-Source: APiQypJB+nwHu1W9lSFqMUn6dkyB3lbueG4HVsb94BSrYIwXAii2kVE31smKWFwIxCw8dh47x833 X-Received: by 2002:a17:906:bfc9:: with SMTP id us9mr24408341ejb.84.1588100081257; Tue, 28 Apr 2020 11:54:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588100081; cv=none; d=google.com; s=arc-20160816; b=dGH9XztkoVDeD9D/pl9w2VCD262b9XNLmDegvxqwHej0aC09rZFY4aRCPkDDBsbiZG /pv8KxJbtaD4HKk95M8C0ntYNjVQKDa0rko4bhKdN0gnn2cWT1NT4gqTNTRY2PdHJ+p4 mro7If4/22qJysl5TrJI1zUkB74f9PYlu2MdhLhMd1NNrYodtorkFq2U5ANhaR+Low3d xgAqnevaMeOrkG3bApDDkvq7pk3J18mOo+tM3aRUmkTbOrU3AfketvrLwOkX6dHFtAmi LsDqC0DTtHrof7I/qks75sHdlkF5Mx1OhsiFW2igHkqsiAQOfP4RbjGrLVryR4+6Anko NsWw== 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=FsLzJHNr0VXH8rbASHfDq+8KzuyxXUdIT4i76FNX04c=; b=WnVQWSSmDGi60ZyBRTRPEdHF7EqhUN+m8uKLkC9bERLgo+YQBo61+MtThgAdTzuurA ZKxBQ33rtJXJoNbwBBqhK6Xlp7oz/zGbFgK6jaPZUEliB/GOy1l1+27BqlcZN00yA7xb Gk4BrEqmmxwwEHs2QnRtQNt0+ZjBs7PNH9G+7fhoZn60ak1NanBsNI/PipSuC2up0vB8 oqeVOvmBQ7OVeGCJyUJ76Nlbm1A5WwkKtID3hk/7SCNuCayo7/uoE0kDDmr8swsAPNXw DCprC+ykUn5sHuUyL5wgPc74ktyjSiU6atQsLJoLkc+NCrvZIKg8M03GV79ioid0cr5X hhvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=a71ArMo0; 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 f3si2089389edw.598.2020.04.28.11.54.18; Tue, 28 Apr 2020 11:54:41 -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=@mg.codeaurora.org header.s=smtp header.b=a71ArMo0; 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 S1730623AbgD1SxE (ORCPT + 99 others); Tue, 28 Apr 2020 14:53:04 -0400 Received: from mail27.static.mailgun.info ([104.130.122.27]:11416 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730821AbgD1SxC (ORCPT ); Tue, 28 Apr 2020 14:53:02 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1588099981; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=FsLzJHNr0VXH8rbASHfDq+8KzuyxXUdIT4i76FNX04c=; b=a71ArMo06QJdB9V+/nO5fIcm2lrL56Bd3tPgFg2e5GDrB1X1Se7Xt13LFW2xD2a6hyPr2Mqj vzx2xZXGd8TXiBP2keNmaOyQYR4eEh3GY9KvDyRFuZbAyU9FHAYZMpOMfP9JyLQXYXOs07Ph KzT2azdD6jn0AfjONuA/0HcSS64= X-Mailgun-Sending-Ip: 104.130.122.27 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 5ea87b75.7f167c8cb148-smtp-out-n02; Tue, 28 Apr 2020 18:52:37 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id ABADCC44791; Tue, 28 Apr 2020 18:52:36 +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, URIBL_BLOCKED autolearn=unavailable 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 47788C44791; Tue, 28 Apr 2020 18:52:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 47788C44791 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=hemantk@codeaurora.org Subject: Re: [PATCH v3 1/6] bus: mhi: core: Make sure to powerdown if mhi_sync_power_up fails To: Jeffrey Hugo , manivannan.sadhasivam@linaro.org Cc: bbhatt@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <1588003153-13139-1-git-send-email-jhugo@codeaurora.org> <1588003153-13139-2-git-send-email-jhugo@codeaurora.org> From: Hemant Kumar Message-ID: <330fe8ab-5ae3-12f1-0298-0c18bfc7ace9@codeaurora.org> Date: Tue, 28 Apr 2020 11:52:34 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <1588003153-13139-2-git-send-email-jhugo@codeaurora.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 4/27/20 8:59 AM, Jeffrey Hugo wrote: > Powerdown is necessary if mhi_sync_power_up fails due to a timeout, to > clean up the resources. Otherwise a BUG could be triggered when > attempting to clean up MSIs because the IRQ is still active from a > request_irq(). > > Signed-off-by: Jeffrey Hugo > --- Reviewed-by: Hemant Kumar -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project