From patchwork Fri Mar 13 01:19:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1254119 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 (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48dnv25ZP9z9sPF for ; Fri, 13 Mar 2020 12:20:30 +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=dz3V9Jy8; 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 48dnv044ZLzDqQH for ; Fri, 13 Mar 2020 12:20:28 +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) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 48dntL0Gt9zDqQH for ; Fri, 13 Mar 2020 12:19:54 +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=dz3V9Jy8; 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 48dntJ6jw4z9sQx; Fri, 13 Mar 2020 12:19:52 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1584062392; bh=d9mMdfaBsibvz3eDnRKnkzSyYlcAHRkC9gih0bnPrgs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dz3V9Jy8CQEpLQUfGgqph1VOXhoQm0sQCTRyd8Jf2HoX/ewa3YUawYq/k7mPJbvXW 1btr8BFdd0tcSPXmerqAgmOu/OqJWl/oXHG/wt53Dal2NfRPK4JaSMCeR/Qagiyx7q /rTGd/HVsgtKiPfnnMUS85h2iWQ3cPZyn8ti0HKJP/a+bBhlKXo1FbAfv319Ib4v8H NEtr+oyAFgvNbFXs2OQEL2+REwyS3brPtK2mOnv5Ydm2bUbXH20ulhbB0mAej0Cr3f 1HT58uWC+rmxlINp0Wma7MLwhfKa9D4ifYkj+WMXlaMZqg+1KR6x8OOe7qPMaQ5mfr PC8AVwY8USn8w== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Fri, 13 Mar 2020 12:19:28 +1100 Message-Id: <20200313011939.279770-2-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 01/12] Makefile: Add dtb depedency on test, not on binary 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 --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index a4ca5f3..eaf6dd7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -34,6 +34,7 @@ TESTS = $(libpdbg_tests) optcmd_test $(PDBG_TESTS) tests/test_tree2.sh: fake2.dtb tests/test_prop.sh: fake.dtb +tests/test_p9_fapi_translation.sh: p9.dtb p9-kernel.dtb test: $(libpdbg_tests) @@ -267,7 +268,6 @@ libpdbg_p9_fapi_translation_test_SOURCES = src/tests/libpdbg_p9_fapi_translation libpdbg_p9_fapi_translation_test_CXXFLAGS = $(libpdbg_test_cflags) libpdbg_p9_fapi_translation_test_LDFLAGS = $(libpdbg_test_ldflags) libpdbg_p9_fapi_translation_test_LDADD = $(libpdbg_test_ldadd) -EXTRA_libpdbg_p9_fapi_translation_test_DEPENDENCIES = p9.dtb p9-kernel.dtb libpdbg_prop_test_SOURCES = src/tests/libpdbg_prop_test.c libpdbg_prop_test_CFLAGS = $(libpdbg_test_cflags) From patchwork Fri Mar 13 01:19:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1254120 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 48dnvB15hWz9sQx for ; Fri, 13 Mar 2020 12:20:38 +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=mR9VH1ut; 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 48dnv82rQGzDqQM for ; Fri, 13 Mar 2020 12:20:36 +1100 (AEDT) X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 48dntL0F8xzDqQD for ; Fri, 13 Mar 2020 12:19:53 +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=mR9VH1ut; 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 48dntK11Mgz9sRN; Fri, 13 Mar 2020 12:19:53 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1584062393; bh=2zvp/wlI4EECW2NJW63GiFHV7alXaHAWbvmuQ/kZwjc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mR9VH1uttblvLXrUf/9K9su00y3cpQWndAeN/D/pYyJqkh+97R1dZi2SAOHa992as YZDMlLNGViXazlGjseooTl7+sGhtKjnISC7J//Z47griQT0jxe/a9gmy5fc3f7OT8c ++oD3/8Pl0k5IqTkEhZJEmp8E15lyFkFYxhxbldhin61terKvdUG5xwzkbjnRoh5co YxXLYp8ypytOJhgukYGHwOTyFlyjYKtdaBOlZ3G66178X0H1TApkj4UBBlv0mFRA9k KwAl1RaUZ0VxqrbXXC/yKpDYWNLcsfHxvpcdN39kwz5UVzVquNw1HofMOcf45xzAbW GnWWjm4A+0xtQ== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Fri, 13 Mar 2020 12:19:29 +1100 Message-Id: <20200313011939.279770-3-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 02/12] dts: Fix index for mca 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 | 16 ++++++++-------- tests/test_p9_fapi_translation.sh | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/p9.dts b/p9.dts index 8a35d75..090f957 100644 --- a/p9.dts +++ b/p9.dts @@ -182,22 +182,22 @@ mca0 { compatible = "ibm,power9-mca"; - index = < 0x00 >; + index = < 0x04 >; }; mca1 { compatible = "ibm,power9-mca"; - index = < 0x01 >; + index = < 0x05 >; }; mca2 { compatible = "ibm,power9-mca"; - index = < 0x02 >; + index = < 0x06 >; }; mca3 { compatible = "ibm,power9-mca"; - index = < 0x03 >; + index = < 0x07 >; }; mcbist { @@ -1683,22 +1683,22 @@ mca0 { compatible = "ibm,power9-mca"; - index = < 0x00 >; + index = < 0x04 >; }; mca1 { compatible = "ibm,power9-mca"; - index = < 0x01 >; + index = < 0x05 >; }; mca2 { compatible = "ibm,power9-mca"; - index = < 0x02 >; + index = < 0x06 >; }; mca3 { compatible = "ibm,power9-mca"; - index = < 0x03 >; + index = < 0x07 >; }; mcbist { diff --git a/tests/test_p9_fapi_translation.sh b/tests/test_p9_fapi_translation.sh index 3a01503..6773843 100755 --- a/tests/test_p9_fapi_translation.sh +++ b/tests/test_p9_fapi_translation.sh @@ -198,18 +198,18 @@ Testing /proc0/pib/chiplet@7000000/mc@0/mca0 0 Testing /proc0/pib/chiplet@7000000/mc@0/mca1 1 Testing /proc0/pib/chiplet@7000000/mc@0/mca2 2 Testing /proc0/pib/chiplet@7000000/mc@0/mca3 3 -Testing /proc0/pib/chiplet@8000000/mc@1/mca0 0 -Testing /proc0/pib/chiplet@8000000/mc@1/mca1 1 -Testing /proc0/pib/chiplet@8000000/mc@1/mca2 2 -Testing /proc0/pib/chiplet@8000000/mc@1/mca3 3 +Testing /proc0/pib/chiplet@8000000/mc@1/mca0 4 +Testing /proc0/pib/chiplet@8000000/mc@1/mca1 5 +Testing /proc0/pib/chiplet@8000000/mc@1/mca2 6 +Testing /proc0/pib/chiplet@8000000/mc@1/mca3 7 Testing /proc1/pib/chiplet@7000000/mc@0/mca0 0 Testing /proc1/pib/chiplet@7000000/mc@0/mca1 1 Testing /proc1/pib/chiplet@7000000/mc@0/mca2 2 Testing /proc1/pib/chiplet@7000000/mc@0/mca3 3 -Testing /proc1/pib/chiplet@8000000/mc@1/mca0 0 -Testing /proc1/pib/chiplet@8000000/mc@1/mca1 1 -Testing /proc1/pib/chiplet@8000000/mc@1/mca2 2 -Testing /proc1/pib/chiplet@8000000/mc@1/mca3 3 +Testing /proc1/pib/chiplet@8000000/mc@1/mca0 4 +Testing /proc1/pib/chiplet@8000000/mc@1/mca1 5 +Testing /proc1/pib/chiplet@8000000/mc@1/mca2 6 +Testing /proc1/pib/chiplet@8000000/mc@1/mca3 7 EOF test_run libpdbg_p9_fapi_translation_test mca From patchwork Fri Mar 13 01:19:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1254118 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) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48dnts6hcZz9sPF for ; Fri, 13 Mar 2020 12:20:21 +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=AiDlNiRf; 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 48dntq11J0zDqQD for ; Fri, 13 Mar 2020 12:20:19 +1100 (AEDT) X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (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 48dntL0L6qzDqQM for ; Fri, 13 Mar 2020 12:19:54 +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=AiDlNiRf; 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 48dntK3LD7z9sSR; Fri, 13 Mar 2020 12:19:53 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1584062393; bh=WqGYV96cOQifgYNI9OhGHtFowCStNnzgSDrZ0/YuO5g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AiDlNiRfyi53JCE+9PIq+haRZRf/7uDgQeFE9E0LMXWy5KrFQUKSqDTT7Pb9pMpdY Gzi4AL68mkoGON4f8gQfXnL17DTC9eqYp1p6+8WcCwSpv8A4SN6QaA90t8/a6xJQy1 aOjCTjtaq7qsz/fCI4lQer0/P/dGh8+R5snzDWmE17x0W47yU3pWCaLr2g3+Bg7nXa 1ypQUiNHe73zCMfcByCcD4aLF2JYok1W2TyXXb893KuhQS9YIgxv8489/FbyMHzcBZ Fcv+Uh3/KQOMvTlOapUw9CD512s9mjTkUvQQrOobs8L/0yBHd1zkbQEDyHfn2H648R ZeTBtD17mLFTQ== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Fri, 13 Mar 2020 12:19:30 +1100 Message-Id: <20200313011939.279770-4-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 03/12] dts: Fix index for mcs 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 | 28 ++++++++++++++++++++++++---- tests/test_p9_fapi_translation.sh | 8 ++++++-- 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/p9.dts b/p9.dts index 090f957..199254c 100644 --- a/p9.dts +++ b/p9.dts @@ -75,9 +75,14 @@ compatible = "ibm,power9-nest"; index = < 0x01 >; - mcs1 { + mcs2 { compatible = "ibm,power9-mcs"; - index = < 0x01 >; + index = < 0x02 >; + }; + + mcs3 { + compatible = "ibm,power9-mcs"; + index = < 0x03 >; }; }; }; @@ -111,6 +116,11 @@ compatible = "ibm,power9-mcs"; index = < 0x00 >; }; + + mcs1 { + compatible = "ibm,power9-mcs"; + index = < 0x01 >; + }; }; }; @@ -1576,9 +1586,14 @@ compatible = "ibm,power9-nest"; index = < 0x01 >; - mcs1 { + mcs2 { compatible = "ibm,power9-mcs"; - index = < 0x01 >; + index = < 0x02 >; + }; + + mcs3 { + compatible = "ibm,power9-mcs"; + index = < 0x03 >; }; }; }; @@ -1612,6 +1627,11 @@ compatible = "ibm,power9-mcs"; index = < 0x00 >; }; + + mcs1 { + compatible = "ibm,power9-mcs"; + index = < 0x01 >; + }; }; }; diff --git a/tests/test_p9_fapi_translation.sh b/tests/test_p9_fapi_translation.sh index 6773843..7f7ea21 100755 --- a/tests/test_p9_fapi_translation.sh +++ b/tests/test_p9_fapi_translation.sh @@ -184,10 +184,14 @@ test_run libpdbg_p9_fapi_translation_test omi test_result 0 < X-Patchwork-Id: 1254127 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 48dnw65prMz9sQx for ; Fri, 13 Mar 2020 12:21:26 +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=Q1Eh1OeB; 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 48dnw42VnJzDqRf for ; Fri, 13 Mar 2020 12:21:24 +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 48dntN0V1NzDqQT 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=Q1Eh1OeB; 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 48dntL199vz9sSW; Fri, 13 Mar 2020 12:19:54 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1584062394; bh=oekBRLbxPvTi0DPh4JILMqtIWo5RC9fIELJe6pXIkZs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q1Eh1OeBr7LtGYAl1uRA4ZUe3YOA66iwolretqrv4adCQ4EwbqTorXcqjCWMYJIjJ xRoaGxmRc6xCpIrJp5YwPmspxDHy9dR5+WCYkx0AG23FcKw2E64x3IV3Hd5KWS44Lc elOcrBYB2aFa2HYgCl4fuEDCGksFtflgPiZfsiyni9zxf1Vzm4Guihy98GH7x8zPZU L9+av13F1ogUY+H3sgi7wiH7UKLkHAX2FI7PdvDRcHAmfw1bFrEVEeipuVRXl0ndzX s5XcZrzQEcnVJAwFibX3Gqq3rEr/5imPkziG+MSrKgHakXkJrbPntv7d1HAGJbIM1H lwSD4YZmT3/uA== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Fri, 13 Mar 2020 12:19:32 +1100 Message-Id: <20200313011939.279770-6-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 05/12] dts: Add nv 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 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/p9.dts b/p9.dts index 835c433..1a7706f 100644 --- a/p9.dts +++ b/p9.dts @@ -1510,6 +1510,36 @@ }; }; }; + + nv0 { + compatible = "ibm,power9-nv"; + index = < 0x00 >; + }; + + nv1 { + compatible = "ibm,power9-nv"; + index = < 0x01 >; + }; + + nv2 { + compatible = "ibm,power9-nv"; + index = < 0x02 >; + }; + + nv3 { + compatible = "ibm,power9-nv"; + index = < 0x03 >; + }; + + nv4 { + compatible = "ibm,power9-nv"; + index = < 0x04 >; + }; + + nv5 { + compatible = "ibm,power9-nv"; + index = < 0x05 >; + }; }; }; @@ -3021,6 +3051,36 @@ }; }; }; + + nv0 { + compatible = "ibm,power9-nv"; + index = < 0x00 >; + }; + + nv1 { + compatible = "ibm,power9-nv"; + index = < 0x01 >; + }; + + nv2 { + compatible = "ibm,power9-nv"; + index = < 0x02 >; + }; + + nv3 { + compatible = "ibm,power9-nv"; + index = < 0x03 >; + }; + + nv4 { + compatible = "ibm,power9-nv"; + index = < 0x04 >; + }; + + nv5 { + compatible = "ibm,power9-nv"; + index = < 0x05 >; + }; }; }; }; From patchwork Fri Mar 13 01:19:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1254122 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 48dnvY2d4Pz9sRN for ; Fri, 13 Mar 2020 12:20:57 +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=SiA0XXyn; 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 48dnvX5WCQzDqQM for ; Fri, 13 Mar 2020 12:20:56 +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 48dntN0TX0zDqQQ 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=SiA0XXyn; 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 48dntL2vnNz9sSX; Fri, 13 Mar 2020 12:19:54 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1584062394; bh=veHXXeiqHf0gV5Paj0zcBbnCta/lltdtt1nuvxwWJpw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SiA0XXynHZeuur9xEsHe1i/SRZVss+Ee/HC3bfOEvJWX5fOC9aH3JgpPXsvb/LRNw fNCkmZjEqsuRFd9lV4OixLJmQVi5Js+ydmyHlK0RiKARx8YxvaLNZPnQhlubthANbm YXhu/xotZ8UOf7H34u/LbCdXyZaZF5DNG+llsn4Fm9pxWU1/Y0xChtQSRLsE/26eQr PQwZA6ZyEOv4GB/wvcn8aWH/wlElTPmJnytWnFKHhX2eZVdzy2TgCirxgVz3BbiVaZ carW8m3W6AMg5fmOMe36RTklaqGn5O/Nrodr8oCmLXkVhmwiS+rFKRFL0TYo8RnGwA BA83xUnMiMVsg== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Fri, 13 Mar 2020 12:19:33 +1100 Message-Id: <20200313011939.279770-7-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 06/12] dts: Add obus_brick 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 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/p9.dts b/p9.dts index 1a7706f..5ca7180 100644 --- a/p9.dts +++ b/p9.dts @@ -229,6 +229,21 @@ index = < 0x00 >; reg = < 0x00 0x9000000 0xffffff >; }; + + obrick0 { + compatible = "ibm,power9-obus_brick"; + index = < 0x00 >; + }; + + obrick1 { + compatible = "ibm,power9-obus_brick"; + index = < 0x01 >; + }; + + obrick2 { + compatible = "ibm,power9-obus_brick"; + index = < 0x02 >; + }; }; chiplet@c000000 { @@ -243,6 +258,21 @@ index = < 0x03 >; reg = < 0x00 0xc000000 0xffffff >; }; + + obrick0 { + compatible = "ibm,power9-obus_brick"; + index = < 0x09 >; + }; + + obrick1 { + compatible = "ibm,power9-obus_brick"; + index = < 0x0a >; + }; + + obrick2 { + compatible = "ibm,power9-obus_brick"; + index = < 0x0b >; + }; }; chiplet@d000000 { @@ -1770,6 +1800,21 @@ index = < 0x00 >; reg = < 0x00 0x9000000 0xffffff >; }; + + obrick0 { + compatible = "ibm,power9-obus_brick"; + index = < 0x00 >; + }; + + obrick1 { + compatible = "ibm,power9-obus_brick"; + index = < 0x01 >; + }; + + obrick2 { + compatible = "ibm,power9-obus_brick"; + index = < 0x02 >; + }; }; chiplet@c000000 { @@ -1784,6 +1829,21 @@ index = < 0x03 >; reg = < 0x00 0xc000000 0xffffff >; }; + + obrick0 { + compatible = "ibm,power9-obus_brick"; + index = < 0x09 >; + }; + + obrick1 { + compatible = "ibm,power9-obus_brick"; + index = < 0x0a >; + }; + + obrick2 { + compatible = "ibm,power9-obus_brick"; + index = < 0x0b >; + }; }; chiplet@d000000 { From patchwork Fri Mar 13 01:19:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1254124 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 (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48dnvt3wBPz9sPF for ; Fri, 13 Mar 2020 12:21:14 +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=g8a5pqUZ; 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 48dnvs6tJ5zDqQZ for ; Fri, 13 Mar 2020 12:21:13 +1100 (AEDT) X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (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 48dntN0TzXzDqQR 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=g8a5pqUZ; 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 48dntL52T1z9sSZ; Fri, 13 Mar 2020 12:19:54 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1584062394; bh=RP+EM2x1YnEdC27w1wE9f8eZpkb7gJQNDF2WVOEkQGE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g8a5pqUZ+AZ9uRgkWEgU8fH/bZoP72CBJMvuUrPzi3e9TNemWSAXVFtt0Rc8MVhOZ TDruc1gK2HW1U63BrFaWwdn4zEL3k0OhcSddR21a1ggtaZoJJ+0TglNbJXyBkyz+60 a/QqjC1tVLi6DXRrrXIV9VTGaXYfjqONeoY8bPioDXgXaw5gXrh5J5LLwSFOe1QbzP H6zd1XZs2m623cbwflFZwcQY3dQ+X7EVBJGKo3zbWVlKQ1BqQXcQmRBMNBS6k1Q4Ub tiQ4sNJlAUtLTmdZ4sE+c8kcLcgmyx+G0emAT6hsZW4xBYcMS3zD/vTJ4q5UjwROuU 9oLMPmIOLaPyA== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Fri, 13 Mar 2020 12:19:34 +1100 Message-Id: <20200313011939.279770-8-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 07/12] dts: Add occ 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 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/p9.dts b/p9.dts index 5ca7180..b89e665 100644 --- a/p9.dts +++ b/p9.dts @@ -1570,6 +1570,12 @@ compatible = "ibm,power9-nv"; index = < 0x05 >; }; + + occ0 { + compatible = "ibm,power9-occ"; + index = < 0x00 >; + }; + }; }; @@ -3141,6 +3147,11 @@ compatible = "ibm,power9-nv"; index = < 0x05 >; }; + + occ0 { + compatible = "ibm,power9-occ"; + index = < 0x00 >; + }; }; }; }; From patchwork Fri Mar 13 01:19:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1254121 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 (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48dnvF6SSMz9sRN for ; Fri, 13 Mar 2020 12:20:41 +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=FRQtR5I5; 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 48dnvF4zDqzDqQM for ; Fri, 13 Mar 2020 12:20:41 +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 48dntN0VdwzDqQZ 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=FRQtR5I5; 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 48dntL6HC5z9sSc; Fri, 13 Mar 2020 12:19:54 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1584062394; bh=qkPkDgcuUn9gPRYt7H9oZObpepWKnxRx8r01RojLf7k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FRQtR5I5S87LyT3Yx8eMf+qd+W8CwDDW4yPOGtoHuctPMR2pN8tIops1uufDjBXJb 0WayIEAEIKNw++iCvChnPH07lbqzbOzpSFdbUyCq/PhIneS2kLdX+s9ML3QM1CdbwK M0pOVt1FqP0M7eU5YJHyCHU89wL7vfYNWJBFDJymEW0/6yXSzHetJwa4C1SVcKWQfR oB6yYDi9BRus80TinEwQMTPbLqyjtY9B/aqEwqQoWm6s5E+6j5xD02nlIU8TuSeLTL ygcJrmoAzsG1y7k4ZCVYL4vAzEIFYuABVs9w2EWdGCECrEizDzUVcwUhEVXVMbCQh+ 7dgXKRkIu7xaA== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Fri, 13 Mar 2020 12:19:35 +1100 Message-Id: <20200313011939.279770-9-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 08/12] dts: Add pec 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 | 48 +++++++++++++++++++++++++++++++ tests/test_p9_fapi_translation.sh | 7 ++++- 2 files changed, 54 insertions(+), 1 deletion(-) diff --git a/p9.dts b/p9.dts index b89e665..c6890ad 100644 --- a/p9.dts +++ b/p9.dts @@ -279,18 +279,42 @@ compatible = "ibm,power9-chiplet"; index = < 0x0d >; reg = < 0x00 0xd000000 0xfffff >; + #address-cells = < 0x02 >; + #size-cells = < 0x01 >; + + pec@d000000 { + compatible = "ibm,power9-pec"; + index = < 0x00 >; + reg = < 0x00 0xd000000 0xfffff >; + }; }; chiplet@e000000 { compatible = "ibm,power9-chiplet"; index = < 0x0e >; reg = < 0x00 0xe000000 0xfffff >; + #address-cells = < 0x02 >; + #size-cells = < 0x01 >; + + pec@e000000 { + compatible = "ibm,power9-pec"; + index = < 0x01 >; + reg = < 0x00 0xe000000 0xfffff >; + }; }; chiplet@f000000 { compatible = "ibm,power9-chiplet"; index = < 0x0f >; reg = < 0x00 0xf000000 0xfffff >; + #address-cells = < 0x02 >; + #size-cells = < 0x01 >; + + pec@f000000 { + compatible = "ibm,power9-pec"; + index = < 0x02 >; + reg = < 0x00 0xf000000 0xfffff >; + }; }; chiplet@10000000 { @@ -1856,18 +1880,42 @@ compatible = "ibm,power9-chiplet"; index = < 0x0d >; reg = < 0x00 0xd000000 0xfffff >; + #address-cells = < 0x02 >; + #size-cells = < 0x01 >; + + pec@d000000 { + compatible = "ibm,power9-pec"; + index = < 0x00 >; + reg = < 0x00 0xd000000 0xfffff >; + }; }; chiplet@e000000 { compatible = "ibm,power9-chiplet"; index = < 0x0e >; reg = < 0x00 0xe000000 0xfffff >; + #address-cells = < 0x02 >; + #size-cells = < 0x01 >; + + pec@e000000 { + compatible = "ibm,power9-pec"; + index = < 0x01 >; + reg = < 0x00 0xe000000 0xfffff >; + }; }; chiplet@f000000 { compatible = "ibm,power9-chiplet"; index = < 0x0f >; reg = < 0x00 0xf000000 0xfffff >; + #address-cells = < 0x02 >; + #size-cells = < 0x01 >; + + pec@f000000 { + compatible = "ibm,power9-pec"; + index = < 0x02 >; + reg = < 0x00 0xf000000 0xfffff >; + }; }; chiplet@10000000 { diff --git a/tests/test_p9_fapi_translation.sh b/tests/test_p9_fapi_translation.sh index e4d8233..91dda04 100755 --- a/tests/test_p9_fapi_translation.sh +++ b/tests/test_p9_fapi_translation.sh @@ -135,9 +135,14 @@ test_run libpdbg_p9_fapi_translation_test nv test_result 0 < 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 < X-Patchwork-Id: 1254123 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 48dnvk5L3Tz9sRN for ; Fri, 13 Mar 2020 12:21:06 +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=JPfYEr/B; 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 48dnvk06sJzDqQT for ; Fri, 13 Mar 2020 12:21:06 +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 48dntN1CMbzDqQb 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=JPfYEr/B; 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 48dntM27tgz9sSh; 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=J0Ja1CQxgyGSkLe7znXF1SjiQNsBZy6btUxa9WkiQa8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JPfYEr/BvK496rmN9hjI5lKUirujT+ZEyZ08a0cbB7w7hRh8RbgXYBhwJGJ9eP2wt tKecdkpQ7vS79sodIlambZjRcLKc3q+xo26bIcQcmxbFf/dX6xVQoXvMdfVzEfk8F+ 4GsTRscb3oMjpH85vot2kXkIr5wPhSoOASZN1hObqb50X39BEHrYazDFIANAg2DM+r nUqfAI7yp7AQ1PpcZy5b03Xx6DzARfJNyc+Ej/QcOwXskPRcxA0u6va87SPnHgn5zR J/5w2FYkUJUzKpuXTIHKqaUUvg0vJPUHlGabcebiHcN1CWz+0bQ50MBVd3jsZmpqOI ztcMs54lZLJqA== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Fri, 13 Mar 2020 12:19:37 +1100 Message-Id: <20200313011939.279770-11-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 10/12] dts: Drop xbus aliases 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 | 4 ++-- tests/test_p9_fapi_translation.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/p9.dts b/p9.dts index 8281fe3..c4b6d1c 100644 --- a/p9.dts +++ b/p9.dts @@ -131,7 +131,7 @@ #address-cells = < 0x02 >; #size-cells = < 0x01 >; - xbus0_1: xbus@1 { + xbus@0 { compatible = "ibm,power9-xbus"; index = < 0x01 >; reg = < 0x00 0x6000000 0xffffff >; @@ -1762,7 +1762,7 @@ #address-cells = < 0x02 >; #size-cells = < 0x01 >; - xbus1_1: xbus@1 { + xbus@0 { compatible = "ibm,power9-xbus"; index = < 0x01 >; reg = < 0x00 0x6000000 0xffffff >; diff --git a/tests/test_p9_fapi_translation.sh b/tests/test_p9_fapi_translation.sh index b54edf3..11ece9a 100755 --- a/tests/test_p9_fapi_translation.sh +++ b/tests/test_p9_fapi_translation.sh @@ -110,8 +110,8 @@ test_run libpdbg_p9_fapi_translation_test ex test_result 0 < X-Patchwork-Id: 1254126 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 48dnw04xtvz9sSR for ; Fri, 13 Mar 2020 12:21:20 +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=DwWgJaTx; 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 48dnw03YvyzDqRc for ; Fri, 13 Mar 2020 12:21:20 +1100 (AEDT) X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (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 48dntN3PfyzDqQh 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=DwWgJaTx; 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 48dntN16yjz9sPF; Fri, 13 Mar 2020 12:19:56 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1584062396; bh=iAcFpNgGr5loS/yivUJqGpvAfdYYn8WyhohS7s2cky0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DwWgJaTxZzpeyn0sUsQ51Gz/hzX7QaeKt4ayYpx/YQka90H5Eymyco9wtaXaQoLQy ihRv6KW245YwUTF+mDoWqo6cmbLCYrR+VkvpsLMkjRzlOh1TXm5W3qa3LuvVqMdqvg 14BF8ndlzJzSnFBYroWzORyeyl7rY7wYbpOeu0+8Qzhy9yoT0fSO/zmVhuHSnkBkdm H8BV35spCur4OgKfmaHOgcT1Xxwb30ZchKSxvGPzkeX5kCxs/FAaSnM2s0dhiLsn+2 lvj/7qjRDpy0nW7YSmrXY0LSDBcsSf09xd7P8OnDtsH6AxRvl1mX0ZzPokcEJ8OLcB YQ4A8Ek+0tDIA== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Fri, 13 Mar 2020 12:19:38 +1100 Message-Id: <20200313011939.279770-12-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 11/12] libpdbg: Add more p9 fapi 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 --- libpdbg/hwunit.h | 5 +++++ libpdbg/p9_fapi_targets.c | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/libpdbg/hwunit.h b/libpdbg/hwunit.h index ae8a15a..2107d04 100644 --- a/libpdbg/hwunit.h +++ b/libpdbg/hwunit.h @@ -272,4 +272,9 @@ struct pauc { }; #define target_to_pauc(x) container_of(x, struct pauc, target) +struct capp { + struct pdbg_target target; +}; +#define target_to_capp(x) container_of(x, struct capp, target) + #endif /* __HWUNIT_H */ diff --git a/libpdbg/p9_fapi_targets.c b/libpdbg/p9_fapi_targets.c index d38ecdb..1dc7af8 100644 --- a/libpdbg/p9_fapi_targets.c +++ b/libpdbg/p9_fapi_targets.c @@ -707,6 +707,16 @@ static struct chiplet p9_chiplet = { }; DECLARE_HW_UNIT(p9_chiplet); +struct capp p9_capp = { + .target = { + .name = "POWER9 capp", + .compatible = "ibm,power9-capp", + .class = "capp", + .translate = p9_unknown_translation, + }, +}; +DECLARE_HW_UNIT(p9_capp); + __attribute__((constructor)) static void register_p9_fapi_targets(void) { @@ -735,4 +745,5 @@ static void register_p9_fapi_targets(void) pdbg_hwunit_register(&p9_fc_hw_unit); pdbg_hwunit_register(&p9_pauc_hw_unit); pdbg_hwunit_register(&p9_chiplet_hw_unit); + pdbg_hwunit_register(&p9_capp_hw_unit); } From patchwork Fri Mar 13 01:19:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1254128 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 (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48dnwC5wplz9sQx for ; Fri, 13 Mar 2020 12:21:31 +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=FJED8QrC; 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 48dnwC30sDzDqRR for ; Fri, 13 Mar 2020 12:21:31 +1100 (AEDT) X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (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 48dntN5W9PzDqQk 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=FJED8QrC; 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 48dntN3VTHz9sQx; Fri, 13 Mar 2020 12:19:56 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1584062396; bh=vvCQ57Nq0QAw4rSeeUJBIHYLVQEszkdChNrSiyViubs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FJED8QrCjjrhNFoEz9gkY5bxVkC8KZFBE08KYLnl6VZ7m2yE12dy8DLwz/pzkt809 VCkjiSSRrbizS0mHY4B9y3wfpkoNIaH2Dq67ieSueOshONIS5u8ZCYU3BTEIw8KbHQ MrSXCFHIgL5ApV+JrfJCD+j+KjT6WAA61k+gsT4J4YpMgWrUmq/t1RirctbS+vOCh/ w+aKNHp1Ggd/wx8Z6Ah2V2mklypARoGJsOlMCmFp9NCuF00Lbbsn9jQB2t7ZWczPCw //rAyS73pKtQF661YkMgR2PhcV6mszEBe0JWT+s+IhScT7jaPKiCRytYtjVab/ByaP EhBYb3lJF0Ayg== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Fri, 13 Mar 2020 12:19:39 +1100 Message-Id: <20200313011939.279770-13-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 12/12] dts: Add ppe 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 | 169 ++++++++++++++++++++++++++++++ tests/test_p9_fapi_translation.sh | 33 +++++- 2 files changed, 201 insertions(+), 1 deletion(-) diff --git a/p9.dts b/p9.dts index c4b6d1c..537a3b0 100644 --- a/p9.dts +++ b/p9.dts @@ -1630,6 +1630,90 @@ index = < 0x00 >; }; + sbe0 { + compatible = "ibm,power9-sbe"; + index = < 0x00 >; + }; + + ppe0 { + compatible = "ibm,power9-ppe"; + index = < 0x00 >; + }; + + ppe1 { + compatible = "ibm,power9-ppe"; + index = < 0x0a >; + }; + + ppe2 { + compatible = "ibm,power9-ppe"; + index = < 0x0d >; + }; + + ppe3 { + compatible = "ibm,power9-ppe"; + index = < 0x14 >; + }; + + ppe4 { + compatible = "ibm,power9-ppe"; + index = < 0x19 >; + }; + + ppe5 { + compatible = "ibm,power9-ppe"; + index = < 0x1e >; + }; + + ppe6 { + compatible = "ibm,power9-ppe"; + index = < 0x28 >; + }; + + ppe7 { + compatible = "ibm,power9-ppe"; + index = < 0x29 >; + }; + + ppe8 { + compatible = "ibm,power9-ppe"; + index = < 0x2a >; + }; + + ppe9 { + compatible = "ibm,power9-ppe"; + index = < 0x2b >; + }; + + ppe10 { + compatible = "ibm,power9-ppe"; + index = < 0x2c >; + }; + + ppe11 { + compatible = "ibm,power9-ppe"; + index = < 0x2d >; + }; + + ppe12 { + compatible = "ibm,power9-ppe"; + index = < 0x2e >; + }; + + ppe13 { + compatible = "ibm,power9-ppe"; + index = < 0x32 >; + }; + + ppe14 { + compatible = "ibm,power9-ppe"; + index = < 0x34 >; + }; + + ppe15 { + compatible = "ibm,power9-ppe"; + index = < 0x38 >; + }; }; }; @@ -3260,6 +3344,91 @@ compatible = "ibm,power9-occ"; index = < 0x00 >; }; + + sbe0 { + compatible = "ibm,power9-sbe"; + index = < 0x00 >; + }; + + ppe0 { + compatible = "ibm,power9-ppe"; + index = < 0x00 >; + }; + + ppe1 { + compatible = "ibm,power9-ppe"; + index = < 0x0a >; + }; + + ppe2 { + compatible = "ibm,power9-ppe"; + index = < 0x0d >; + }; + + ppe3 { + compatible = "ibm,power9-ppe"; + index = < 0x14 >; + }; + + ppe4 { + compatible = "ibm,power9-ppe"; + index = < 0x19 >; + }; + + ppe5 { + compatible = "ibm,power9-ppe"; + index = < 0x1e >; + }; + + ppe6 { + compatible = "ibm,power9-ppe"; + index = < 0x28 >; + }; + + ppe7 { + compatible = "ibm,power9-ppe"; + index = < 0x29 >; + }; + + ppe8 { + compatible = "ibm,power9-ppe"; + index = < 0x2a >; + }; + + ppe9 { + compatible = "ibm,power9-ppe"; + index = < 0x2b >; + }; + + ppe10 { + compatible = "ibm,power9-ppe"; + index = < 0x2c >; + }; + + ppe11 { + compatible = "ibm,power9-ppe"; + index = < 0x2d >; + }; + + ppe12 { + compatible = "ibm,power9-ppe"; + index = < 0x2e >; + }; + + ppe13 { + compatible = "ibm,power9-ppe"; + index = < 0x32 >; + }; + + ppe14 { + compatible = "ibm,power9-ppe"; + index = < 0x34 >; + }; + + ppe15 { + compatible = "ibm,power9-ppe"; + index = < 0x38 >; + }; }; }; }; diff --git a/tests/test_p9_fapi_translation.sh b/tests/test_p9_fapi_translation.sh index 11ece9a..a5a09b1 100755 --- a/tests/test_p9_fapi_translation.sh +++ b/tests/test_p9_fapi_translation.sh @@ -338,9 +338,40 @@ test_run libpdbg_p9_fapi_translation_test chiplet test_result 0 <