From patchwork Mon Dec 3 03:27:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1006637 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)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 437VnV727lz9s9G for ; Mon, 3 Dec 2018 14:28:14 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (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.b="SK4sYZcI"; 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 437VnV59BZzDqYK for ; Mon, 3 Dec 2018 14:28:14 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="SK4sYZcI"; dkim-atps=neutral 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)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 437VnN3f5fzDqXw for ; Mon, 3 Dec 2018 14:28:08 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (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.b="SK4sYZcI"; 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)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 437VnN0SHgz9s9G; Mon, 3 Dec 2018 14:28:08 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1543807688; bh=rpd55X48tt5krtx0FfCi+MAkPio31dkkulI4J8jfRDQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SK4sYZcIj5uzY0bE+Vn4DpfYpIyZHp6pMnOaZd1Z5fVl0vEPLOkOMIttxfHecuF0H HMiI3ffkiprHIMSldMyyxqYjr3Q6b4XRdCq4VIn3shl6xQb05mSXCu5Iu8Ced1TAWC UdLZw/snv26eyYN0kZ7T+Rv7Vr/CF1Sey67NHw7KI7bxmsf8ImGPU80qx3d5CaWzyu xKqaggt5QMa7rp64+pMeCu1TEklpF1T4brVhtFJUixcJH31PbadNsbNultskRmt75d IZfy805xAYfk2WWZAGbQzlCbFNuMF07KQ1ZAeluEU1nXgIJ6VEORWF4V778ImKi+pa Klg9WMADH9vMA== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Mon, 3 Dec 2018 14:27:55 +1100 Message-Id: <20181203032758.1111333-2-amitay@ozlabs.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181203032758.1111333-1-amitay@ozlabs.org> References: <20181203032758.1111333-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 1/4] libpdbg: Fix probing of pib 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" The kernel uses "%08x" to create a directory in debugfs. Signed-off-by: Amitay Isaacs --- libpdbg/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpdbg/host.c b/libpdbg/host.c index 9d82618..1cc1b48 100644 --- a/libpdbg/host.c +++ b/libpdbg/host.c @@ -101,7 +101,7 @@ static int host_pib_probe(struct pdbg_target *target) PR_ERROR("You may need to re-run the command as root.\n"); } - if (asprintf(&access_fn, "%s/%08d/access", XSCOM_BASE_PATH, chip_id) < 0) + if (asprintf(&access_fn, "%s/%08x/access", XSCOM_BASE_PATH, chip_id) < 0) goto out; *fd = open(access_fn, O_RDWR); From patchwork Mon Dec 3 03:27:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1006639 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)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 437Vnd6xWrz9s9G for ; Mon, 3 Dec 2018 14:28:21 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (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.b="vXabNJPg"; 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 437Vnd51NBzDqYP for ; Mon, 3 Dec 2018 14:28:21 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="vXabNJPg"; dkim-atps=neutral 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)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 437VnP4hV3zDqXt for ; Mon, 3 Dec 2018 14:28:09 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (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.b="vXabNJPg"; 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)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 437VnN3cW3z9sCX; Mon, 3 Dec 2018 14:28:08 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1543807688; bh=I/fl/h32mapoCvF1D0JOwqMCb1JtJOcuVCS1lWU8X1U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vXabNJPgxOpRpabr7SUytNMHX71W+VG3+Cp6W9yLKxQl4vpY3yKjpFABKTOMkyva6 bDoIt5R3sfaJuw2HHBpWMpKdxKVZZ5L4bFJE+9dw6/wgfixVTiBLzaOzvyTMUPDiH+ gDMPiJeeSdA8uwbHozsvGWXaLlZJKSgfZIbYf+6lHZm0FfcVFCLAFowzG24hoibcdK 0QVEoZ4/EbcLeh54wrrfp8FWieuYGHqjMZsaZ8eIG9xLLA9k2Wl0px9FtCc6nNjAIJ X1ocpKviOhDmwut1cmuOR+3Xi2uSCgX3bxOVXUgv2TIxVmN4wVVHKCd9F5VQwUNEE4 G9j7Bz4ekBu2w== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Mon, 3 Dec 2018 14:27:56 +1100 Message-Id: <20181203032758.1111333-3-amitay@ozlabs.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181203032758.1111333-1-amitay@ozlabs.org> References: <20181203032758.1111333-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 2/4] libpdbg: Use index instead of chip-id for id 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" Instead of using two different ways to id various chiplets, consistently use "index" property. Signed-off-by: Amitay Isaacs --- libpdbg/host.c | 6 +++--- libpdbg/htm.c | 11 +++++++---- p9-host.dts.m4 | 2 +- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/libpdbg/host.c b/libpdbg/host.c index 1cc1b48..163b991 100644 --- a/libpdbg/host.c +++ b/libpdbg/host.c @@ -85,13 +85,13 @@ static int host_pib_probe(struct pdbg_target *target) struct pib *pib = target_to_pib(target); int *fd; char *access_fn; - uint32_t chip_id; + uint32_t index; fd = malloc(sizeof(fd)); if (!fd) return -1; - chip_id = pdbg_target_chip_id(target); + index = pdbg_target_index(target); /* This check should probably be done earlier */ if (access(XSCOM_BASE_PATH, F_OK) == -1) @@ -101,7 +101,7 @@ static int host_pib_probe(struct pdbg_target *target) PR_ERROR("You may need to re-run the command as root.\n"); } - if (asprintf(&access_fn, "%s/%08x/access", XSCOM_BASE_PATH, chip_id) < 0) + if (asprintf(&access_fn, "%s/%08x/access", XSCOM_BASE_PATH, index) < 0) goto out; *fd = open(access_fn, O_RDWR); diff --git a/libpdbg/htm.c b/libpdbg/htm.c index 1ca176d..dd25b24 100644 --- a/libpdbg/htm.c +++ b/libpdbg/htm.c @@ -548,13 +548,16 @@ static int is_startable(struct htm_status *status) static char *get_debugfs_file(struct htm *htm, const char *file) { - uint32_t chip_id; + struct pdbg_target *pib; + uint32_t index; char *filename; - chip_id = pdbg_target_chip_id(&htm->target); - if (asprintf(&filename, "%s/%08x/%s", DEBUGFS_MEMTRACE, chip_id, file) == -1) { + pib = pdbg_target_parent("pib", &htm->target); + assert(pib); + index = pdbg_target_index(pib); + if (asprintf(&filename, "%s/%08x/%s", DEBUGFS_MEMTRACE, index, file) == -1) { PR_ERROR("Couldn't asprintf() '%s/%08x/size': %m\n", - DEBUGFS_MEMTRACE, chip_id); + DEBUGFS_MEMTRACE, index); return NULL; } diff --git a/p9-host.dts.m4 b/p9-host.dts.m4 index e1ec779..c6f5090 100644 --- a/p9-host.dts.m4 +++ b/p9-host.dts.m4 @@ -21,7 +21,7 @@ compatible = "ibm,host-pib"; reg = <0x8>; chip-id = <0x8>; - index = <0x1>; + index = <0x8>; include(p9-pib.dts.m4)dnl }; }; From patchwork Mon Dec 3 03:27:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1006640 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)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 437Vnj1qkzz9s9G for ; Mon, 3 Dec 2018 14:28:25 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (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.b="aKpu2ClN"; 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 437Vnh6w4qzDqY6 for ; Mon, 3 Dec 2018 14:28:24 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="aKpu2ClN"; dkim-atps=neutral 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)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 437VnP6SFPzDqXw for ; Mon, 3 Dec 2018 14:28:09 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (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.b="aKpu2ClN"; 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)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 437VnP3p6cz9s7W; Mon, 3 Dec 2018 14:28:09 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1543807689; bh=j+QdOyl9guIg9c++P15tQvyFWFYG2o0++8iuB9L1jKM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aKpu2ClN3eBks0Wpf3Td0O88aedIqMc8dMDAvbNl5GIFXQBI7E0xumIrgYoR8MgAq 8eGsx/vP5B2oD0+Z4b3rsbqMIN0apZUULQc4NvOln5DuuuOH0UVmEt0UAHmsF9gPP/ rjgrGL4Fv7XGzlVA+r8LuDAEIkYM+jP9AZpG9uNLG+FQOkMZkmKlRnFti88+/wtbIn Vy1whXj+yZ4eoqxhq6d0+Rk0OXBwLd+oIK+yPHHB6YcOxJ1bTanwSuU9S677gnWYOV tupWypG0jyXCjBzilqVnAC48t5OPPb/XIRXQc/qbBAy1EoYDUDsCF3hsT47Or/qai3 9QTpHVyuqbPHg== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Mon, 3 Dec 2018 14:27:57 +1100 Message-Id: <20181203032758.1111333-4-amitay@ozlabs.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181203032758.1111333-1-amitay@ozlabs.org> References: <20181203032758.1111333-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 3/4] libpdbg: Drop pdbg_target_chip_id() 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/libpdbg.c | 15 --------------- libpdbg/libpdbg.h | 4 ---- 2 files changed, 19 deletions(-) diff --git a/libpdbg/libpdbg.c b/libpdbg/libpdbg.c index f3ed959..0e71dec 100644 --- a/libpdbg/libpdbg.c +++ b/libpdbg/libpdbg.c @@ -168,21 +168,6 @@ int pdbg_target_u32_index(struct pdbg_target *target, const char *name, int inde return 0; } -uint32_t pdbg_target_chip_id(struct pdbg_target *target) -{ - uint32_t id; - - while (pdbg_target_u32_property(target, "chip-id", &id)) { - target = target->parent; - - /* If we hit this we've reached the top of the tree - * and haven't found chip-id */ - assert(target); - } - - return id; -} - void pdbg_progress_tick(uint64_t cur, uint64_t end) { if (progress_tick) diff --git a/libpdbg/libpdbg.h b/libpdbg/libpdbg.h index 44540e4..301c2c8 100644 --- a/libpdbg/libpdbg.h +++ b/libpdbg/libpdbg.h @@ -94,10 +94,6 @@ uint64_t pdbg_target_address(struct pdbg_target *target, uint64_t *size); #define pdbg_get_address(target, index, size) \ (index == 0 ? pdbg_target_address(target, size) : assert(0)) -/* Find an chip-id property in this node; if not found, walk up the parent - * nodes. Returns -1 if no chip-id property exists. */ -uint32_t pdbg_target_chip_id(struct pdbg_target *target); - /* Misc. */ void pdbg_targets_init(void *fdt); void pdbg_target_probe_all(struct pdbg_target *parent); From patchwork Mon Dec 3 03:27:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1006641 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)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 437Vnm1kqCz9s7W for ; Mon, 3 Dec 2018 14:28:28 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (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.b="P+RKKkd0"; 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 437Vnl6zt3zDqYB for ; Mon, 3 Dec 2018 14:28:27 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="P+RKKkd0"; dkim-atps=neutral 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)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 437VnQ2m5xzDqXt for ; Mon, 3 Dec 2018 14:28:10 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (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.b="P+RKKkd0"; 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)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 437VnP6jcWz9s9G; Mon, 3 Dec 2018 14:28:09 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1543807690; bh=jj5QzGY533FyR1cly+DBqNJNNwmS010LCPuEmtgQq20=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=P+RKKkd0WzWnq379R0T/DoDNBekuTIQXBemfp93usYuG3oela8Q6jx0vRYJereuJ+ GB0zeLKkWTvFDV4eC9eELza6YJr+ppHm00OGgiETocXjAC59TXdjhYlP1x+9tpFq7Q 0aTQ8YFNqISuYFhHi1+Tdrkjd6MSQ4gDG55LMvcZaucyp7pLJn0q2odtGLMUkX6vlN AxjJldIsb2Od1s1Sr77CWPeS9gF1FAE34lV776oX+x043kJ4+TKLR4hlzdSePD+wMq ijbfq77cISruyPjUqqGrNauC8o73+EBHnC8nnqsmx25i6CCoIO9bQc9ZHWOgw/NMFN Hkp9pcz1oaN5A== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Mon, 3 Dec 2018 14:27:58 +1100 Message-Id: <20181203032758.1111333-5-amitay@ozlabs.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181203032758.1111333-1-amitay@ozlabs.org> References: <20181203032758.1111333-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 4/4] dtc: Drop chip-id property 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" The property "chip-id" is not used any more in pdbg. Signed-off-by: Amitay Isaacs --- p8-host.dts.m4 | 1 - p9-host.dts.m4 | 2 -- 2 files changed, 3 deletions(-) diff --git a/p8-host.dts.m4 b/p8-host.dts.m4 index aef7e93..7a2d253 100644 --- a/p8-host.dts.m4 +++ b/p8-host.dts.m4 @@ -3,7 +3,6 @@ define(`CHIP',`pib@$1 { #size-cells = <0x1>; compatible = "ibm,host-pib"; reg = <$1>; - chip-id = <$1>; index = <$1>; include(p8-pib.dts.m4)dnl }')dnl diff --git a/p9-host.dts.m4 b/p9-host.dts.m4 index c6f5090..52973ff 100644 --- a/p9-host.dts.m4 +++ b/p9-host.dts.m4 @@ -10,7 +10,6 @@ #size-cells = <0x1>; compatible = "ibm,host-pib"; reg = <0x0>; - chip-id = <0x0>; index = <0x0>; include(p9-pib.dts.m4)dnl }; @@ -20,7 +19,6 @@ #size-cells = <0x1>; compatible = "ibm,host-pib"; reg = <0x8>; - chip-id = <0x8>; index = <0x8>; include(p9-pib.dts.m4)dnl };