Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1183169rwd; Tue, 16 May 2023 13:05:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7qtAq/zoAtP+K2ZACPOX7tsW05/z7FQC5U3EMfKQwTOkTx34Ss3zhgK32gnFU2KTl5Swc9 X-Received: by 2002:a17:90b:33cf:b0:247:2152:6391 with SMTP id lk15-20020a17090b33cf00b0024721526391mr38465653pjb.17.1684267551654; Tue, 16 May 2023 13:05:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684267551; cv=none; d=google.com; s=arc-20160816; b=own5Uhl5hNxQueaXkgD5bLK5Gn5wViZ+iuEKzHsEghngQFXl6IqK2gh4kuMW+Z1juF Ym8bTTks/pglR2L+yOu1P6n1MziCyIAVMHZn7PMUyMO70uG7mPu4rIp62Bqdo8GHfto4 s2iQPi1ZKtTCNtlxVzYtZZ+/+YYbLWsXSrViU3Lb5UVw3lC+DSwImIfxPHFpRnoQDctC WmQm8sG5Nq5HXfuPP5Xfxtdr1N05iUgtP9d8XBWLkNqwkJwCQGehjboSa/Gq0HtQjLAh cqZB17h1eDnwMpI4xQH711tBZoFapvcerLIEd7GqNuEKpI+8Hyz4omfxy9lOlBF4Suvo ILCw== 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=gTTMdHgGaHY74r3+9Co7IUUVET6Ym2vBbJIGXgiiyc8=; b=XpVhRdquPQtPiJ/o6uDH5JcJOB19pXsv+KMob72TuqOIh5whtks2iHsXU/N+eEgiFF WQYBGSKurg+TdjZHd1Hn4pdmCHbImXNF1j46xm45VvAQHSjpOQPC3qQ+oaZ7/tGvR1Ng 8Vc2+anHDw9RLVaZlt0NwOdR3X1SCtavit0pq0svlQ4yrYfdx5w4lO36jP7/kom0vNdi Tq/smC+1MaVjke0tuHysvNLuyTgnFOEWvxBCjeGn8vIUwkU+3kqpnaURbih/vEz5aphG zsewgdcGnlqCYYVyhLHA7N6ISjDM0RAacs7QPk5sPgaYCGCxG5/hYAXGyYekMezG0vdd Dx1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Oi+6PW4B; 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 a3-20020a63e843000000b00518b499da54si20246139pgk.897.2023.05.16.13.05.36; Tue, 16 May 2023 13:05:51 -0700 (PDT) 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=Oi+6PW4B; 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 S229913AbjEPTnY (ORCPT + 99 others); Tue, 16 May 2023 15:43:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbjEPTnX (ORCPT ); Tue, 16 May 2023 15:43:23 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0557DC49; Tue, 16 May 2023 12:43:01 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34GIatK0026336; Tue, 16 May 2023 19:42:31 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=gTTMdHgGaHY74r3+9Co7IUUVET6Ym2vBbJIGXgiiyc8=; b=Oi+6PW4BueM8mVhU8frLIWTLos4RQZR9EnZSJr47lG8JrCVK6TIwwq5q8AT8X1QSbQOY LiB/PLJrtk3EX6WPJZ1HKUaXoaFfIcDdvQ+htZvhW8kLVphDHuCPR82yIG6gNN6hDFQP cZG78SNUGozzPrh9vzHgid1HdqbJHakVWF1rYs9o0Cgir1Rs/vw2eRduV2LivTEC2zZ2 OxVdF0XcebKL4Zv0+65E3ZkTDnKPOKnsjKKGez2RGZgjhffxyCIEjjfeoaBSlkr43mX8 PMGYxJrrlxogyv/UJdBy/aFz8iPa2xeb2hFcXIqzHJNmXYx2VKGicoRo1Q6I4/k+qWGT tQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qmcc60gve-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 19:42:31 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34GJgUet023368 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 19:42:30 GMT Received: from [10.226.59.182] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Tue, 16 May 2023 12:42:29 -0700 Message-ID: <08763c37-38b0-5964-67f0-95f70a0685e9@quicinc.com> Date: Tue, 16 May 2023 13:42:28 -0600 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 v3] bus: mhi: host: Skip MHI reset if device is in RDDM Content-Language: en-US To: Qiang Yu , CC: , , , , References: <1683857158-9804-1-git-send-email-quic_qianyu@quicinc.com> From: Jeffrey Hugo In-Reply-To: <1683857158-9804-1-git-send-email-quic_qianyu@quicinc.com> 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 nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 8PS3bYOKLfuVHtZ0Ea3cf2TWol6xErNT X-Proofpoint-ORIG-GUID: 8PS3bYOKLfuVHtZ0Ea3cf2TWol6xErNT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-16_12,2023-05-16_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 impostorscore=0 phishscore=0 suspectscore=0 mlxscore=0 bulkscore=0 adultscore=0 mlxlogscore=999 malwarescore=0 lowpriorityscore=0 clxscore=1015 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305160166 X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 5/11/2023 8:05 PM, Qiang Yu wrote: > In RDDM EE, device can not process MHI reset issued by host. In case of MHI > power off, host is issuing MHI reset and polls for it to get cleared until > it times out. Since this timeout can not be avoided in case of RDDM, skip > the MHI reset in this scenarios. > > Fixes: a6e2e3522f29 ("bus: mhi: core: Add support for PM state transitions") > Signed-off-by: Qiang Yu I believe Mani will want you to CC stable. Assuming that Reviewed-by: Jeffrey Hugo