Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1848256lqg; Mon, 4 Mar 2024 05:55:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXgveJkpF3DlYhWJ9IUNhnmOwq7alAS8zVoZIxlSbGWEa4KJUKwG4BCSeihsg4osvOjgvuhriJdt4cqhAfXKhndMXEqD/KDNesTMn02oA== X-Google-Smtp-Source: AGHT+IF0n1WwCFF/h+UWSlK0iNF17cFGOgnPelCcHpHXbWL7l+HKL5ZMO0pveUy3Wz49I1QJ8wzN X-Received: by 2002:a05:6808:2a6a:b0:3c1:bc74:1037 with SMTP id fu10-20020a0568082a6a00b003c1bc741037mr8239495oib.52.1709560526073; Mon, 04 Mar 2024 05:55:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709560526; cv=pass; d=google.com; s=arc-20160816; b=LW1t0UbIMazsI9bmTL7CbHvU9RSxmPAqsY8Cer8EtctcevDLYNsqFWJd4jgGisnYS7 8m3c0t8vprcn+GEnicGKhZvJWl6UaNj9XUarhmr3U4ykj1STalVxBx5WRdc1tc5y7rCF kkMJuXJFW5vTN4knvE8E6Q5Ni4veA3P6piMl/9X+Mu4iLa/PcOFlYoUjguXuSSsPkeXc HFcQ3g0L0bgH+yYw9x4rIznjdRbQ5hwMk6lHpok3HSJo9o98xhv428f6J/fbY4H1YLM9 AlqryIsrrwQ2XuwLnjHYehfjUS/drDBc3UNdIiWbb3v4zTYgwCgBSc/E/oUVyjLGogcr KBYQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from:dkim-signature; bh=59j3cPuBFO21Qe0hjlg1itT25ek1fVrsV6C+IVu7aNM=; fh=BUVFUWhdsRvtylOS6YZwzUDTgtpbLp4Lx2bcuHBZgeI=; b=qmPu5pf9yzeLylZRZI++pzK46qwX3nh2qvAQ6rNZmtWl8t25dZysGRjAQ4vhJblQCF 3PD222VpSQLojz4cK8aaUDwSinjmknZM5BXxAQFAOUlqnmUBZLZHDxyDnij2JscWBLZy +a3ByMY5LiGMDLn08BA7kJ/It6ygFktGOVnuskmm6wNNCyGJF7JtddGwgIJUkfnT0FTa 2DST3e/SBjCSdwLRMPCJY4cNdFCsxdAqNnKw+Fqvb1OSwL3TVDkZGBValPBbWru2kEwX kAzNM2VrZ4b88BcYXxaVnzodoYcc2FdrMA62dSmwU2t716nB4Vq3Fb966Ktlsgiw5ReV 670w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=EumKsbqn; arc=pass (i=1 spf=pass spfdomain=qualcomm.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-90681-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90681-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id a13-20020a63cd4d000000b005df58c84bfesi8172193pgj.506.2024.03.04.05.55.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 05:55:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-90681-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=EumKsbqn; arc=pass (i=1 spf=pass spfdomain=qualcomm.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-90681-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90681-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DD176281CBC for ; Mon, 4 Mar 2024 13:50:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B16E63F9C3; Mon, 4 Mar 2024 13:50:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="EumKsbqn" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5485E3EA7B; Mon, 4 Mar 2024 13:50:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709560216; cv=none; b=Irkv+d4LUyXzOOxYY8x44Zb8LWsrKaUuU1FENwCqQhfix/WtK8/+6RsSimnkD1cCa5ItNrMKHiasOmPo1vHbprIa+Dd+HAdd2rpAPBulEa6HvRBO0ifpxBrxXtPwa/t9AYvxnAeqsv2oyHeLQCvyoknk26CeduMYg/igDdI+q6E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709560216; c=relaxed/simple; bh=gko5LiT43eZItnKMJB9HHVK2NT64FE9JFLWsNR0WBdw=; h=From:To:Cc:Subject:Date:Message-Id; b=YtS/g3/Soa7A046LNcC4q2VrJQ7L5oTd17lUVIbex3++qs9wW2vTKCTsE/VV5oD3wvwJEHsgfN2J5Nwnw8/c8tNyDk0EgcNSGX58UcsBUW/jKglDxj1q1S/MCjyABxCfmQ0/Yr3+jeNR/41P1FDumtcEQ+UntwSkePfL4cAPYXE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=EumKsbqn; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qualcomm.com Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 424CG1pt029325; Mon, 4 Mar 2024 13:50:07 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=59j3cPuBFO21 Qe0hjlg1itT25ek1fVrsV6C+IVu7aNM=; b=EumKsbqn5Gu5U8/90ntp6SrY8Ys+ +MDqn9nDdWVg2owugl39xDR6RJvTAQ3s6TGIGQg3rlqRCTmeuAPcvzRh4vdXLx8B 4QZjEos+GeqjNRqvjfk8V6/PNHtTTLEzOw5qaE6tpdnHAoUc1bJktUTia7W82ueF XENyzqPZzC0fNZi4grmNtgrQB8xSRcbpZ8BT0tMQMLBDIp+QBtOlRVS60qxbRe8U v8ipsd8ecYLqlCiVxel/BcGki4g0ryBbuiSXpq1W7AbIMuyeWkDNR7ssWg7HojTl u0dGVBC/qz+Xoy/eeby+L49QAfH8U9KPoTWfkSWvZwx1vF/r5au86Lsidg== 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 3wn6sas1t2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 04 Mar 2024 13:50:06 +0000 (GMT) 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 424Do34w009814; Mon, 4 Mar 2024 13:50:03 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 3wkw6kj0d0-1; Mon, 04 Mar 2024 13:50:03 +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 424Do3WD009807; Mon, 4 Mar 2024 13:50:03 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-vdadhani-hyd.qualcomm.com [10.213.106.28]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 424Do38L009804; Mon, 04 Mar 2024 13:50:03 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 4047106) id B7D115001CE; Mon, 4 Mar 2024 19:20:02 +0530 (+0530) From: Viken Dadhaniya To: andersson@kernel.org, konrad.dybcio@linaro.org, srinivas.kandagatla@linaro.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Cc: quic_msavaliy@quicinc.com, quic_vtanuku@quicinc.com, quic_anupkulk@quicinc.com, quic_cchiluve@quicinc.com, Viken Dadhaniya Subject: [PATCH v1] slimbus: qcom-ngd-ctrl: Reduce auto suspend delay Date: Mon, 4 Mar 2024 19:20:00 +0530 Message-Id: <20240304135000.21432-1-quic_vdadhani@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: fy-DMK52z5uUUHPcVqfRLX6MlasQNm9i X-Proofpoint-ORIG-GUID: fy-DMK52z5uUUHPcVqfRLX6MlasQNm9i X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-04_09,2024-03-04_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 clxscore=1015 suspectscore=0 bulkscore=0 spamscore=0 mlxlogscore=720 impostorscore=0 malwarescore=0 mlxscore=0 lowpriorityscore=0 phishscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2403040104 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Currently we have auto suspend delay of 1s which is very high and it takes long time to driver for runtime suspend after use case is done. Hence to optimize runtime PM ops, reduce auto suspend delay to 100ms. Signed-off-by: Viken Dadhaniya --- drivers/slimbus/qcom-ngd-ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/slimbus/qcom-ngd-ctrl.c b/drivers/slimbus/qcom-ngd-ctrl.c index efeba8275a66..5de45a0e3da5 100644 --- a/drivers/slimbus/qcom-ngd-ctrl.c +++ b/drivers/slimbus/qcom-ngd-ctrl.c @@ -81,7 +81,7 @@ #define SLIM_USR_MC_DISCONNECT_PORT 0x2E #define SLIM_USR_MC_REPEAT_CHANGE_VALUE 0x0 -#define QCOM_SLIM_NGD_AUTOSUSPEND MSEC_PER_SEC +#define QCOM_SLIM_NGD_AUTOSUSPEND (MSEC_PER_SEC / 10) #define SLIM_RX_MSGQ_TIMEOUT_VAL 0x10000 #define SLIM_LA_MGR 0xFF -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation