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