Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1926176ybz; Thu, 30 Apr 2020 07:53:19 -0700 (PDT) X-Google-Smtp-Source: APiQypKbmiGJBjuM9UsJlCZGQvUCAdOyXMTcNQbrPxAOBMMjpg3o9OxsUUvCKfewEzn1EP2EttMT X-Received: by 2002:a17:907:9489:: with SMTP id dm9mr3159782ejc.9.1588258399752; Thu, 30 Apr 2020 07:53:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588258399; cv=none; d=google.com; s=arc-20160816; b=Q75mhqvo/emW4gog2TP4CnOBRm8QgA122SNCj6bkWwmRSFFtXBjfEiGzojyF32L6/M LytH7YX/48gJKyDCxBPWdVWlU6BtipjyJF0zMq2KxLCyg603VfixpzXtbgv5ZsPR1E9i 6CEYqEuKyJqF4QTJHa9LQp7p4x1TUQLxSY7H2utoIoto2pxI3sM1UgaLKj8WDYk10tv0 zEr2RdXn0Tp1bURpi/RgLESgItj6nhVBkl+yV517E9uDM+EGnhQROs3lzrH8h9rg5u7i XG0c7Z5Gnx1VRvpM6DjDu5d2+nRn05iZCR6orHRT62/FFJ5hZX3JyXmXNqZWr9s5tWKF TLXA== 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=q3qqE41UiR+ahLP2ynjWj268x23dFGPbMRxr62ClU3M=; b=hfYlwWIKOq+5t6u6DJ68D4AOuzFBnRBwSv/oNMNop8voTvrDBGekUzOvVj7AkqCfRj Q0La1/sZoOKwn8q66x68RcfPuFlirTKYcefsg1Vc76tmpcgFRhDTXG/ozXoB8PwJMt6B pbM6JbLzvKZTTkqclTtz4FwKpRw7LBulgRQ5uDZUlMJrXTD3orAhEZ/HZVSqsmUAQbu7 BuN/knlGSUunQhFKBq0YZhiDKi9pPhUCA5CP4O5eCkqYXQJFx7TaiDl+sq5p0F3/GZ1C DB2uFt5UJ0up2WMuWSaLcOBteWO10WdTk+j1OM0Fww5HL6E1REFhhOHsxbTeCqN4Fxtj aUCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=jK2UrJCV; 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 w10si5380519ejk.157.2020.04.30.07.52.55; Thu, 30 Apr 2020 07:53:19 -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=jK2UrJCV; 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 S1726447AbgD3Ouh (ORCPT + 99 others); Thu, 30 Apr 2020 10:50:37 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:41249 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726366AbgD3Oug (ORCPT ); Thu, 30 Apr 2020 10:50:36 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1588258236; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=q3qqE41UiR+ahLP2ynjWj268x23dFGPbMRxr62ClU3M=; b=jK2UrJCVG9PL3jt0MHr0DbxZE+It+sMcDoeQnrkB5uNz5z1yRKkmmwBhbkfF08ZeFvBxRaOr O78X69iy7O9hEz8Gb3/9PkhPY8H5RaWwmJ+8bInr3xPpb1G/1Cpyz4CcHIZ/XUHrlVg8Wdx5 PB25Cq0H/5THvbPCSV3B7PzczTc= 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 5eaae5a9.7fc6e0f516f8-smtp-out-n05; Thu, 30 Apr 2020 14:50:17 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 5B47BC433D2; Thu, 30 Apr 2020 14:50:17 +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 84E75C433CB; Thu, 30 Apr 2020 14:50:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 84E75C433CB 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 5/9] bus: mhi: core: Handle firmware load using state worker 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-6-git-send-email-bbhatt@codeaurora.org> From: Jeffrey Hugo Message-ID: <57cbc636-9d20-9367-4667-b8ff5add17f0@codeaurora.org> Date: Thu, 30 Apr 2020 08:50:15 -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-6-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: > Upon power up, driver queues firmware worker thread if the execution > environment is PBL. Firmware worker is blocked with a timeout until > state worker gets a chance to run and unblock firmware worker. An > endpoint power up failure can be seen if state worker gets a chance to > run after firmware worker has timed out. Remove this dependency and > handle firmware load directly using state worker thread. > > 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.