From patchwork Fri Mar 13 01:19:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1254125 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 (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48dnvy5wMCz9sPF for ; Fri, 13 Mar 2020 12:21:18 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=ozlabs.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.a=rsa-sha256 header.s=201707 header.b=ZbwDaXtn; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 48dnvy0LMMzDqRR for ; Fri, 13 Mar 2020 12:21:18 +1100 (AEDT) X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::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 lists.ozlabs.org (Postfix) with ESMTPS id 48dntN0VR2zDqQW for ; Fri, 13 Mar 2020 12:19:56 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.a=rsa-sha256 header.s=201707 header.b=ZbwDaXtn; dkim-atps=neutral Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 48dntM0T56z9sSd; Fri, 13 Mar 2020 12:19:55 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1584062395; bh=NRT62ofEiok4QS7YhHjDyb3TZo/9+MeWZ+Fy7k5bU18=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZbwDaXtnJDXmIyxsyBJ5MeBntpTvZ5kwk6TjRQ6mQ/8EpoZRWTyGPMdh2hIeRCJhr VP8ni+nMMXqtAiDLcFGGlZRlRKatVK/Hduow+nFcNpg1mK/a1scWQFvo38vZRG3B+C JDMl5du3ZdG2h6ph1LqMLyQyPipZqQVdPTWZn8KJWQPK1yLn/zyFC0ngr5gnSUqyM8 aXBYT3fUrQLHFlozqT58pKUWwR+cWhBSniD7zyLt6J2Brc6xr+xaMDnHLeuPIfjjDs qKFW/R9cfrw8pAc9R9UwzjNcRyhX8KN3pvjh2+GucBVVuVynGaS5iQd7ft2eRxxG8D Nz5BN4cUb2jdA== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Fri, 13 Mar 2020 12:19:36 +1100 Message-Id: <20200313011939.279770-10-amitay@ozlabs.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200313011939.279770-1-amitay@ozlabs.org> References: <20200313011939.279770-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 09/12] dts: Add phb targets X-BeenThere: pdbg@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "mailing list for https://github.com/open-power/pdbg development" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Amitay Isaacs Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" Signed-off-by: Amitay Isaacs --- p9.dts | 60 +++++++++++++++++++++++++++++++ tests/test_p9_fapi_translation.sh | 13 ++++++- 2 files changed, 72 insertions(+), 1 deletion(-) diff --git a/p9.dts b/p9.dts index c6890ad..8281fe3 100644 --- a/p9.dts +++ b/p9.dts @@ -287,6 +287,16 @@ index = < 0x00 >; reg = < 0x00 0xd000000 0xfffff >; }; + + phb0 { + compatible = "ibm,power9-phb"; + index = < 0x00 >; + }; + + phb1 { + compatible = "ibm,power9-phb"; + index = < 0x01 >; + }; }; chiplet@e000000 { @@ -301,6 +311,16 @@ index = < 0x01 >; reg = < 0x00 0xe000000 0xfffff >; }; + + phb0 { + compatible = "ibm,power9-phb"; + index = < 0x02 >; + }; + + phb1 { + compatible = "ibm,power9-phb"; + index = < 0x03 >; + }; }; chiplet@f000000 { @@ -315,6 +335,16 @@ index = < 0x02 >; reg = < 0x00 0xf000000 0xfffff >; }; + + phb0 { + compatible = "ibm,power9-phb"; + index = < 0x04 >; + }; + + phb1 { + compatible = "ibm,power9-phb"; + index = < 0x05 >; + }; }; chiplet@10000000 { @@ -1888,6 +1918,16 @@ index = < 0x00 >; reg = < 0x00 0xd000000 0xfffff >; }; + + phb0 { + compatible = "ibm,power9-phb"; + index = < 0x00 >; + }; + + phb1 { + compatible = "ibm,power9-phb"; + index = < 0x01 >; + }; }; chiplet@e000000 { @@ -1902,6 +1942,16 @@ index = < 0x01 >; reg = < 0x00 0xe000000 0xfffff >; }; + + phb0 { + compatible = "ibm,power9-phb"; + index = < 0x02 >; + }; + + phb1 { + compatible = "ibm,power9-phb"; + index = < 0x03 >; + }; }; chiplet@f000000 { @@ -1916,6 +1966,16 @@ index = < 0x02 >; reg = < 0x00 0xf000000 0xfffff >; }; + + phb0 { + compatible = "ibm,power9-phb"; + index = < 0x04 >; + }; + + phb1 { + compatible = "ibm,power9-phb"; + index = < 0x05 >; + }; }; chiplet@10000000 { diff --git a/tests/test_p9_fapi_translation.sh b/tests/test_p9_fapi_translation.sh index 91dda04..b54edf3 100755 --- a/tests/test_p9_fapi_translation.sh +++ b/tests/test_p9_fapi_translation.sh @@ -147,9 +147,20 @@ test_run libpdbg_p9_fapi_translation_test pec test_result 0 <