Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2136329imm; Wed, 16 May 2018 08:24:31 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo5BU2Z+dRyEtNdsbvAHovggq+7rIVPQYoSPwHqGgvVEmiSPNCGVArNPMIKIZ7Q/DnHAJVD X-Received: by 2002:a62:89db:: with SMTP id n88-v6mr1393056pfk.11.1526484271382; Wed, 16 May 2018 08:24:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526484271; cv=none; d=google.com; s=arc-20160816; b=kRhKDM+DSbYVN05zdp/YTaegWTrl99ro+GmlciVOY26TgxsyR0LJO2K2fCkx0qo1lK ZlGJuRALEK/uPFuiYjg1Dp4fSxjlI8qAV9EOQlTf5+KuL9sF90tbrw51U/liYYk4o2vR 9tWJzQE0qjnsiXHAGXOLxa+tWEfPeZUOQ5cg7NjwhSEZAeMMwYN6E7ctIlZxOB79iOxJ 85prS5yyQVV2WzQZsWodeLA6IWBbajmwxmSSX75nzazLZsIlg4JVqNPPDDYln87P8LmO ZbVUKIzZy7GQKu5f7kygDKutxUsPFB7P/Gsms3ntZ8q/5IOJFbvK3H4u7uviXQrrMxXi yz9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:mime-version:date:references :in-reply-to:subject:cc:to:from:arc-authentication-results; bh=zFRgdhSl4Y1vu61yaOZItFxKNTh+Z8TFzK2iJ9NCIIQ=; b=RWW09jC3k84+AMAU5lujMS2BCgNfivYdW9EROVb8DIwjIvWE9Z9CSd7tYrawZeSDxg dz8RHg2rq0ZakrCA6MVFKHQ2SIGZ+3Hjz9mzcrQsfEYQXKKrN5dJaz0WNzrMRn8Ou55h UPNZ15caNSKzrA09EF7njOAxpaqDMifGVcnVVmDVxpy0HYb4mpZ4wM+2VZgf5fKBk+Kr u/82GZ/TvAR6O/wWjpQ0G0du5Uz/ugOq4t7S/14eWmlC4/EU7pLXRjJFFcONyOGoZQqb RV3ntXPf4PRpgzyLBgBrod08oFdeT2dyBpaz3efsYFt6YBKiLjdcuogwBYl+9i8NXqiy WWGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id s2-v6si2257369pgc.90.2018.05.16.08.24.16; Wed, 16 May 2018 08:24:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1752318AbeEPPWc (ORCPT + 99 others); Wed, 16 May 2018 11:22:32 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:54048 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752285AbeEPPWa (ORCPT ); Wed, 16 May 2018 11:22:30 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4GFFFKm053266 for ; Wed, 16 May 2018 11:22:30 -0400 Received: from e33.co.us.ibm.com (e33.co.us.ibm.com [32.97.110.151]) by mx0a-001b2d01.pphosted.com with ESMTP id 2j0q2w0hew-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 16 May 2018 11:22:29 -0400 Received: from localhost by e33.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 16 May 2018 09:22:29 -0600 Received: from b03cxnp08027.gho.boulder.ibm.com (9.17.130.19) by e33.co.us.ibm.com (192.168.1.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 16 May 2018 09:22:26 -0600 Received: from b03ledav003.gho.boulder.ibm.com (b03ledav003.gho.boulder.ibm.com [9.17.130.234]) by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w4GFMDEX11731278; Wed, 16 May 2018 08:22:25 -0700 Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A62BB6A043; Wed, 16 May 2018 09:22:25 -0600 (MDT) Received: from birb.localdomain (unknown [9.41.172.201]) by b03ledav003.gho.boulder.ibm.com (Postfix) with ESMTP id 944AC6A048; Wed, 16 May 2018 09:22:25 -0600 (MDT) Received: by birb.localdomain (Postfix, from userid 1000) id 007BC4EC649; Wed, 16 May 2018 10:22:22 -0500 (CDT) From: Stewart Smith To: Akshay Adiga , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Cc: Akshay Adiga , npiggin@gmail.com, ego@linux.vnet.ibm.com Subject: Re: [PATCH] cpuidle/powernv : init all present cpus for deep states In-Reply-To: <1526472134-23757-1-git-send-email-akshay.adiga@linux.vnet.ibm.com> References: <1526472134-23757-1-git-send-email-akshay.adiga@linux.vnet.ibm.com> Date: Wed, 16 May 2018 10:22:22 -0500 MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-GCONF: 00 x-cbid: 18051615-0008-0000-0000-000009CB0593 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009035; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000260; SDB=6.01033180; UDB=6.00528261; IPR=6.00812311; MB=3.00021147; MTD=3.00000008; XFM=3.00000015; UTC=2018-05-16 15:22:27 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18051615-0009-0000-0000-0000474DBD3D Message-Id: <87efiby6a9.fsf@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-16_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1805160154 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Akshay Adiga writes: > Init all present cpus for deep states instead of "all possible" cpus. > Init fails if the possible cpu is gaurded. Resulting in making only > non-deep states available for cpuidle/hotplug. Should this also head to stable? It means that for single threaded workloads, if you guard out a CPU core you'll not get WoF, which means that performance goes down when you wouldn't expect it to. Right? -- Stewart Smith OPAL Architect, IBM.