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 <