Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2334818ybk; Mon, 11 May 2020 18:55:02 -0700 (PDT) X-Google-Smtp-Source: APiQypJGsNoN7/rUUibR8A5J1GCxlRDMtqrUrJJiBEhnpkKhHJ7YvJEJH9NR87291HZgs6JC6Uwy X-Received: by 2002:a50:8165:: with SMTP id 92mr8253057edc.263.1589248502072; Mon, 11 May 2020 18:55:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589248502; cv=none; d=google.com; s=arc-20160816; b=jF49H1dsm0XhTUGdVMcaa0isHx83icgUXZrySw1mhD0eujUuSGsvFO6AB9xLJYM5hO UGCxpP9ol5IpED2YyvuavSU+2oep6gocRNwDa8CtWHPmn1mjoFBRfzQKlz8zkONrKZs6 1aprZQVcxmd/kaN7cNOxfU3UZls9QqZ/kqsGAWpvcIx7zf5ov+K1cdQL/LegUWkPotF1 pQhofa4qrZGDOscSZjczHceGT8N4T/a4f6eXPRlHC3hfZo9v6Y4suO2+2zYj95k+u6IV gUVCNV/w7+BYvKChkz3cxq3bV3Um6GRBqGg4KCMGcvZ3viuCJNtVNqfIUPA/vhutBp/Z e1rA== 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=5GcdiONqEv36FWjP2qQN8cdoBoN6pSTyf2ili7mG7S0=; b=0pisbuyk7JL4qv8amisuUoVmE6fbnnZ7z+b6NGX2TccFzAs8/DX5JNm6LbCNH5WJ3x N5yqjYZUUFtIgmMHNPWg+FgF+cgEOBThsKm+APcyikylkr83T2PLM47Vf0b/XK2WZNf5 TF0LVZLaAn95XkL+gDNo4moLsrv6ysaBgqHLqjDdjcXoqmULJMf9j1Gttt96/uFSdR2b eIxZQB3gzYQXGOVL2hu5MrlFkULZKgdfh505yn5LJuJUQFx7dNPe1j0FS4IM8lATq3XZ 99IbGBzJM4f4fSbL4BiMen+fDcRhyepTNOMM1R7LakiPuT/CLbBZGLqGOchNezQjnW8N yVAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=Nig46E1c; 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 x6si7609700edj.56.2020.05.11.18.54.38; Mon, 11 May 2020 18:55:02 -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=Nig46E1c; 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 S1728531AbgELBwW (ORCPT + 99 others); Mon, 11 May 2020 21:52:22 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:55767 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726415AbgELBwV (ORCPT ); Mon, 11 May 2020 21:52:21 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1589248341; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=5GcdiONqEv36FWjP2qQN8cdoBoN6pSTyf2ili7mG7S0=; b=Nig46E1cNAfkXApZHyqWJicOaGOVa96TdjF3ec/zUg9Lf9TwEdBIhTu/1AJ8B8HUX92OTs5c ZQGvM5HhJPFrSYuf8sqAShrcvjYtfKuMJU+wX1vCTVndJ63xcjN6zOfPynsk3Y1Ot/upl+Vl Tg3KRA6c6MJKqFN/mmjd+x1os30= X-Mailgun-Sending-Ip: 104.130.122.26 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 5eba0150.7f297b1a0490-smtp-out-n04; Tue, 12 May 2020 01:52:16 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 07F42C433CB; Tue, 12 May 2020 01:52:15 +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=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 BEA28C433F2; Tue, 12 May 2020 01:52:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org BEA28C433F2 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 v4] bus: mhi: core: Handle syserr during power_up To: Jeffrey Hugo , manivannan.sadhasivam@linaro.org Cc: bbhatt@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <1588868371-8365-1-git-send-email-jhugo@codeaurora.org> From: Hemant Kumar Message-ID: <523be297-0852-e114-44c0-232f30f593c4@codeaurora.org> Date: Mon, 11 May 2020 18:52:13 -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: <1588868371-8365-1-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 5/7/20 9:19 AM, Jeffrey Hugo wrote: > The MHI device may be in the syserr state when we attempt to init it in > power_up(). Since we have no local state, the handling is simple - > reset the device and wait for it to transition out of the reset state. > > Signed-off-by: Jeffrey Hugo Reviewed-by: Hemant Kumar