From patchwork Wed Jun 7 07:49:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stewart Smith X-Patchwork-Id: 772242 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wjLKq2l5Mz9sNd for ; Wed, 7 Jun 2017 17:49:19 +1000 (AEST) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3wjLKq22YvzDqLb for ; Wed, 7 Jun 2017 17:49:19 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3wjLKj1FC9zDq5b for ; Wed, 7 Jun 2017 17:49:12 +1000 (AEST) Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v577mrFw075002 for ; Wed, 7 Jun 2017 03:49:10 -0400 Received: from e16.ny.us.ibm.com (e16.ny.us.ibm.com [129.33.205.206]) by mx0b-001b2d01.pphosted.com with ESMTP id 2awy7mrng4-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 07 Jun 2017 03:49:10 -0400 Received: from localhost by e16.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 7 Jun 2017 03:49:09 -0400 Received: from b01cxnp22034.gho.pok.ibm.com (9.57.198.24) by e16.ny.us.ibm.com (146.89.104.203) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 7 Jun 2017 03:49:08 -0400 Received: from b01ledav002.gho.pok.ibm.com (b01ledav002.gho.pok.ibm.com [9.57.199.107]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v577n73H34341054; Wed, 7 Jun 2017 07:49:07 GMT Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8BD3612403D; Wed, 7 Jun 2017 03:46:41 -0400 (EDT) Received: from birb.localdomain (unknown [9.81.196.101]) by b01ledav002.gho.pok.ibm.com (Postfix) with SMTP id 65352124037; Wed, 7 Jun 2017 03:46:40 -0400 (EDT) Received: by birb.localdomain (Postfix, from userid 1000) id D2012523300; Wed, 7 Jun 2017 17:49:03 +1000 (AEST) From: Stewart Smith To: skiboot@lists.ozlabs.org Date: Wed, 7 Jun 2017 17:49:03 +1000 X-Mailer: git-send-email 2.9.4 X-TM-AS-GCONF: 00 x-cbid: 17060707-0024-0000-0000-00000289E9C1 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007187; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000212; SDB=6.00871319; UDB=6.00433355; IPR=6.00651312; BA=6.00005403; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00015727; XFM=3.00000015; UTC=2017-06-07 07:49:09 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17060707-0025-0000-0000-0000444A6A9A Message-Id: <20170607074903.13680-1-stewart@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-06-07_06:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1706070141 Subject: [Skiboot] [PATCH] Disable nap on P8 Mambo, public release has bugs X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Fixes: 9567e18728d0559bc5f79ea927d684dc3b1e3555 Signed-off-by: Stewart Smith --- core/cpu.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/cpu.c b/core/cpu.c index c4a4d29ef506..7af8fc69ce17 100644 --- a/core/cpu.c +++ b/core/cpu.c @@ -354,6 +354,10 @@ void cpu_set_pm_enable(bool enabled) if (proc_gen != proc_gen_p8) return; + /* Public P8 Mambo has broken NAP */ + if (chip_quirk(QUIRK_MAMBO_CALLOUTS)) + return; + pm_enabled = enabled; if (enabled)