Message ID | 1674597444-24543-1-git-send-email-quic_jhugo@quicinc.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2394106wrn; Tue, 24 Jan 2023 14:05:38 -0800 (PST) X-Google-Smtp-Source: AMrXdXua7vhsBdWT/ADLOuZu2P2YZD2rFg7EbWv6+PSQeyIolHJ21W2CE3yUgEF9fB8CtIgB6qJL X-Received: by 2002:a17:907:2159:b0:849:e96f:521b with SMTP id rk25-20020a170907215900b00849e96f521bmr27119125ejb.32.1674597937775; Tue, 24 Jan 2023 14:05:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674597937; cv=none; d=google.com; s=arc-20160816; b=f7mv2QdlCZZyp85Gd6vaW5JBp0VQJStEAWm3TNsxTR0hlMKbzI/qVk9kKU39nho9Y6 G6vao5of4pTZynHG0EADdq8N2AeALO62ARYj56mKdA/M7nNclI/2CKsEvU5Os8/s5hkj tRgj8skFlj66IgXTOxS7Z34vSVZXjuv6uhxQ8FN9WR8IMjde+zwrR6d+DOsuZANptQku ql180z1BUifSxbgatTU5zjnYU81Ico+0GX6R4k7WHEJBD34wAnEVxH/bA4OhsII0o31E GaKWAYo+yHaDDyaYuo8Ub6vkL/bQ7lriN2UzFmO6/1O+BwdRnLjExcKgu26n7wAQd/65 XbFQ== 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=/3t6Ul43D/U4MVqFsDlfvNyuYMKr31kFdBiILMCnGfo=; b=zbkwHUySpJOnGJrE0J6u9haHvhoy/3NLzrsSt9Mwgv9q9zDBAiI0uh3viCgI/uaA+6 SJMI/kwbUgh22bc/hbshnTkZsGR1ztZp8vA1dukrsXGptVj44C0vl6fRj+p1ta9rKnwT 5m+jf9zbZJ4b14wNsDZTHV47IkKkJUshYCOBA/plI86u5LJ17/MvIHEhy73sqpYbO6cH 6gj4IfNdJjW3GdEuJ4pHnd6H1LalpmxLXKN3CrMCyPH50ICt5Gy9R7/v3kQhrcTrfOvy +eBlDcNAA9reYyD5nQC7Wkb9PK/dQ20r6e06+qt/jIj2wxLnjsiolymwV/Tsn+T5zSpt wZxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=YHbwAywx; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z2-20020a056402274200b0049db071cacasi5428946edd.349.2023.01.24.14.05.13; Tue, 24 Jan 2023 14:05:37 -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=YHbwAywx; 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 S234079AbjAXV57 (ORCPT <rfc822;rust.linux@gmail.com> + 99 others); Tue, 24 Jan 2023 16:57:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229545AbjAXV5z (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 24 Jan 2023 16:57:55 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A79394A223; Tue, 24 Jan 2023 13:57:52 -0800 (PST) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30OKYCaE022236; Tue, 24 Jan 2023 21:57:41 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=/3t6Ul43D/U4MVqFsDlfvNyuYMKr31kFdBiILMCnGfo=; b=YHbwAywxZue/HLZ2vZ8oY06ARTeSZQH0vMgCbmTrO7O3UtfVweFnqeDiyfCjIipntie6 qo8WRX9YxCLdN2RylCcLvjGp1oH+b9VWAhH+yAF520lRo+7KlFpo0T0G3SOxoAkNuW1b UvANy5c7Q6TgHN5BATQRBGnVw8G0wx20u09DKJYRYFIaenTR/LAm+d/zP7xLvOG6dd2f 9Vi8Hq6EWZT3pMdDC1tPS0mmmS+bXHDbQZzqmhI9+hj1LRNYHGdd2ooSN24TJSsmCbAv QyHJg/A+8rOCwh+vlE5PVBiM5qcL2ua7ivmqjVe9uZdK3aaFwQR2MUlt7tNLwtMuAMCm pQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n89dndxjw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 24 Jan 2023 21:57:41 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 30OLveCq026026 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 24 Jan 2023 21:57:40 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.36; Tue, 24 Jan 2023 13:57:39 -0800 From: Jeffrey Hugo <quic_jhugo@quicinc.com> To: <mani@kernel.org> CC: <mhi@lists.linux.dev>, <linux-arm-msm@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Jeffrey Hugo <quic_jhugo@quicinc.com> Subject: [PATCH 0/2] MHI host syserr fixes Date: Tue, 24 Jan 2023 14:57:22 -0700 Message-ID: <1674597444-24543-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: ATm4WQtwur1H_c10HPMZWOqm2_icacje X-Proofpoint-ORIG-GUID: ATm4WQtwur1H_c10HPMZWOqm2_icacje X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-24_16,2023-01-24_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 clxscore=1015 lowpriorityscore=0 spamscore=0 phishscore=0 mlxscore=0 bulkscore=0 malwarescore=0 mlxlogscore=991 suspectscore=0 priorityscore=1501 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301240202 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755943207515782771?= X-GMAIL-MSGID: =?utf-8?q?1755943207515782771?= |
Series | MHI host syserr fixes | |
Message
Jeffrey Hugo
Jan. 24, 2023, 9:57 p.m. UTC
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. 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(-)