From patchwork Wed May 20 00:30:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhaumik Bhatt X-Patchwork-Id: 11559071 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5441960D for ; Wed, 20 May 2020 00:30:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3C43D20849 for ; Wed, 20 May 2020 00:30:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="XX4EaTZF" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727941AbgETAay (ORCPT ); Tue, 19 May 2020 20:30:54 -0400 Received: from mail27.static.mailgun.info ([104.130.122.27]:17197 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728369AbgETAax (ORCPT ); Tue, 19 May 2020 20:30:53 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1589934652; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=08T20vkMrFw3x6P4M+RR60tE7Brr4jauqOh0eFtfops=; b=XX4EaTZFnhYCYnOjMw0kY6HL1xmwrYMOJrKWHXTEWuthprSr1V28jAc3lobmz7D3prcscXaj hP0l04iDn3d9XKlJdu+g8VmngBISxCppP+UChaQ+YdZXRSyOGluwH5pLEYesrZt1W6a1YBH8 T7NKVN+l841bIm7t9oBpUMugmss= X-Mailgun-Sending-Ip: 104.130.122.27 X-Mailgun-Sid: WyI1MzIzYiIsICJsaW51eC1hcm0tbXNtQHZnZXIua2VybmVsLm9yZyIsICJiZTllNGEiXQ== 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 5ec47a2e.7f978273ba40-smtp-out-n01; Wed, 20 May 2020 00:30:38 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id EB2B1C43395; Wed, 20 May 2020 00:30:37 +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 bbhatt-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: bbhatt) by smtp.codeaurora.org (Postfix) with ESMTPSA id 63F44C43387; Wed, 20 May 2020 00:30:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 63F44C43387 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=bbhatt@codeaurora.org From: Bhaumik Bhatt To: manivannan.sadhasivam@linaro.org Cc: linux-arm-msm@vger.kernel.org, hemantk@codeaurora.org, jhugo@codeaurora.org, linux-kernel@vger.kernel.org, Bhaumik Bhatt Subject: [PATCH v1 0/6] Bug fixes and bootup and shutdown improvements Date: Tue, 19 May 2020 17:30:25 -0700 Message-Id: <1589934631-22752-1-git-send-email-bbhatt@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Bug fixes for handling of execution environment in bootup/shutdown scenarios and to improve host view of device state. Introduced feature for manual mission mode image loading and allow for mission mode image load from SBL handling. Build dependencies: Patch "bus: mhi: core: Mark device inactive soon after host issues a shutdown" depends on: "bus: mhi: core: Introduce helper function to check device state". Bhaumik Bhatt (6): bus: mhi: core: Improve shutdown handling after link down detection bus: mhi: core: Mark device inactive soon after host issues a shutdown bus: mhi: core: Check for RDDM support before forcing a device crash bus: mhi: core: Use common name for BHI firmware load function bus: mhi: core: Introduce support for manual AMSS loading bus: mhi: core: Process execution environment changes serially drivers/bus/mhi/core/boot.c | 100 ++++++++++++++++++++-------------------- drivers/bus/mhi/core/init.c | 1 + drivers/bus/mhi/core/internal.h | 1 + drivers/bus/mhi/core/main.c | 45 ++++++++++++------ drivers/bus/mhi/core/pm.c | 80 +++++++++++++++++++++++--------- include/linux/mhi.h | 10 ++++ 6 files changed, 151 insertions(+), 86 deletions(-)