From patchwork Wed Dec 21 17:12:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anjana Hari X-Patchwork-Id: 635933 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96271C10F1B for ; Wed, 21 Dec 2022 17:13:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234831AbiLURNv (ORCPT ); Wed, 21 Dec 2022 12:13:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232763AbiLURNa (ORCPT ); Wed, 21 Dec 2022 12:13:30 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 821E81AF3E; Wed, 21 Dec 2022 09:12:57 -0800 (PST) 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 2BLBGknQ029362; Wed, 21 Dec 2022 17:12:43 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-type; s=qcppdkim1; bh=CMn29wsr62aMmCHGTUz2uzAPFHha9uOMr//sf2hQ1q8=; b=LGl47jNWBKdT0WSCWonusFNGv1ena2OnTUcjXIpVal5HMOhN+e7/E6jb7L1Yusy1ob6c FxeNITz7lOFL0BygfMvG6lzNTKAoQUo0XX0+KBW+xpARv+OokW1wd7HiQsLyAEOHUJoq hqlJilXrp9qIOgJGunO6LorEDDsMtD5yIa7M2T4wp7TNB6WTX4Lvb45No2AdNdNFqsBE r1kMkLQXZ2e/Dg6QYaG0f76AGgHEy2LAhpMDlQpnTHQmjQAeIxxUQ16zc3sw0HXNfPhP kkIcuyMqH347algSSV2a6+L5zNjHS+seE2Qs85reudmPtX7rn0h8sqqG07TQ+FF/rQaf Pg== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3mkcxvbbjy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Dec 2022 17:12:43 +0000 Received: from nasanex01a.na.qualcomm.com ([10.52.223.231]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2BLHCgDQ024246 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Dec 2022 17:12:42 GMT Received: from hu-ahari-hyd.qualcomm.com (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, 21 Dec 2022 09:12:38 -0800 From: Anjana Hari To: , , , CC: , , , , , , , , , Anjana Hari Subject: [PATCH 0/2] scsi: ufs: Add hibernation callbacks Date: Wed, 21 Dec 2022 22:42:20 +0530 Message-ID: <20221221171222.19699-1-quic_ahari@quicinc.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: 7F42oAgguiw34x5HY9uBgs_LyiMiX1AD X-Proofpoint-ORIG-GUID: 7F42oAgguiw34x5HY9uBgs_LyiMiX1AD 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=2022-12-21_09,2022-12-21_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 adultscore=0 impostorscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 suspectscore=0 malwarescore=0 spamscore=0 mlxlogscore=663 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2212210143 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Initial version: - Adds hibernation callbacks - freeze, restore and thaw, required for suspend to disk feature. Anjana Hari (2): scsi: ufs: core: Add hibernation callbacks scsi: ufs: ufs-qcom: Add hibernation callbacks drivers/ufs/core/ufshcd.c | 80 +++++++++++++++++++++++++++++++++++++ drivers/ufs/host/ufs-qcom.c | 6 ++- include/ufs/ufshcd.h | 6 +++ 3 files changed, 91 insertions(+), 1 deletion(-)