Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1941954ybz; Thu, 30 Apr 2020 08:08:31 -0700 (PDT) X-Google-Smtp-Source: APiQypI0xwTQX1QZgUvGKZNqGuzNZcKkeg2p8f/NYBz9rOsYC8LiVDzAj2xHzjBI0AZPd5JzquYX X-Received: by 2002:a17:906:4542:: with SMTP id s2mr3271886ejq.34.1588259311514; Thu, 30 Apr 2020 08:08:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588259311; cv=none; d=google.com; s=arc-20160816; b=dZByTd0C/58tBUlDWY04qY/icvMMBNCUlOOd3qe6tEg40ECr97JpL5RRSWgK6GPUBf YgjOtEWu6AMJKC2HiAIaVK+eie7o4lDowoc8FWsxMIvJe+DcDtuM+2+rPPfAhUYwVGCe vY6aEbIw2nk50ITP9bB9/PIfGLc18vmakLw3+OmhnUNmazjj8/MJE4u0+6xlbz8iWgJC 053dFtg3yXNBLSxmpj6AP+wfxERKJnok3GaSJ9NH4ayxRn6I04iNK5PZdf3CxerBO0hx OJbDTzkA061hZhb3DpGaKxSk+V3sSWEvb8Kq+Vm0Sg645GW2t2bhAjMwz63CL6tEz+ql JzGA== 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=GW5dfLBJjjWnScrDTZ2kK+QEViPICxgFM7awMNfN0pw=; b=AprBrZTXyCze6J8hreHUdwY1DoQW6qOJbn5mxu7MFjAMMn03NKGNgZQnI5it0oFnb3 WFsr2hOQdpzxj6ZJjfiAwguoZl/PjbSVMB9zvSPXArJZMg4s2RN6oTJVmyJ7kuTl1gFP 8NSUQhTj//zUEEmeekeYSKQH5stmIzm8qqXaA3rTgUqbhKVkEPWRjFtLGSLgfNnD52Ys TrP9N8faH8fhXlHi4sxXCB1D9QxlW9tdBDMEoJlJnqerB14+rqz7NKcHa5oPi95kQaZy nKy6CiH3k5Ze7UVnMbPurFypKWMM9CfxSijPR+rsJMKUxx1Ab5OqU9pAS89E8ErXjF0k yaZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=cferxkbf; 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 l2si5861622ejz.185.2020.04.30.08.08.02; Thu, 30 Apr 2020 08:08:31 -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=cferxkbf; 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 S1727088AbgD3PDg (ORCPT + 99 others); Thu, 30 Apr 2020 11:03:36 -0400 Received: from mail27.static.mailgun.info ([104.130.122.27]:14806 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726762AbgD3PDg (ORCPT ); Thu, 30 Apr 2020 11:03:36 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1588259015; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=GW5dfLBJjjWnScrDTZ2kK+QEViPICxgFM7awMNfN0pw=; b=cferxkbf9eNCWmN7nIW/y4c89AwRJpv1hA2SwGx+HSm0PNk0whf82OUNg51EjXE31MPhd1ga O9+d4ZxcTFYYNukukWD/mgbea7eSfLahdMsCs7858ubOed7uU/SjfYMlIa72dS8Lbc/RajAE xEpcB6aHdESUwXfs941Zt1w10x0= 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 5eaae8c6.7fb5631681b8-smtp-out-n02; Thu, 30 Apr 2020 15:03:34 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 400C5C433D2; Thu, 30 Apr 2020 15:03:34 +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.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 5EB97C433CB; Thu, 30 Apr 2020 15:03:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 5EB97C433CB 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 v3 7/9] bus: mhi: core: Return appropriate error codes for AMSS load failure To: Bhaumik Bhatt , mani@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, hemantk@codeaurora.org References: <1588193551-31439-1-git-send-email-bbhatt@codeaurora.org> <1588193551-31439-8-git-send-email-bbhatt@codeaurora.org> From: Jeffrey Hugo Message-ID: Date: Thu, 30 Apr 2020 09:03:32 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <1588193551-31439-8-git-send-email-bbhatt@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/29/2020 2:52 PM, Bhaumik Bhatt wrote: > When loading AMSS firmware using BHIe protocol, return -ETIMEDOUT if no > response is received within the timeout or return -EIO in case of a > protocol returned failure or an MHI error state. > > Signed-off-by: Bhaumik Bhatt > --- Reviewed-by: Jeffrey Hugo -- Jeffrey Hugo Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.