Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1825598rwl; Thu, 30 Mar 2023 01:56:28 -0700 (PDT) X-Google-Smtp-Source: AKy350au3wJ2p7P8Yg1B7dal8ctPpzneIrNFsx9Om7ZRXnfTQ33ZEQuYjX+WpS60pFeVp4ZYbWjS X-Received: by 2002:a17:906:207:b0:933:23c4:820b with SMTP id 7-20020a170906020700b0093323c4820bmr1211740ejd.4.1680166588761; Thu, 30 Mar 2023 01:56:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680166588; cv=none; d=google.com; s=arc-20160816; b=otkrKIOrR6cFtMvVDDtuGCMyAHSJ0Wg8gvxCMKCcCI/9x7H2aKteG6VrLmwMPUHfng VfFdnXeKgpsEFo18/LIHuV+rz4C5h/fovkLVsZVDFm7kit2py4lXsd5flTsPdl/8oddW M4b6c/wPJvTkx9rup6X8VSWUJEiJxd0xXccXAO0n/5mjxqsTFs5xWXorbTw4AUng45dM XrunVNw5wS/NJDscdJvCn2ldLjx4OlHpmmm3NhRuCI5RhIeHGvwu1hvTcH4TXXvgV4ZQ zNcaYFxIBu0d3/+BlbbGDEziDz7AIAfoqMk56CnnyYffDoW1vnSMMKecfqxIU5yZuC8l WtwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=J7+5ct0VEHzZzbNzyV4O0cs7IaRpfqzKPCl/3I6M24s=; b=yCEHNS//07hla5qzgmXZV9SE/WkYgu/aPS8w/3wesezfzOYZwRrggNwJS4GQNr+jRr QnXJPGClFt3FispxXVeWsubVnblq2xFfc1SP8J2t+SRct3chesM/FcwkNBjJJp+pJQVQ A2P+x6Os904IYDE+VHBJrJizpT5T6A7nkGJ8gzRLVPeWXHpLPB3XW4zOxkG83LbbhXW9 /ltlTWlnxYkRI8XcULBNsexqZ51ttSaYmzA/bjWnKsr9OMamLqFpCVmWN3ULRg1rjg0W mFRTGSx01RB/RBV2uMdWUs9vPKr/+tX/o0Q6HfPvSwiatjV5Y2GIZ7cXut9arO3XdPic uNbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OxttD0JK; 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 nc24-20020a1709071c1800b00945c481efd8si497526ejc.110.2023.03.30.01.56.03; Thu, 30 Mar 2023 01:56:28 -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=OxttD0JK; 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 S230290AbjC3Iug (ORCPT + 99 others); Thu, 30 Mar 2023 04:50:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230285AbjC3IuT (ORCPT ); Thu, 30 Mar 2023 04:50:19 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E0A17AB2; Thu, 30 Mar 2023 01:50:18 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32U2pZdi019171; Thu, 30 Mar 2023 08:43:04 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=J7+5ct0VEHzZzbNzyV4O0cs7IaRpfqzKPCl/3I6M24s=; b=OxttD0JKwOOP3iSinTDRk/9uR6xnbrCZfbVe4A/S7S/4mxo69Ih8O7IXFZ3wRYyYlSEc KN7izRJfgi5UGemtyCKiyjmSyHdBmtLqxuvd5a2z5AoDuqcqxCUBciDkvVp/wgpAY5d7 sPgRsZT8akEE2tAXo3JeGGCmH30OBPTsCg3pX9g4NejePveT5Au6ulP2c0BiPGU708cn 9il4vaCGXtim0VHYZKQJP3+WEnc8YAYL2Yk1dpeMmXKeVyCP6HKKlzwMb8hcXh4sBgiw mC334bnk1HVpmoQV3wtYIDY56plPkR0xE//CNVgtSAKTcjTwzf5SvvgdQy7InLoQk5lK eQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pn1a9s0qy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 Mar 2023 08:43:04 +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 32U8h3Tl030280 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 Mar 2023 08:43:03 GMT Received: from hu-mkshah-hyd.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; Thu, 30 Mar 2023 01:42:59 -0700 From: Maulik Shah To: , , , , CC: , , , , , , , Maulik Shah Subject: [PATCH v2 0/2] Use PSCI OS initiated mode for sc7280 Date: Thu, 30 Mar 2023 14:12:48 +0530 Message-ID: <20230330084250.32600-1-quic_mkshah@quicinc.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 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-ORIG-GUID: Fu3WaiTdnNF-h1HcNXVAPhCslXb_nesu X-Proofpoint-GUID: Fu3WaiTdnNF-h1HcNXVAPhCslXb_nesu 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-03-30_04,2023-03-30_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 bulkscore=0 malwarescore=0 mlxlogscore=900 lowpriorityscore=0 suspectscore=0 adultscore=0 spamscore=0 impostorscore=0 clxscore=1011 phishscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2303300069 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,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 Changes in v2: - Add new change to Move enabling OSI mode after power domains creation - Fix compatible string to domains-idle-states for cluster idle state. - Update cover letter with some more details on OSI and PC mode comparision The dependency [2] is now merged in trustedfirmware project. Stats comparision between OSI and PC mode are captured at [3] with usecase details, where during multiple CPUs online the residency in cluster idle state is better with OSI and also inline with single CPU mode. In PC mode with multiple CPUs cluster idle state residency is dropping compare to single CPU mode. Recording of this meeting is also available at [4]. This change adds power-domains for cpuidle states to use PSCI OS initiated mode for sc7280. This change depends on external project changes [1] & [2] which are under review/discussion to add PSCI os-initiated support in Arm Trusted Firmware. I can update here once the dependency are in and change is ready to merge. [1] https://review.trustedfirmware.org/q/topic:psci-osi [2] https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/19487 [3] https://www.trustedfirmware.org/docs/PSCI-OS-initiated.pdf [4] https://www.trustedfirmware.org/meetings/tf-a-technical-forum Maulik Shah (2): cpuidle: psci: Move enabling OSI mode after power domains creation arm64: dts: qcom: sc7280: Add power-domains for cpuidle states arch/arm64/boot/dts/qcom/sc7280.dtsi | 98 ++++++++++++++++++++------- drivers/cpuidle/cpuidle-psci-domain.c | 29 ++------ 2 files changed, 80 insertions(+), 47 deletions(-) -- 2.17.1