Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4297828rwl; Mon, 10 Apr 2023 08:59:31 -0700 (PDT) X-Google-Smtp-Source: AKy350ZnxeyOvdlUXhyRItXhMNZrCWpSd9tp4QRj1q0YN4bg4gQExvkECHgw1Bx+BLWRnIwlTAjR X-Received: by 2002:a17:90b:1e53:b0:246:764d:10e9 with SMTP id pi19-20020a17090b1e5300b00246764d10e9mr10296230pjb.6.1681142370835; Mon, 10 Apr 2023 08:59:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681142370; cv=none; d=google.com; s=arc-20160816; b=EFtW+bisn/Rkh/G9NdmXPBt2xegBNIMw5/K5KMcp+DTCVPI4L9fX+lxb/7516DM5Gh NgWkUih+uJMyEDry8ci9hfmM/N+qAtCjeawktjvCg9hl2nqu/e8gfPTdyQQKlKa3dY1s NbygyPrwAL8VudL34vIkKRGcCj191dloF2APbKXr400EeHkXG5imNbJ3N8pbGVUGnpFE JzHr6V2SB1iufiSkAJI+fPxMEg2xDTudAAxaRvDaGp1zSXzql9ytD/iZqg1TFDYm1MvU EKewL7t8y24xPszI/yO0WcDtJ9aj9rIfyfIe02EWA5a9maNIxpuh0IuSUjDztG4l884u v1pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=gMyUa43ZmGQPWQRxir7TkMfOZGY7VIn1gBWyvYFKDe8=; b=IF5urQSDydYfaDwVxWUKhS2KSLWrS5EfcGpjt6JEdZPam2Tqxhm4eTPse46526VVeO ZxcJChLDY3wVKVtUVtLXB+QyBFjNrd3FJ8vWOUEof5/hzF8LH8WMUQL0mqzLvGX7k1YW JOCM0O5ry7jxJ3rRJXP4bVsB87SuIbihncEujb8M+q/zakZmMfcwQmqwyF/oy+iZO/UK 28xZB79FszHbGXL9PrESH+GB++Pt9dIfeb3/Qx89zByCceMDKPatAlL01QrFvMq6lS3J Sd7mPDBQVveyJtKj7HQPL2pbAqqObJ/HlZoE7yJ3Hst/eJAvzbm9GCWGqpY6N2iVz5SP uSVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=BXWn1WCv; 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 l63-20020a638842000000b0050fb1a00d3dsi5533706pgd.46.2023.04.10.08.59.19; Mon, 10 Apr 2023 08:59:30 -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=BXWn1WCv; 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 S230161AbjDJP7G (ORCPT + 99 others); Mon, 10 Apr 2023 11:59:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230133AbjDJP7A (ORCPT ); Mon, 10 Apr 2023 11:59:00 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBA56191; Mon, 10 Apr 2023 08:58:41 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33AAmwJb011837; Mon, 10 Apr 2023 15:58:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=gMyUa43ZmGQPWQRxir7TkMfOZGY7VIn1gBWyvYFKDe8=; b=BXWn1WCv8penptuuXdZ7jZGK8KZ5FCm0G7jkvP47CPhiwc5kEsPoRxI5PBWCequKdBD/ e9TiRg3QQbXZCkfwCN4vsEo6ih0j/dXIC+fgz098qB34W8RFPP4BcKwzJ6PJl84QUMVP 51oWwZ26ZSn4/tz8aVgJNX2YLjE+2S8sK074PW8C+XGr40/gXIGdmPO5SBbUNi6vGMS0 wtEhsQTZ4Y36EsfgysE4DTgqjlzJhYbp0nvB3KS4azVGOcpiGmsCbpuV9+mJTpC4qSt+ 9mCS4r2I1QrteihYosqjaw8mScQGBf2vMEC08Nwm+LphWdPIAtnwMDzxwWAglG5yOWmA JA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pu1f4380a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Apr 2023 15:58:31 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 33AFwUqQ015400 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Apr 2023 15:58:30 GMT Received: from jhugo-lnx.qualcomm.com (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; Mon, 10 Apr 2023 08:58:29 -0700 From: Jeffrey Hugo To: CC: , , , Jeffrey Hugo Subject: [PATCH v2 0/2] MHI host syserr fixes Date: Mon, 10 Apr 2023 09:58:10 -0600 Message-ID: <1681142292-27571-1-git-send-email-quic_jhugo@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: Zt6cEzft6_VGL3f8Nj-2BkVoKcBpcZxj X-Proofpoint-ORIG-GUID: Zt6cEzft6_VGL3f8Nj-2BkVoKcBpcZxj X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-10_12,2023-04-06_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 clxscore=1015 priorityscore=1501 impostorscore=0 spamscore=0 mlxlogscore=930 suspectscore=0 phishscore=0 bulkscore=0 malwarescore=0 lowpriorityscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304100135 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Two small fixes that address an issue where it is observed in stress testing that a MHI device could appear to enter a bad state and be unable to recover unless the module is removed and re-added which should not be necessary. v2: -Add fixes tags and cc stable. Fixes tag is expected to give suitable indication for backporting. Jeffrey Hugo (2): bus: mhi: host: Remove duplicate ee check for syserr bus: mhi: host: Use mhi_tryset_pm_state() for setting fw error state drivers/bus/mhi/host/boot.c | 16 ++++++++++++---- drivers/bus/mhi/host/main.c | 2 +- 2 files changed, 13 insertions(+), 5 deletions(-) -- 2.7.4