Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp327341rwl; Wed, 4 Jan 2023 20:20:44 -0800 (PST) X-Google-Smtp-Source: AMrXdXucX0mS1xqSDYmL+X1V0ueuqyfh6uw4mOixTDKTkC95TPuQeACF+VQp5vApgxkAWKqrdPcQ X-Received: by 2002:a17:906:6b8c:b0:841:df6e:a32e with SMTP id l12-20020a1709066b8c00b00841df6ea32emr55713856ejr.25.1672892444557; Wed, 04 Jan 2023 20:20:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672892444; cv=none; d=google.com; s=arc-20160816; b=RpdajwKiB9utnnmu2TIQd4OHYXtjz4oHKm4sPt9qDIZrZz8lRvTURk4QplftZrofJJ 7rel/nX+VxnEzp7FAGSfk33WCfYyLywcjkw/5Zktl9iB8Pbu4ULE6lFXcZRhLXRCbFUD msbBx551Yvh/YGenPNQGLjpSIGE+9o77QmLKudWjQebdgN8thpPq+Qjtsg+aRPVr+q3n JSTbr2/G5gHoyrlyFJgFh3xPJICDt3UaSyHDX8ex21hqP9fF70PeCiz/Nj77PC0NATSp KmQMy5BgC+5KS/CwD0spV7FyR/S2QYPxsrutF9RuglTwTu/xq1MFlMO5F3cYpabQOZxv Lc/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=17ogLiYv+qSzQPmh13dokklfW+MYYfLxJDhpxao04Qw=; b=daePAhDOjVY0Ax7JZ93RZbBoYZc1idcwoH4AfFBy+MXmXomSZfhi5+6ih6TaxBZ4RH VR+1kIRH/iZfkdmFuITzFZ3D2Biaf8alNtXuJ6PaSLsckYrHDJOuNmshIIuxq/Qjr83m 5gUCBtySaUsOxdv5fa2R6ISZf4Dw+Dftb+KPLOkj8bq2eD3Dq/F0+x83z8Cbb3Yr6QDN Wl94LPZvhJ9e3fiCvfDDZlhRkxNKqX7/pGNSRzIXXebEoJGVsOyUgFhsLMfCwF+G4qOn MKCzDIOV1wcxiz0TgXlUi9hBs+C1QofBkCJSRLTqzdCR2xGrkB9/SX/6fXQbma47QsYF 4Q4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=NSiv0fhB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id di22-20020a170906731600b0081a9c3ca498si33915278ejc.314.2023.01.04.20.20.31; Wed, 04 Jan 2023 20:20:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=NSiv0fhB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230121AbjAEELi (ORCPT + 55 others); Wed, 4 Jan 2023 23:11:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229818AbjAEEKP (ORCPT ); Wed, 4 Jan 2023 23:10:15 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F9FB2C0; Wed, 4 Jan 2023 20:10:11 -0800 (PST) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30520KUj020128; Thu, 5 Jan 2023 04:10:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=17ogLiYv+qSzQPmh13dokklfW+MYYfLxJDhpxao04Qw=; b=NSiv0fhBRk3wxy0c44DXw6o+1Fhak+bfKzFEsW2OCvLP7LOCV8qdz74nWP/T/pZLE3gc jSIr7FjWW5/D7Byt+tQ28l9hsYx9G8v3iwPPiEUrVXzpyYV8qrZOP1vNR9bLzVFp1w1j 4w4dT7KD1pILqduRzfgkVx8RJA70CpcERC0UDFgDt3XfmrlkgN/2HQth8ik3Ht9d7n2O n9fyHcp/bspcU9ywpfHTruLOWtyloWnm9+JYqo9MXaCIsmoeL1Gd/m1tbwhFeNph6hUo l7UAv6TthTjhVqlBjwRMqPG4wWj6RKAsdhl98AF9rQlvZl/MqPY+sy0+idM19VySHLGg kw== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3mwj4hggex-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 05 Jan 2023 04:10:01 +0000 Received: from nasanex01a.na.qualcomm.com (corens_vlan604_snip.qualcomm.com [10.53.140.1]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3054A0YN025032 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 5 Jan 2023 04:10:00 GMT Received: from [10.226.59.182] (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Wed, 4 Jan 2023 20:09:59 -0800 Message-ID: <613e5b54-2e32-640e-a584-df592907c346@quicinc.com> Date: Wed, 4 Jan 2023 21:09:58 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH 1/6] bus: mhi: ep: Power up/down MHI stack during MHI RESET Content-Language: en-US To: Manivannan Sadhasivam , CC: , References: <20221228161704.255268-1-manivannan.sadhasivam@linaro.org> <20221228161704.255268-2-manivannan.sadhasivam@linaro.org> From: Jeffrey Hugo In-Reply-To: <20221228161704.255268-2-manivannan.sadhasivam@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: Msi6NBn_lAWaM8jWLsZuB6iC-ENyILR9 X-Proofpoint-ORIG-GUID: Msi6NBn_lAWaM8jWLsZuB6iC-ENyILR9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-04_07,2023-01-04_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 malwarescore=0 spamscore=0 bulkscore=0 impostorscore=0 suspectscore=0 mlxlogscore=882 clxscore=1011 adultscore=0 phishscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301050032 X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/28/2022 9:16 AM, Manivannan Sadhasivam wrote: > During graceful shutdown scenario, host will issue MHI RESET to the > endpoint device before initiating shutdown. In that case, it makes sense > to completely power down the MHI stack as sooner or later the access to > MMIO registers will be prohibited. Also, the stack needs to be powered > up in the case of SYS_ERR to recover the device. > > Signed-off-by: Manivannan Sadhasivam Reviewed-by: Jeffrey Hugo