Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp270388ybt; Thu, 9 Jul 2020 22:29:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycvTKwrhcTaSlQbyR8EROyLLA64J40/nJcHTM8KSRMzheLjbzu4KW8nKZppb+sFY8myD8S X-Received: by 2002:a50:ee07:: with SMTP id g7mr61897766eds.320.1594358946172; Thu, 09 Jul 2020 22:29:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594358946; cv=none; d=google.com; s=arc-20160816; b=a4lVu4lom/YJeSw6obOeTdiE7UblzeCwmVMC77EgjZLllPcLVgNcZR/BGynvS9i8Ii 4HOG13SRwIriBhx2BpdWf3EvYXt3aMGfnlAppuPKP8VRYaF3giyzs0tNMRshXojyGOgx LQENrYqQEc6xc9zRD+xypJt9UsY/t/yUue9G0kKe/+phMbvJDf+TTHml1tmHS78vRtLm G2E5eX4Oe4s1tdP/8xUyuuyw1tdEU268iPxvpTP/TDmTwUMhXoCi8BJ3vMEA4ZQcmzOF bWFmr5KtSRWG1lxU3U9cfkoKiAlqSg2HMps9qIAyd4JOYCkksY+ASobtzdlkfvyJlWw7 kXvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:to:from; bh=13M8UXsqDRl2MyKWhDxUPVw/hATXZKy875Rfis35bNw=; b=szfGhMrSz1eYrgGmQYnGmfJxE0OfDGgoF0RidT6ohKwm+yzIsQ3Xn8Yf+2zkhieVLE SSl/rVS/IfKCpWACL71AVesHvTCHo1YA3AvU9h7PqFq3W/PcUu3CLibNw+ex6EkAYBmg FCw/DpH8DDw4qniVr5qab6GV7XuBHFf94Ex5ddGwDBIkD8Y3m3BYCXkykpLS+Lc4YNuB s5VRAgJ592lamqqORc/yC4sGd/o8UnTHTM0QFhWpCXsz/yc4qityhNNVDTseRBiSIrKv QnVvkpFSAPiS1BVBmUa2kpOyeEk+6+RBUXKl0Qwg74Tb5IlAKiyJpp+06Q7utrlrR8Xu vtUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i25si3246290ejy.603.2020.07.09.22.28.43; Thu, 09 Jul 2020 22:29:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726341AbgGJF0p (ORCPT + 99 others); Fri, 10 Jul 2020 01:26:45 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:48134 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726933AbgGJFWw (ORCPT ); Fri, 10 Jul 2020 01:22:52 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 06A51dKX019342; Fri, 10 Jul 2020 01:22:15 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 326bpb09jr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 10 Jul 2020 01:22:15 -0400 Received: from m0098420.ppops.net (m0098420.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 06A51glN019703; Fri, 10 Jul 2020 01:22:15 -0400 Received: from ppma04fra.de.ibm.com (6a.4a.5195.ip4.static.sl-reverse.com [149.81.74.106]) by mx0b-001b2d01.pphosted.com with ESMTP id 326bpb09ja-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 10 Jul 2020 01:22:14 -0400 Received: from pps.filterd (ppma04fra.de.ibm.com [127.0.0.1]) by ppma04fra.de.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 06A5FAnB016688; Fri, 10 Jul 2020 05:22:13 GMT Received: from b06avi18878370.portsmouth.uk.ibm.com (b06avi18878370.portsmouth.uk.ibm.com [9.149.26.194]) by ppma04fra.de.ibm.com with ESMTP id 326bcj84x0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 10 Jul 2020 05:22:12 +0000 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 06A5MATY65601896 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 10 Jul 2020 05:22:10 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F179FA405B; Fri, 10 Jul 2020 05:22:09 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0A5B0A4054; Fri, 10 Jul 2020 05:22:08 +0000 (GMT) Received: from pratiks-thinkpad.ibmuc.com (unknown [9.85.105.207]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 10 Jul 2020 05:22:07 +0000 (GMT) From: Pratik Rajesh Sampat To: mpe@ellerman.id.au, benh@kernel.crashing.org, paulus@samba.org, mikey@neuling.org, ravi.bangoria@linux.ibm.com, ego@linux.vnet.ibm.com, svaidy@linux.ibm.com, psampat@linux.ibm.com, pratik.r.sampat@gmail.com, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/3] Power10 basic energy management Date: Fri, 10 Jul 2020 10:52:04 +0530 Message-Id: <20200710052207.12003-1-psampat@linux.ibm.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-07-10_01:2020-07-09,2020-07-10 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 spamscore=0 malwarescore=0 mlxlogscore=661 phishscore=0 adultscore=0 suspectscore=0 impostorscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007100029 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changelog v1 --> v2: 1. Save-restore DAWR and DAWRX unconditionally as they are lost in shallow idle states too 2. Rename pnv_first_spr_loss_level to pnv_first_fullstate_loss_level to correct naming terminology Pratik Rajesh Sampat (3): powerpc/powernv/idle: Exclude mfspr on HID1,4,5 on P9 and above powerpc/powernv/idle: save-restore DAWR0,DAWRX0 for P10 powerpc/powernv/idle: Rename pnv_first_spr_loss_level variable arch/powerpc/platforms/powernv/idle.c | 34 +++++++++++++++++---------- 1 file changed, 22 insertions(+), 12 deletions(-) -- 2.25.4