From patchwork Wed Feb 13 21:42:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reza Arbab X-Patchwork-Id: 1041589 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 440ChB0s6Cz9sMr for ; Thu, 14 Feb 2019 08:43:38 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 440Ch95zxZzDqV3 for ; Thu, 14 Feb 2019 08:43:37 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=linux.ibm.com (client-ip=148.163.158.5; helo=mx0a-001b2d01.pphosted.com; envelope-from=arbab@linux.ibm.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com 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 440Cg94rxvzDqRp for ; Thu, 14 Feb 2019 08:42:45 +1100 (AEDT) Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1DLchFQ027159 for ; Wed, 13 Feb 2019 16:42:43 -0500 Received: from e33.co.us.ibm.com (e33.co.us.ibm.com [32.97.110.151]) by mx0b-001b2d01.pphosted.com with ESMTP id 2qmu9c88b6-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 13 Feb 2019 16:42:43 -0500 Received: from localhost by e33.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 13 Feb 2019 21:42:42 -0000 Received: from b03cxnp07029.gho.boulder.ibm.com (9.17.130.16) by e33.co.us.ibm.com (192.168.1.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 13 Feb 2019 21:42:40 -0000 Received: from b03ledav005.gho.boulder.ibm.com (b03ledav005.gho.boulder.ibm.com [9.17.130.236]) by b03cxnp07029.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x1DLgdMJ30343246 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 13 Feb 2019 21:42:39 GMT Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 65C3DBE051; Wed, 13 Feb 2019 21:42:39 +0000 (GMT) Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4A706BE04F; Wed, 13 Feb 2019 21:42:39 +0000 (GMT) Received: from arbab-laptop.localdomain (unknown [9.53.179.210]) by b03ledav005.gho.boulder.ibm.com (Postfix) with ESMTP; Wed, 13 Feb 2019 21:42:39 +0000 (GMT) Received: by arbab-laptop.localdomain (Postfix, from userid 152845) id 18F604603FC; Wed, 13 Feb 2019 15:42:38 -0600 (CST) From: Reza Arbab To: skiboot@lists.ozlabs.org Date: Wed, 13 Feb 2019 15:42:33 -0600 X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1550094158-29410-1-git-send-email-arbab@linux.ibm.com> References: <1550094158-29410-1-git-send-email-arbab@linux.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 19021321-0036-0000-0000-00000A8B4F4B X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010590; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000279; SDB=6.01160630; UDB=6.00605774; IPR=6.00941184; MB=3.00025568; MTD=3.00000008; XFM=3.00000015; UTC=2019-02-13 21:42:41 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19021321-0037-0000-0000-00004AB7B93A Message-Id: <1550094158-29410-2-git-send-email-arbab@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-02-13_12:, , 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=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=961 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902130142 Subject: [Skiboot] [PATCH 1/6] devicetree: Fix syntax error in power9-phb4.dts X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alistair Popple MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Remove the extra space causing this: Error: power9-phb4.dts:156.15-16 syntax error FATAL ERROR: Unable to parse input tree Signed-off-by: Reza Arbab --- doc/device-tree/examples/power9-phb4.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/device-tree/examples/power9-phb4.dts b/doc/device-tree/examples/power9-phb4.dts index 17453da9c3fe..a9a75dadbf25 100644 --- a/doc/device-tree/examples/power9-phb4.dts +++ b/doc/device-tree/examples/power9-phb4.dts @@ -153,7 +153,7 @@ compatible = "ibm,power9-xive-x"; }; - PSI_X0 : psihb@5012900 { + PSI_X0: psihb@5012900 { reg = <0x5012900 0x100>; compatible = "ibm,power9-psihb-x", "ibm,psihb-x"; From patchwork Wed Feb 13 21:42:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reza Arbab X-Patchwork-Id: 1041593 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 440Cjk1lKGz9rxp for ; Thu, 14 Feb 2019 08:44:58 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 440Cjk0Ss6zDqSV for ; Thu, 14 Feb 2019 08:44:58 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=linux.ibm.com (client-ip=148.163.156.1; helo=mx0a-001b2d01.pphosted.com; envelope-from=arbab@linux.ibm.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 440CgJ3p56zDqRh for ; Thu, 14 Feb 2019 08:42:52 +1100 (AEDT) Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1DLchpG112333 for ; Wed, 13 Feb 2019 16:42:50 -0500 Received: from e16.ny.us.ibm.com (e16.ny.us.ibm.com [129.33.205.206]) by mx0a-001b2d01.pphosted.com with ESMTP id 2qmttxha3g-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 13 Feb 2019 16:42:50 -0500 Received: from localhost by e16.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 13 Feb 2019 21:42:48 -0000 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; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 13 Feb 2019 21:42:40 -0000 Received: from b01ledav004.gho.pok.ibm.com (b01ledav004.gho.pok.ibm.com [9.57.199.109]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x1DLgdZr18940134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 13 Feb 2019 21:42:39 GMT Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5F968112063; Wed, 13 Feb 2019 21:42:39 +0000 (GMT) Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 42F0F112062; Wed, 13 Feb 2019 21:42:39 +0000 (GMT) Received: from arbab-laptop.localdomain (unknown [9.53.179.210]) by b01ledav004.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 13 Feb 2019 21:42:39 +0000 (GMT) Received: by arbab-laptop.localdomain (Postfix, from userid 152845) id 210574608A2; Wed, 13 Feb 2019 15:42:38 -0600 (CST) From: Reza Arbab To: skiboot@lists.ozlabs.org Date: Wed, 13 Feb 2019 15:42:34 -0600 X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1550094158-29410-1-git-send-email-arbab@linux.ibm.com> References: <1550094158-29410-1-git-send-email-arbab@linux.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 19021321-0072-0000-0000-000003F98862 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010591; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000279; SDB=6.01160629; UDB=6.00605774; IPR=6.00941184; MB=3.00025568; MTD=3.00000008; XFM=3.00000015; UTC=2019-02-13 21:42:48 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19021321-0073-0000-0000-00004B2C0858 Message-Id: <1550094158-29410-3-git-send-email-arbab@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-02-13_12:, , 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=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=780 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902130142 Subject: [Skiboot] [PATCH 2/6] devicetree: Fix typo in power9-phb4.dts X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alistair Popple MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Change "impi" to "ipmi". Signed-off-by: Reza Arbab --- doc/device-tree/examples/power9-phb4.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/device-tree/examples/power9-phb4.dts b/doc/device-tree/examples/power9-phb4.dts index a9a75dadbf25..daf71fcaf9e1 100644 --- a/doc/device-tree/examples/power9-phb4.dts +++ b/doc/device-tree/examples/power9-phb4.dts @@ -219,7 +219,7 @@ interrupts = <4>; }; - impi@ie4 { + ipmi@ie4 { compatible = "ipmi-bt"; reg = < 1 0xe4 0x3 >; interrupts = <10>; From patchwork Wed Feb 13 21:42:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reza Arbab X-Patchwork-Id: 1041587 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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 440CgN47tYz9rxp for ; Thu, 14 Feb 2019 08:42:56 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 440CgM2YcnzDqTj for ; Thu, 14 Feb 2019 08:42:55 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=linux.ibm.com (client-ip=148.163.156.1; helo=mx0a-001b2d01.pphosted.com; envelope-from=arbab@linux.ibm.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 440Cg93vHQzDqRj for ; Thu, 14 Feb 2019 08:42:45 +1100 (AEDT) Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1DLcgBs019076 for ; Wed, 13 Feb 2019 16:42:43 -0500 Received: from e12.ny.us.ibm.com (e12.ny.us.ibm.com [129.33.205.202]) by mx0a-001b2d01.pphosted.com with ESMTP id 2qmt752w76-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 13 Feb 2019 16:42:43 -0500 Received: from localhost by e12.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 13 Feb 2019 21:42:42 -0000 Received: from b01cxnp23034.gho.pok.ibm.com (9.57.198.29) by e12.ny.us.ibm.com (146.89.104.199) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 13 Feb 2019 21:42:40 -0000 Received: from b01ledav006.gho.pok.ibm.com (b01ledav006.gho.pok.ibm.com [9.57.199.111]) by b01cxnp23034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x1DLgduN20512784 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 13 Feb 2019 21:42:39 GMT Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5FCF8AC05B; Wed, 13 Feb 2019 21:42:39 +0000 (GMT) Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 42C04AC062; Wed, 13 Feb 2019 21:42:39 +0000 (GMT) Received: from arbab-laptop.localdomain (unknown [9.53.179.210]) by b01ledav006.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 13 Feb 2019 21:42:39 +0000 (GMT) Received: by arbab-laptop.localdomain (Postfix, from userid 152845) id 29ECA4608A6; Wed, 13 Feb 2019 15:42:38 -0600 (CST) From: Reza Arbab To: skiboot@lists.ozlabs.org Date: Wed, 13 Feb 2019 15:42:35 -0600 X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1550094158-29410-1-git-send-email-arbab@linux.ibm.com> References: <1550094158-29410-1-git-send-email-arbab@linux.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 19021321-0060-0000-0000-0000030AEA40 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010591; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000279; SDB=6.01160630; UDB=6.00605774; IPR=6.00941184; MB=3.00025568; MTD=3.00000008; XFM=3.00000015; UTC=2019-02-13 21:42:41 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19021321-0061-0000-0000-0000484B39E2 Message-Id: <1550094158-29410-4-git-send-email-arbab@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-02-13_12:, , 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=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902130142 Subject: [Skiboot] [PATCH 3/6] devicetree: Add nx node to power9-phb4.dts X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alistair Popple MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" A (non-qemu) p9 without an nx node will assert in p9_darn_init(): dt_for_each_compatible(dt_root, nx, "ibm,power9-nx") break; if (!nx) { if (!dt_node_is_compatible(dt_root, "qemu,powernv")) assert(nx); return; } Since NX is this essential, add it to the device tree. Signed-off-by: Reza Arbab --- doc/device-tree/examples/power9-phb4.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/device-tree/examples/power9-phb4.dts b/doc/device-tree/examples/power9-phb4.dts index daf71fcaf9e1..a6acd533970c 100644 --- a/doc/device-tree/examples/power9-phb4.dts +++ b/doc/device-tree/examples/power9-phb4.dts @@ -166,6 +166,11 @@ #address-cells = <0>; #interrupt-map-mask = < 0xff >; }; + + nx@2010000 { + reg = <0x2010000 0x4000>; + compatible = "ibm,power9-nx"; + }; }; lpcm-opb@6030000000000 { From patchwork Wed Feb 13 21:42:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reza Arbab X-Patchwork-Id: 1041590 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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 440ChZ5R7lz9rxp for ; Thu, 14 Feb 2019 08:43:58 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 440ChZ45cZzDqTp for ; Thu, 14 Feb 2019 08:43:58 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=linux.ibm.com (client-ip=148.163.156.1; helo=mx0a-001b2d01.pphosted.com; envelope-from=arbab@linux.ibm.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 440Cg95vS3zDqSV for ; Thu, 14 Feb 2019 08:42:45 +1100 (AEDT) Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1DLcgrq090740 for ; Wed, 13 Feb 2019 16:42:43 -0500 Received: from e11.ny.us.ibm.com (e11.ny.us.ibm.com [129.33.205.201]) by mx0a-001b2d01.pphosted.com with ESMTP id 2qmu440map-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 13 Feb 2019 16:42:43 -0500 Received: from localhost by e11.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 13 Feb 2019 21:42:42 -0000 Received: from b01cxnp22034.gho.pok.ibm.com (9.57.198.24) by e11.ny.us.ibm.com (146.89.104.198) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 13 Feb 2019 21:42:40 -0000 Received: from b01ledav004.gho.pok.ibm.com (b01ledav004.gho.pok.ibm.com [9.57.199.109]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x1DLgda421692626 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 13 Feb 2019 21:42:39 GMT Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 624AB112064; Wed, 13 Feb 2019 21:42:39 +0000 (GMT) Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3A6B4112061; Wed, 13 Feb 2019 21:42:39 +0000 (GMT) Received: from arbab-laptop.localdomain (unknown [9.53.179.210]) by b01ledav004.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 13 Feb 2019 21:42:39 +0000 (GMT) Received: by arbab-laptop.localdomain (Postfix, from userid 152845) id 328384608C6; Wed, 13 Feb 2019 15:42:38 -0600 (CST) From: Reza Arbab To: skiboot@lists.ozlabs.org Date: Wed, 13 Feb 2019 15:42:36 -0600 X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1550094158-29410-1-git-send-email-arbab@linux.ibm.com> References: <1550094158-29410-1-git-send-email-arbab@linux.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 19021321-2213-0000-0000-00000350461B X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010590; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000279; SDB=6.01160630; UDB=6.00605774; IPR=6.00941184; MB=3.00025568; MTD=3.00000008; XFM=3.00000015; UTC=2019-02-13 21:42:41 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19021321-2214-0000-0000-00005D58C8C8 Message-Id: <1550094158-29410-5-git-send-email-arbab@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-02-13_12:, , 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=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902130142 Subject: [Skiboot] [PATCH 4/6] devicetree: Move power9-phb4.dts X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alistair Popple MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Clean up the formatting of power9-phb4.dts and move it to external/devicetree/p9.dts. This sets us up to include it as the basis for other trees. Signed-off-by: Reza Arbab --- doc/device-tree/examples/power9-phb4.dts | 235 ------------------------------- external/devicetree/p9.dts | 221 +++++++++++++++++++++++++++++ 2 files changed, 221 insertions(+), 235 deletions(-) delete mode 100644 doc/device-tree/examples/power9-phb4.dts create mode 100644 external/devicetree/p9.dts diff --git a/doc/device-tree/examples/power9-phb4.dts b/doc/device-tree/examples/power9-phb4.dts deleted file mode 100644 index a6acd533970c..000000000000 --- a/doc/device-tree/examples/power9-phb4.dts +++ /dev/null @@ -1,235 +0,0 @@ -/dts-v1/; - -/ { - compatible = "ibm,powernv"; - model = "BML"; - #size-cells = <0x2>; - #address-cells = <0x2>; - - chosen { - linux,pci-assign-all-buses = <0x1>; - linux,pci-probe-only = <0x0>; - linux,platform = <0x100>; - ibm,architecture-vec-5 = <0x0 0x800000>; - linux,initrd-start = <0x0 0x28000000>; - linux,initrd-end = <0x0 0x30000000>; - }; - - memory@0 { - reg = <0x0 0x0 0x0 0x80000000>; - ibm,chip-id = <0x0>; - device_type = "memory"; - }; - - cpus { - #size-cells = <0x0>; - #address-cells = <0x1>; - - PowerPC,POWER9@0 { - device_type = "cpu"; - status = "okay"; - ibm,chip-id = <0x0>; - ibm,pir = <0x0>; - timebase-frequency = <0x1c4fecc0>; - clock-frequency = <0xe27f6600>; - ibm,segment-page-sizes = <0xc 0x0 0x1 0xc 0x0 0x10 0x110 0x1 0x10 0x1 0x14 0x111 0x1 0x14 0x2 0x18 0x100 0x1 0x18 0x0 0x22 0x120 0x1 0x22 0x3>; - ibm,processor-segment-sizes = <0x1c 0xffffffff 0xffffffff 0xffffffff>; - ibm,pa-features = <0x600f63f 0xc70080c0>; - i-cache-size = <0x8000>; - d-cache-size = <0x8000>; - i-cache-line-size = <0x80>; - d-cache-line-size = <0x80>; - ibm,slb-size = <0x20>; - ibm,vmx = <0x2>; - reg = <0x0>; -// ibm,ppc-interrupt-server#s = <0x0 0x01>; - ibm,ppc-interrupt-server#s = <0x0>; - }; - }; - - xscom@603fc00000000 { - compatible = "ibm,xscom", "ibm,power9-xscom"; - ibm,chip-id = <0x0>; - #size-cells = <0x1>; - #address-cells = <0x1>; - reg = <0x603fc 0x0 0x8 0x0>; - - - /* PE#0 supports only one stack */ - pbcq@4010c00 { - ibm,pec-index = <0x0>; - reg = <0x4010c00 0x100 0xd010800 0x200>; - compatible = "ibm,power9-pbcq"; - - /* child address is stack number */ - #address-cells = <1>; - #size-cells = <0>; - stack@0 { - /* Stack number */ - reg = <0>; - /* Chip-scope PHB index */ - ibm,phb-index = <0x0>; - compatible = "ibm,power9-phb-stack"; - /* ibm,lane-eq = < ????? >; */ - status = "okay"; - }; - }; - /* PE#1 supports two stacks */ - - pbcq@4011000 { - ibm,pec-index = <0x1>; - reg = <0x4011000 0x100 0xe010800 0x200>; - compatible = "ibm,power9-pbcq"; - - /* child address is stack number */ - #address-cells = <1>; - #size-cells = <0>; - stack@0 { - /* Stack number */ - reg = <0>; - /* Chip-scope PHB index */ - ibm,phb-index = <0x1>; - compatible = "ibm,power9-phb-stack"; - /* ibm,lane-eq = < ????? >; */ - status = "okay"; - }; - stack@1 { - /* Stack number */ - reg = <1>; - /* Chip-scope PHB index */ - ibm,phb-index = <0x2>; - compatible = "ibm,power9-phb-stack"; - /* ibm,lane-eq = < ????? >; */ - status = "okay"; - }; - }; - - /* PE#2 supports three stacks */ - pbcq@4011400 { - ibm,pec-index = <0x2>; - reg = <0x4011400 0x100 0xf010800 0x200>; - compatible = "ibm,power9-pbcq"; - - /* child address is stack number */ - #address-cells = <1>; - #size-cells = <0>; - stack@0 { - /* Stack number */ - reg = <0>; - /* Chip-scope PHB index */ - ibm,phb-index = <0x3>; - compatible = "ibm,power9-phb-stack"; - /* ibm,lane-eq = < ????? >; */ - status = "disabled"; - }; - stack@1 { - /* Stack number */ - reg = <1>; - /* Chip-scope PHB index */ - ibm,phb-index = <0x4>; - compatible = "ibm,power9-phb-stack"; - /* ibm,lane-eq = < ????? >; */ - status = "disabled"; - }; - stack@2 { - /* Stack number */ - reg = <2>; - /* Chip-scope PHB index */ - ibm,phb-index = <0x5>; - compatible = "ibm,power9-phb-stack"; - /* ibm,lane-eq = < ????? >; */ - status = "disabled"; - }; - }; - - chiptod@40000 { - primary; - reg = <0x40000 0x34>; - compatible = "ibm,power-chiptod", "ibm,power9-chiptod"; - }; - - xive@5013400 { - reg = <0x5013000 0x300>; - compatible = "ibm,power9-xive-x"; - }; - - PSI_X0: psihb@5012900 { - reg = <0x5012900 0x100>; - compatible = "ibm,power9-psihb-x", "ibm,psihb-x"; - - /* This acts as an interrupt remapper for the 16 - * interrupts coming into the PSI HB. - * OPAL will generate the corresponding interrupt-map - * property with the final XIVE numbers - */ - #interrupt-cells = <1>; - #address-cells = <0>; - #interrupt-map-mask = < 0xff >; - }; - - nx@2010000 { - reg = <0x2010000 0x4000>; - compatible = "ibm,power9-nx"; - }; - }; - - lpcm-opb@6030000000000 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "ibm,power9-lpcm-opb", "simple-bus"; - ibm,chip-id = <0x0>; - ranges = < 0x00000000 0x60300 0x00000000 0x80000000 - 0x80000000 0x60300 0x80000000 0x80000000 >; - opb-master@c0010000 { - compatible = "ibm,power9-lpcm-opb-master"; - reg = < 0xc0010000 0x60 >; - }; - opb-arbiter@c0011000 { - compatible = "ibm,power9-lpcm-opb-arbiter"; - reg = < 0xc0011000 0x8 >; - }; - lpc-controller@c0012000 { - compatible = "ibm,power9-lpc-controller"; - reg = < 0xc0012000 0x100 >; - }; - lpc@f0000000 { - compatible = "ibm,power9-lpc"; - #address-cells = <2>; - #size-cells = <1>; - ranges = < 3 0 0xf0000000 0x10000000 /* FW space */ - 0 0 0xe0000000 0x10000000 /* MEM space */ - 1 0 0xd0010000 0x00010000 /* IO space */ >; - - /* We currently only support level interrupts on the LPC, - * we use 1 cell. - */ - #interrupt-cells = <1>; - - /* Route the LPC interrupts to one of the 4 supported - * PSI interrupt inputs [7...10]. - */ - interrupt-map = < 0 0 4 &PSI_X0 8 - 0 0 10 &PSI_X0 9>; - interrupt-map-mask = < 0 0 0xff >; - - /* - * Devices on the LPC bus go here - */ - - serial@i3f8 { - compatible = "ns16550"; - reg = < 1 0x3f8 0x10 >; - current-speed = < 115200 >; - clock-frequency = < 1843200 >; - interrupts = <4>; - }; - - ipmi@ie4 { - compatible = "ipmi-bt"; - reg = < 1 0xe4 0x3 >; - interrupts = <10>; - }; - }; - }; - -}; diff --git a/external/devicetree/p9.dts b/external/devicetree/p9.dts new file mode 100644 index 000000000000..905e33d57aae --- /dev/null +++ b/external/devicetree/p9.dts @@ -0,0 +1,221 @@ +/dts-v1/; + +/ { + compatible = "ibm,powernv"; + model = "BML"; + #size-cells = <0x2>; + #address-cells = <0x2>; + + chosen { + linux,pci-assign-all-buses = <0x1>; + linux,pci-probe-only = <0x0>; + linux,platform = <0x100>; + ibm,architecture-vec-5 = <0x0 0x800000>; + linux,initrd-start = <0x0 0x28000000>; + linux,initrd-end = <0x0 0x30000000>; + }; + + memory@0 { + reg = <0x0 0x0 0x0 0x80000000>; + ibm,chip-id = <0x0>; + device_type = "memory"; + }; + + cpus { + #size-cells = <0x0>; + #address-cells = <0x1>; + + PowerPC,POWER9@0 { + device_type = "cpu"; + status = "okay"; + ibm,chip-id = <0x0>; + ibm,pir = <0x0>; + timebase-frequency = <0x1c4fecc0>; + clock-frequency = <0xe27f6600>; + ibm,segment-page-sizes = <0xc 0x0 0x1 0xc 0x0 0x10 0x110 0x1 0x10 0x1 0x14 0x111 0x1 0x14 0x2 0x18 0x100 0x1 0x18 0x0 0x22 0x120 0x1 0x22 0x3>; + ibm,processor-segment-sizes = <0x1c 0xffffffff 0xffffffff 0xffffffff>; + ibm,pa-features = <0x600f63f 0xc70080c0>; + i-cache-size = <0x8000>; + d-cache-size = <0x8000>; + i-cache-line-size = <0x80>; + d-cache-line-size = <0x80>; + ibm,slb-size = <0x20>; + ibm,vmx = <0x2>; + reg = <0x0>; + ibm,ppc-interrupt-server#s = <0x0>; + }; + }; + + xscom@603fc00000000 { + compatible = "ibm,xscom", "ibm,power9-xscom"; + ibm,chip-id = <0x0>; + #size-cells = <0x1>; + #address-cells = <0x1>; + reg = <0x603fc 0x0 0x8 0x0>; + + /* PE#0 supports only one stack */ + pbcq@4010c00 { + ibm,pec-index = <0x0>; + reg = <0x4010c00 0x100 0xd010800 0x200>; + compatible = "ibm,power9-pbcq"; + #address-cells = <0x1>; + #size-cells = <0x0>; + + stack@0 { + /* Stack number */ + reg = <0x0>; + /* Chip-scope PHB index */ + ibm,phb-index = <0x0>; + compatible = "ibm,power9-phb-stack"; + status = "okay"; + }; + }; + + /* PE#1 supports two stacks */ + pbcq@4011000 { + ibm,pec-index = <0x1>; + reg = <0x4011000 0x100 0xe010800 0x200>; + compatible = "ibm,power9-pbcq"; + #address-cells = <0x1>; + #size-cells = <0x0>; + + stack@0 { + reg = <0x0>; + ibm,phb-index = <0x1>; + compatible = "ibm,power9-phb-stack"; + status = "okay"; + }; + + stack@1 { + reg = <0x1>; + ibm,phb-index = <0x2>; + compatible = "ibm,power9-phb-stack"; + status = "okay"; + }; + }; + + /* PE#2 supports three stacks */ + pbcq@4011400 { + ibm,pec-index = <0x2>; + reg = <0x4011400 0x100 0xf010800 0x200>; + compatible = "ibm,power9-pbcq"; + #address-cells = <0x1>; + #size-cells = <0x0>; + + stack@0 { + reg = <0x0>; + ibm,phb-index = <0x3>; + compatible = "ibm,power9-phb-stack"; + status = "disabled"; + }; + + stack@1 { + reg = <0x1>; + ibm,phb-index = <0x4>; + compatible = "ibm,power9-phb-stack"; + status = "disabled"; + }; + + stack@2 { + reg = <0x2>; + ibm,phb-index = <0x5>; + compatible = "ibm,power9-phb-stack"; + status = "disabled"; + }; + }; + + chiptod@40000 { + primary; + reg = <0x40000 0x34>; + compatible = "ibm,power-chiptod", "ibm,power9-chiptod"; + }; + + xive@5013400 { + reg = <0x5013000 0x300>; + compatible = "ibm,power9-xive-x"; + }; + + PSI_X0: psihb@5012900 { + reg = <0x5012900 0x100>; + compatible = "ibm,power9-psihb-x", "ibm,psihb-x"; + + /* + * This acts as an interrupt remapper for the 16 + * interrupts coming into the PSI HB. + * OPAL will generate the corresponding interrupt-map + * property with the final XIVE numbers + */ + #interrupt-cells = <0x1>; + #address-cells = <0x0>; + #interrupt-map-mask = <0xff>; + }; + + nx@2010000 { + reg = <0x2010000 0x4000>; + compatible = "ibm,power9-nx"; + }; + }; + + lpcm-opb@6030000000000 { + #address-cells = <0x1>; + #size-cells = <0x1>; + compatible = "ibm,power9-lpcm-opb", "simple-bus"; + ibm,chip-id = <0x0>; + ranges = <0x00000000 0x60300 0x00000000 0x80000000 + 0x80000000 0x60300 0x80000000 0x80000000>; + + opb-master@c0010000 { + compatible = "ibm,power9-lpcm-opb-master"; + reg = <0xc0010000 0x60>; + }; + + opb-arbiter@c0011000 { + compatible = "ibm,power9-lpcm-opb-arbiter"; + reg = <0xc0011000 0x8>; + }; + + lpc-controller@c0012000 { + compatible = "ibm,power9-lpc-controller"; + reg = <0xc0012000 0x100>; + }; + + lpc@f0000000 { + compatible = "ibm,power9-lpc"; + #address-cells = <0x2>; + #size-cells = <0x1>; + ranges = <0x3 0x0 0xf0000000 0x10000000 /* FW space */ + 0x0 0x0 0xe0000000 0x10000000 /* MEM space */ + 0x1 0x0 0xd0010000 0x00010000 /* IO space */ >; + + /* + * We currently only support level interrupts on the LPC, + * we use 1 cell. + */ + #interrupt-cells = <0x1>; + + /* + * Route the LPC interrupts to one of the 4 supported + * PSI interrupt inputs [7...10]. + */ + interrupt-map = <0x0 0x0 0x4 &PSI_X0 0x8 + 0x0 0x0 0xa &PSI_X0 0x9>; + interrupt-map-mask = <0x0 0x0 0xff>; + + /* Devices on the LPC bus go here */ + + serial@i3f8 { + compatible = "ns16550"; + reg = <0x1 0x3f8 0x10>; + current-speed = <0x1c200>; + clock-frequency = <0x1c2000>; + interrupts = <0x4>; + }; + + ipmi@ie4 { + compatible = "ipmi-bt"; + reg = <0x1 0xe4 0x3>; + interrupts = <0x10>; + }; + }; + }; +}; From patchwork Wed Feb 13 21:42:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reza Arbab X-Patchwork-Id: 1041592 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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 440CjR60jdz9rxp for ; Thu, 14 Feb 2019 08:44:43 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 440CjR4YdHzDqRp for ; Thu, 14 Feb 2019 08:44:43 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=linux.ibm.com (client-ip=148.163.156.1; helo=mx0a-001b2d01.pphosted.com; envelope-from=arbab@linux.ibm.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 440CgB4bfSzDqRh for ; Thu, 14 Feb 2019 08:42:46 +1100 (AEDT) Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1DLcgK5021174 for ; Wed, 13 Feb 2019 16:42:45 -0500 Received: from e17.ny.us.ibm.com (e17.ny.us.ibm.com [129.33.205.207]) by mx0a-001b2d01.pphosted.com with ESMTP id 2qmtd72f9v-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 13 Feb 2019 16:42:44 -0500 Received: from localhost by e17.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 13 Feb 2019 21:42:43 -0000 Received: from b01cxnp23033.gho.pok.ibm.com (9.57.198.28) by e17.ny.us.ibm.com (146.89.104.204) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 13 Feb 2019 21:42:40 -0000 Received: from b01ledav005.gho.pok.ibm.com (b01ledav005.gho.pok.ibm.com [9.57.199.110]) by b01cxnp23033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x1DLgdLo22347904 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 13 Feb 2019 21:42:39 GMT Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C68EAAE060; Wed, 13 Feb 2019 21:42:39 +0000 (GMT) Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A9E08AE05C; Wed, 13 Feb 2019 21:42:39 +0000 (GMT) Received: from arbab-laptop.localdomain (unknown [9.53.179.210]) by b01ledav005.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 13 Feb 2019 21:42:39 +0000 (GMT) Received: by arbab-laptop.localdomain (Postfix, from userid 152845) id 3A7F94608CA; Wed, 13 Feb 2019 15:42:38 -0600 (CST) From: Reza Arbab To: skiboot@lists.ozlabs.org Date: Wed, 13 Feb 2019 15:42:37 -0600 X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1550094158-29410-1-git-send-email-arbab@linux.ibm.com> References: <1550094158-29410-1-git-send-email-arbab@linux.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 19021321-0040-0000-0000-000004C105E3 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010590; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000279; SDB=6.01160630; UDB=6.00604226; IPR=6.00941184; MB=3.00025568; MTD=3.00000008; XFM=3.00000015; UTC=2019-02-13 21:42:42 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19021321-0041-0000-0000-000008CC2624 Message-Id: <1550094158-29410-6-git-send-email-arbab@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-02-13_12:, , 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=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=740 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902130142 Subject: [Skiboot] [PATCH 5/6] devicetree: Add p9-simics.dts X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alistair Popple MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Add a p9-based devicetree that's suitable for use with Simics. Signed-off-by: Reza Arbab --- external/devicetree/p9-simics.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 external/devicetree/p9-simics.dts diff --git a/external/devicetree/p9-simics.dts b/external/devicetree/p9-simics.dts new file mode 100644 index 000000000000..bd05d09dc1b0 --- /dev/null +++ b/external/devicetree/p9-simics.dts @@ -0,0 +1,16 @@ +/include/ "p9.dts" + +/ { + simics { + }; + + /* + * This isn't part of our Simics model (yet). + * [system_cmp0.cosimulator error] write error to physical address 0x60300d00100e6 + */ + lpcm-opb@6030000000000 { + lpc@f0000000 { + /delete-node/ ipmi@ie4; + }; + }; +}; From patchwork Wed Feb 13 21:42:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reza Arbab X-Patchwork-Id: 1041588 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 440Cgs4gLzz9sMp for ; Thu, 14 Feb 2019 08:43:21 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 440Cgq10gczDqV3 for ; Thu, 14 Feb 2019 08:43:18 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=linux.ibm.com (client-ip=148.163.156.1; helo=mx0a-001b2d01.pphosted.com; envelope-from=arbab@linux.ibm.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 440Cg93vGZzDqRh for ; Thu, 14 Feb 2019 08:42:45 +1100 (AEDT) Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1DLcgAB021213 for ; Wed, 13 Feb 2019 16:42:43 -0500 Received: from e33.co.us.ibm.com (e33.co.us.ibm.com [32.97.110.151]) by mx0a-001b2d01.pphosted.com with ESMTP id 2qmtd72f9c-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 13 Feb 2019 16:42:43 -0500 Received: from localhost by e33.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 13 Feb 2019 21:42:42 -0000 Received: from b03cxnp07028.gho.boulder.ibm.com (9.17.130.15) by e33.co.us.ibm.com (192.168.1.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 13 Feb 2019 21:42:40 -0000 Received: from b03ledav003.gho.boulder.ibm.com (b03ledav003.gho.boulder.ibm.com [9.17.130.234]) by b03cxnp07028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x1DLgdPJ26214450 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 13 Feb 2019 21:42:39 GMT Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BF9BC6A04F; Wed, 13 Feb 2019 21:42:39 +0000 (GMT) Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A74F26A047; Wed, 13 Feb 2019 21:42:39 +0000 (GMT) Received: from arbab-laptop.localdomain (unknown [9.53.179.210]) by b03ledav003.gho.boulder.ibm.com (Postfix) with ESMTP; Wed, 13 Feb 2019 21:42:39 +0000 (GMT) Received: by arbab-laptop.localdomain (Postfix, from userid 152845) id 4381C4608D1; Wed, 13 Feb 2019 15:42:38 -0600 (CST) From: Reza Arbab To: skiboot@lists.ozlabs.org Date: Wed, 13 Feb 2019 15:42:38 -0600 X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1550094158-29410-1-git-send-email-arbab@linux.ibm.com> References: <1550094158-29410-1-git-send-email-arbab@linux.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 19021321-0036-0000-0000-00000A8B4F4A X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010590; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000279; SDB=6.01160630; UDB=6.00605774; IPR=6.00941184; MB=3.00025568; MTD=3.00000008; XFM=3.00000015; UTC=2019-02-13 21:42:41 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19021321-0037-0000-0000-00004AB7B93C Message-Id: <1550094158-29410-7-git-send-email-arbab@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-02-13_12:, , 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=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=834 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902130142 Subject: [Skiboot] [PATCH 6/6] devicetree: Add Makefile to build dtb binaries X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alistair Popple MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Add a simple Makefile to build external/devicetree/*.dtb. Signed-off-by: Reza Arbab --- external/devicetree/.gitignore | 1 + external/devicetree/Makefile | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 external/devicetree/.gitignore create mode 100644 external/devicetree/Makefile diff --git a/external/devicetree/.gitignore b/external/devicetree/.gitignore new file mode 100644 index 000000000000..b60ed208c779 --- /dev/null +++ b/external/devicetree/.gitignore @@ -0,0 +1 @@ +*.dtb diff --git a/external/devicetree/Makefile b/external/devicetree/Makefile new file mode 100644 index 000000000000..5a136f49999a --- /dev/null +++ b/external/devicetree/Makefile @@ -0,0 +1,10 @@ +DTC=/usr/bin/dtc +OUT=p9-simics.dtb + +all: $(OUT) + +%.dtb: %.dts + $(DTC) -I dts -O dtb $< -o $@ + +clean: + $(RM) $(OUT)