Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp821046ybh; Tue, 21 Jul 2020 08:39:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPjPMVVvGSV0E/O1EgtfF+bJnxrrvvvIvnzGXXjQPxom7osRBQ5qdUYEdXdL5R9wkGiQfU X-Received: by 2002:a17:906:1682:: with SMTP id s2mr1680292ejd.532.1595345997325; Tue, 21 Jul 2020 08:39:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595345997; cv=none; d=google.com; s=arc-20160816; b=wlIxPE1WTdTmGHbV3+LDLHHScddH/60i1NoK/yQyFxFVK87NGQn7CmtUpgfuFXa7q2 J7IGJZQhXP8dJ6pJQ+ieUBPiQXiQ63yyxqlI4URywDSwxaTKC3hNRaupjC8RutbNmf7W VTUeawoSjgLGo8SSwRuM07ZFJXz30MBpfznVDnFuMqsDq0mWMZgzahc9ULaWvaUdY4FC sraiuECVbAB3UXxFdW4JjvtP6eI5p4Kb1REzpQ3bkUtGc0KOFZbDRRhTIuAkOp7Jrtiu SxcgVx89MaLYfI4A7FP79Ae6O+p/l7GT2KfF+IGVhRf3LiBB0mM4npa6oPmDSA1lWQaY qkkQ== 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=zLLOkikArKhiIyh3f2RDTqA8z/+b9KBWXF8XpR5tHnw=; b=IRx4CUfkIXZNUJ6eyNzsqObF792ExCF3V69b04vFUrkD+l0qoYVPJptht5tLb7wHqK jn2Mlc2KWUXokENdo5FkzeEviL0iNTc8iKBg8ubHAqpaheSOqNNG7n6GZTtlxn048/O6 vXQet1d5Mr59G8iXuitD12CFuBt73Cm7ktLmuoErNZam84Igi9IIUOLxEmW1jZWTOgdJ 2rT+Psb/5SmPRcRiFQlNnhe3LK5+7jt23r4Fhkh2FIttRmns2YgNKMM3DooNL5oSwA82 y0NhUa9mZezG5xqfYQXzkeLu8hWV2T8O5PJCB8Bjg6YXwgL3fasuw3Nw6SdEcPnnOnhs dSHQ== 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 1si12643460ejo.509.2020.07.21.08.39.33; Tue, 21 Jul 2020 08:39:57 -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 S1730013AbgGUPhn (ORCPT + 99 others); Tue, 21 Jul 2020 11:37:43 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:13324 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728089AbgGUPhn (ORCPT ); Tue, 21 Jul 2020 11:37:43 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 06LFYBGC188403; Tue, 21 Jul 2020 11:37:17 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 32e11mcva5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Jul 2020 11:37:16 -0400 Received: from m0098394.ppops.net (m0098394.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 06LFZbTj195094; Tue, 21 Jul 2020 11:37:16 -0400 Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 32e11mcv95-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Jul 2020 11:37:16 -0400 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 06LFKrSv004337; Tue, 21 Jul 2020 15:37:14 GMT Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by ppma04ams.nl.ibm.com with ESMTP id 32brq841ws-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Jul 2020 15:37:13 +0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 06LFbB6w42336346 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 21 Jul 2020 15:37:11 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 08A5CA4053; Tue, 21 Jul 2020 15:37:11 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 06D99A4040; Tue, 21 Jul 2020 15:37:09 +0000 (GMT) Received: from pratiks-thinkpad.ibmuc.com (unknown [9.79.210.59]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 21 Jul 2020 15:37:08 +0000 (GMT) From: Pratik Rajesh Sampat To: mpe@ellerman.id.au, npiggin@gmail.com, benh@kernel.crashing.org, paulus@samba.org, mikey@neuling.org, 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 v4 0/3] powernv/idle: Power9 idle cleanup Date: Tue, 21 Jul 2020 21:07:05 +0530 Message-Id: <20200721153708.89057-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-21_09:2020-07-21,2020-07-21 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 impostorscore=0 phishscore=0 bulkscore=0 mlxlogscore=556 priorityscore=1501 spamscore=0 malwarescore=0 clxscore=1015 mlxscore=0 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007210111 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v3: https://lkml.org/lkml/2020/7/17/1093 Changelog v3-->v4: Based on comments from Nicholas Piggin and Gautham Shenoy, 1. Changed the naming of pnv_first_spr_loss_level from pnv_first_fullstate_loss_level to deep_spr_loss_state 2. Make the P9 PVR check only on the top level function pnv_probe_idle_states and let the rest of the checks be DT based because it is faster to do so Pratik Rajesh Sampat (3): powerpc/powernv/idle: Replace CPU features check with PVR check powerpc/powernv/idle: Rename pnv_first_spr_loss_level variable powerpc/powernv/idle: Exclude mfspr on HID1,4,5 on P9 and above arch/powerpc/platforms/powernv/idle.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) -- 2.25.4