Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1048126rwb; Wed, 26 Jul 2023 06:58:11 -0700 (PDT) X-Google-Smtp-Source: APBJJlEmFlauGT2Xbu7lq/x283Lel+xCpituTmARhXF/jvZs2nQ1eNdqewQlTRjONj056wLcY+fb X-Received: by 2002:a17:902:d2cd:b0:1b8:6cac:ffe8 with SMTP id n13-20020a170902d2cd00b001b86cacffe8mr2439648plc.51.1690379891079; Wed, 26 Jul 2023 06:58:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690379891; cv=none; d=google.com; s=arc-20160816; b=BW+sAvLcOZYvPKQDhOAF9Qe3GSOECiKKOdBOvKlCK+T5udExH4ocaSbCFz/uiubkoc 1aW31UKmc/3qaXhkTKeG1fLVBYFF8vu/NJG5INVxLB/C597nBKwMcoOqYShdyxg6Xnkk wPqgw+1OyDEA6VKqOrJPxr72I7VkGjKUvvLRGBKAf7j3JngjhANYla5eeV/HfTHRwWVn tZZiYc4OAypUX8RjBE+DHf+zSSWvJ/StVgswS6lErOYquI2ketK6MiQFgeoths038/U9 +qw3VrcB3FgOgPZytdM3aKFRb75iC24RDDpRQm5BsjOteYhWb48LqaQht38K/f9cOVkI l4Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=A508zSLDoUseatTrtGqMUNqw8gyY6AgzMra67HU3zDg=; fh=SZF46NJDpmjJRjNmqZvFOs3JNJCGWSoTLL5wJ/TrF2Q=; b=qO32zt+k1F8JOY7a3UuutSD6vVBvCo9x/niz2DbZuBSp2pPJi3QombvPCwNgPNpkFi JXE8NViDKm5EeegdZL2vrHHBK6pxu5DZDSi56aaYwoz2uGu/k3psczg75Ah4GpaCR55c pjHd4O9yOSNcH6sDfCTcY6GUnUIMx9K3OF3gItmn6rNNr2wwwEVF85sA3gghV7tndTUM tLhd//ZXUw3xy7/UVG4pVPfczJNx2TLv3qvUa+NnjKuiG3LE4AcVG3zGYY9JJAyOOX1j PymvVBu6P1uVfflFvXGwDUjqXP+rEz3jDNq9j707TIZAnWNLtsToI1ZDO9YIpftiMTqX Dqjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=EIpYhdpS; 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 z2-20020a170903018200b001b9d2010c39si14401821plg.192.2023.07.26.06.57.57; Wed, 26 Jul 2023 06:58:11 -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=EIpYhdpS; 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 S234137AbjGZNmm (ORCPT + 99 others); Wed, 26 Jul 2023 09:42:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233501AbjGZNmd (ORCPT ); Wed, 26 Jul 2023 09:42:33 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD9FD118; Wed, 26 Jul 2023 06:42:32 -0700 (PDT) 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 36QCVLOk029874; Wed, 26 Jul 2023 13:41:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id; s=qcppdkim1; bh=A508zSLDoUseatTrtGqMUNqw8gyY6AgzMra67HU3zDg=; b=EIpYhdpSgguoXilVblDJrkLdzp3q/c3dsCDzdTU7w7yZrADM2XpBIIKl85ALfVJX/ncW hmD2blB2bxSOhHYPyXBBn9lrTKOlqUKPohLiszhbJ9TfWG1GzZMTLQLkT6UtSg5gCb8K MTfiNK4Oa/jfSXZWoXSaBuXMzz6Hfk1k+O4UEK8AP6WTBHFxml0qjDi2I1X8DsqxepC6 SD4D9HRghPaG849euejCZbNPg9iv/FRwEyMyz8/wWHr+qKSxD/OEOpY12Y4PUHap3cDI DCGEM2LHlP8Po8aYSIuHO8cxYITBIMDFFQadXeSTzb9f5koJajvhaLImbZBlvM90zHwS EA== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s2fms2mg8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Jul 2023 13:41:48 +0000 Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 36QDfhsl017623; Wed, 26 Jul 2023 13:41:43 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 3s086kxdvh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 26 Jul 2023 13:41:43 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 36QDfh7l017614; Wed, 26 Jul 2023 13:41:43 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-nitirawa-hyd.qualcomm.com [10.213.109.152]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 36QDfgbY017595; Wed, 26 Jul 2023 13:41:43 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 2342877) id 301455001B7; Wed, 26 Jul 2023 19:11:42 +0530 (+0530) From: Nitin Rawat To: powen.kao@mediatek.com, bvanassche@acm.org, alim.akhtar@samsung.com, adrian.hunter@intel.com, jejb@linux.ibm.com, stanley.chu@mediatek.com, asutoshd@codeaurora.org, quic_cang@quicinc.com, mani@kernel.org, martin.petersen@oracle.com, beanhuo@micron.com, ebiggers@google.com, agross@kernel.org, Arthur.Simchaev@wdc.com, konrad.dybcio@linaro.org Cc: quic_ziqichen@quicinc.com, quic_nguyenb@quicinc.com, quic_narepall@quicinc.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Nitin Rawat Subject: [PATCH V2 0/2] Fix hibern8 enter failure during host reset Date: Wed, 26 Jul 2023 19:11:38 +0530 Message-Id: <20230726134140.7180-1-quic_nitirawa@quicinc.com> X-Mailer: git-send-email 2.17.1 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: TvkKdUcu3q5JZYPHcvUrzedI_lwgVsuZ X-Proofpoint-ORIG-GUID: TvkKdUcu3q5JZYPHcvUrzedI_lwgVsuZ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-26_06,2023-07-26_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxscore=0 bulkscore=0 phishscore=0 spamscore=0 malwarescore=0 mlxlogscore=708 clxscore=1015 lowpriorityscore=0 suspectscore=0 priorityscore=1501 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307260121 X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,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 Changes from V1: - Updated commit description to explain the patch. - Added Co-developed-by tag. Nitin Rawat (2): scsi: ufs: core: Export ufshcd_is_hba_active scsi: ufs: ufs-qcom: check host controller state drivers/ufs/core/ufshcd.c | 3 ++- drivers/ufs/host/ufs-qcom.c | 4 ++++ include/ufs/ufshcd.h | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) -- 2.17.1