From patchwork Tue Apr 14 02:47: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: 1270056 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 491VrB6sWhz9s71 for ; Tue, 14 Apr 2020 13:11:22 +1000 (AEST) 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=PRy8z3fH; 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 491VrB3LxDzDq9n for ; Tue, 14 Apr 2020 13:11:22 +1000 (AEST) 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 491VKS2fDbzDqL8 for ; Tue, 14 Apr 2020 12:48:12 +1000 (AEST) 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=PRy8z3fH; 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 491VKR1lrBz9sSq; Tue, 14 Apr 2020 12:48:11 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832491; bh=hQ0VmCC46GLBqknYhpABftCbmc2FTUKd5YhMbmufJcY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PRy8z3fHThVHUtDlXYZyZHMd85Sv4aTeD44Pvv/ZyQeA5bG3q1L7eLaYhcYGYErso hxRDwuHmOTtAe9Jkzpmi831QsOsYjstymgHwHP64JLTez+ZRN9CxXmeKJlJXEr8ZRT 6RNvVjHg1edq3jmRqjMPisbNA4KOfiUKPtLCGDSoVAw6dgCj98EXnNR6BDKJCxxLCA +KyJIhTgnDPcIUhUfqhXVHsazyb3DAslmh1Et0TpYNQwg1tkRQwLRZEB0sqwkDfqD8 fn4c+CdRVBL7La8LpF2/k0qzsSb0mD1pPBvFrBZhEpF/Tlz2Pmmkv74z9fKz0ySzHP CexfR9elxsXHQ== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:28 +1000 Message-Id: <20200414024750.20170-2-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 01/23] libsbefifo: Fix compilation error for undefined variable 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" We didn't hit this because of the LOG() macro which is only enabled with -DLIBSBEFIFO_DEBUG=1. Signed-off-by: Amitay Isaacs Reviewed-by: Alistair Popple --- libsbefifo/operation.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libsbefifo/operation.c b/libsbefifo/operation.c index 07d9f64..8717f15 100644 --- a/libsbefifo/operation.c +++ b/libsbefifo/operation.c @@ -60,17 +60,18 @@ static int sbefifo_transport(struct sbefifo_context *sctx, uint8_t *msg, uint32_ int rc; size_t buflen; + buflen = msg_len; rc = sbefifo_write(sctx, msg, buflen); if (rc) { - LOG("write: cmd=%08x, rc=%d\n", cmd, rc); + LOG("write: cmd=%08x, rc=%d\n", be32toh(*(uint32_t *)(msg+4)), rc); return rc; } buflen = *out_len; rc = sbefifo_read(sctx, out, &buflen); if (rc) { - LOG("read: cmd=%08x, buflen=%zu, rc=%d\n", cmd, buflen, rc); + LOG("read: cmd=%08x, buflen=%zu, rc=%d\n", be32toh(*(uint32_t *)(msg+4)), buflen, rc); return rc; } From patchwork Tue Apr 14 02:47: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: 1270055 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) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 491Vr52FkBz9sPF for ; Tue, 14 Apr 2020 13:11:17 +1000 (AEST) 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=mtbV5lgc; 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 491Vr42x8LzDqBW for ; Tue, 14 Apr 2020 13:11:16 +1000 (AEST) 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 491VKT0lPfzDqQV for ; Tue, 14 Apr 2020 12:48:13 +1000 (AEST) 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=mtbV5lgc; 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 491VKS3Lx5z9sSt; Tue, 14 Apr 2020 12:48:12 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832492; bh=KTRiVd+Edp67SZlS68VgrLoSAVCLvX8d/f7x+wtH5mc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mtbV5lgclgobB7RaGQzfo/oejaktws7j5Gdwa5dNaEwn/2IrWNLvApal3SGaijOKD vJg2TktaxPb5MpAu/ruC7YCeOhDgcbbFXK8jIPd36ZXTWRar+vFLK3dwYnxhtLJNaF iQYl8CbJzRsdxNQlBwavvyup5coxQ9tNlu7t68WWAPaR/BRPzKkQNJKcYGOqsVM5pa riYWwLZv8R3pg9nk3GyE22KL5AyBzkzFHjPXnge9LV+InV64T10L6vNGM5Z6QM+nUu NQp3TCFYd6l/v7wb45roA1juiytACu8vuV17FGKuBbid3tWwHOigd0w9ApfD36HH9B DLJzu+tto++Cw== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:29 +1000 Message-Id: <20200414024750.20170-3-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 02/23] libsbefifo: Use the correct sized pointer 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 Reviewed-by: Alistair Popple --- libsbefifo/cmd_scom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsbefifo/cmd_scom.c b/libsbefifo/cmd_scom.c index bc9b5f9..bb44e5e 100644 --- a/libsbefifo/cmd_scom.c +++ b/libsbefifo/cmd_scom.c @@ -24,7 +24,7 @@ static int sbefifo_scom_get_push(uint64_t addr, uint8_t **buf, uint32_t *buflen) { - uint8_t *msg; + uint32_t *msg; uint32_t nwords, cmd; nwords = 4; @@ -83,7 +83,7 @@ int sbefifo_scom_get(struct sbefifo_context *sctx, uint64_t addr, uint64_t *valu static int sbefifo_scom_put_push(uint64_t addr, uint64_t value, uint8_t **buf, uint32_t *buflen) { - uint8_t *msg; + uint32_t *msg; uint32_t nwords, cmd; nwords = 6; From patchwork Tue Apr 14 02:47: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: 1270057 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 491VrH0WmJz9sPF for ; Tue, 14 Apr 2020 13:11:27 +1000 (AEST) 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=QHEs+Tp7; 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 491VrG1qBqzDq6y for ; Tue, 14 Apr 2020 13:11:26 +1000 (AEST) 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 491VKV0GdQzDqQk for ; Tue, 14 Apr 2020 12:48:13 +1000 (AEST) 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=QHEs+Tp7; 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 491VKT11jLz9sT0; Tue, 14 Apr 2020 12:48:13 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832493; bh=kLfqOhOnG/PGv9Tf6rtC6WZROaMWirPNRWnwWDJA2k0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QHEs+Tp7UPn493rAx1xh3gRICN3iy1cETI1/LihvNOHXNFA7g1pulU3YrJByW0biH gGRCVE/cR55qDz72EpHChLhAcVV62qq5Whm48MVKixzRj0845D48etuS9yYMQ+lWJm fQ9aSLV1hf81QZVkdSSwIKVQex5tP4XVXauF4Q8WdTa0PSdXk1HqHCBM35wjpoMRoB wGPJz9AZEfIwgGXMepSZIXjs/610IJkzXIEbnOBDJJ2A6RXqv9jljuL5oUheHMqTzi mpNbvlXrKyrromjQcEypWeO69APsFrLc2PxLRO2/aKwi0HGLl1fpI5SPsO5oYhdYnj MHaPOV4WAiV9Q== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:30 +1000 Message-Id: <20200414024750.20170-4-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 03/23] libpdbg: Add a private api to get current backend 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 Reviewed-by: Alistair Popple --- libpdbg/dtb.c | 5 +++++ libpdbg/target.h | 1 + 2 files changed, 6 insertions(+) diff --git a/libpdbg/dtb.c b/libpdbg/dtb.c index b094e34..70b7962 100644 --- a/libpdbg/dtb.c +++ b/libpdbg/dtb.c @@ -293,6 +293,11 @@ bool pdbg_set_backend(enum pdbg_backend backend, const char *backend_option) return true; } +enum pdbg_backend pdbg_get_backend(void) +{ + return pdbg_backend; +} + const char *pdbg_get_backend_option(void) { return pdbg_backend_option; diff --git a/libpdbg/target.h b/libpdbg/target.h index 3b74844..7094b51 100644 --- a/libpdbg/target.h +++ b/libpdbg/target.h @@ -80,6 +80,7 @@ extern struct list_head empty_list; extern struct list_head target_classes; struct pdbg_dtb *pdbg_default_dtb(void *system_fdt); +enum pdbg_backend pdbg_get_backend(void); const char *pdbg_get_backend_option(void); bool pdbg_fdt_is_readonly(void *fdt); From patchwork Tue Apr 14 02:47:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1270058 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 491VrL6Lcjz9s71 for ; Tue, 14 Apr 2020 13:11:30 +1000 (AEST) 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=ABUBQDiK; 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 491VrL2YRxzDqBy for ; Tue, 14 Apr 2020 13:11:30 +1000 (AEST) 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 491VKV72HzzDqDJ for ; Tue, 14 Apr 2020 12:48:14 +1000 (AEST) 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=ABUBQDiK; 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 491VKV2J3Dz9sT4; Tue, 14 Apr 2020 12:48:14 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832494; bh=bPQTDCpqNnWNqpLlR7u6TzLXijur7jTKxUlTK+wK1oE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ABUBQDiKpxAq10+0vspKxgPtCR611xmye9VLtYs55mskHdkyuaEGWMqCgZ29Qt3uP HEmOmLb/X7gTC31RdAruWh4NVNtU96e9SEhjx7ViZd1L7s/cjCIzmLXDoxXeSX2hJr zT8vBD7WqSAfbO/NLhsQix1z+V9XQEM2tRw1bZNj1Pt8IGKlpKxbToO/k8tbI62T3+ T0p/dn8bKSiv0F/vy3QYDSRIg6tZ/fF4PXprHtQFGQW4aoVqPsJ6AH66RBvY9c/M7q EnNC6GCEz8WZJPEox8Yj0CdRAQimjTgVCDdVJDm2msinmxZA44mycmHFQMHpRL7HC0 Edt/DRJSmXnAg== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:31 +1000 Message-Id: <20200414024750.20170-5-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 04/23] libpdbg: Register hwunit drivers per backend 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" This will allow to load backend specific drivers first. All the drivers are registered with the default backend, so this patch does not change libpdbg behaviour. Signed-off-by: Amitay Isaacs Reviewed-by: Alistair Popple --- libpdbg/adu.c | 4 +-- libpdbg/bmcfsi.c | 2 +- libpdbg/cfam.c | 8 +++--- libpdbg/chip.c | 2 +- libpdbg/cronus.c | 6 ++--- libpdbg/fake.c | 8 +++--- libpdbg/host.c | 2 +- libpdbg/htm.c | 6 ++--- libpdbg/hwunit.c | 31 ++++++++++++++++------- libpdbg/hwunit.h | 2 +- libpdbg/i2c.c | 2 +- libpdbg/kernel.c | 4 +-- libpdbg/p8chip.c | 4 +-- libpdbg/p9_fapi_targets.c | 52 +++++++++++++++++++-------------------- libpdbg/p9chip.c | 4 +-- libpdbg/sbefifo.c | 8 +++--- 16 files changed, 79 insertions(+), 66 deletions(-) diff --git a/libpdbg/adu.c b/libpdbg/adu.c index df610a7..fe60118 100644 --- a/libpdbg/adu.c +++ b/libpdbg/adu.c @@ -597,6 +597,6 @@ DECLARE_HW_UNIT(p9_adu); __attribute__((constructor)) static void register_adu(void) { - pdbg_hwunit_register(&p8_adu_hw_unit); - pdbg_hwunit_register(&p9_adu_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p8_adu_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_adu_hw_unit); } diff --git a/libpdbg/bmcfsi.c b/libpdbg/bmcfsi.c index 1d2e304..2639595 100644 --- a/libpdbg/bmcfsi.c +++ b/libpdbg/bmcfsi.c @@ -519,5 +519,5 @@ DECLARE_HW_UNIT(bmcfsi); __attribute__((constructor)) static void register_bmcfsi(void) { - pdbg_hwunit_register(&bmcfsi_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &bmcfsi_hw_unit); } diff --git a/libpdbg/cfam.c b/libpdbg/cfam.c index da4c5fc..0b0b6f0 100644 --- a/libpdbg/cfam.c +++ b/libpdbg/cfam.c @@ -353,8 +353,8 @@ DECLARE_HW_UNIT(cfam_hmfsi); __attribute__((constructor)) static void register_cfam(void) { - pdbg_hwunit_register(&fsi_pib_hw_unit); - pdbg_hwunit_register(&p8_opb_hw_unit); - pdbg_hwunit_register(&p8_opb_hmfsi_hw_unit); - pdbg_hwunit_register(&cfam_hmfsi_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &fsi_pib_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p8_opb_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p8_opb_hmfsi_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &cfam_hmfsi_hw_unit); } diff --git a/libpdbg/chip.c b/libpdbg/chip.c index b45cffa..b961e87 100644 --- a/libpdbg/chip.c +++ b/libpdbg/chip.c @@ -679,5 +679,5 @@ DECLARE_HW_UNIT(proc); __attribute__((constructor)) static void register_proc(void) { - pdbg_hwunit_register(&proc_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &proc_hw_unit); } diff --git a/libpdbg/cronus.c b/libpdbg/cronus.c index ff8af4c..23d555b 100644 --- a/libpdbg/cronus.c +++ b/libpdbg/cronus.c @@ -219,7 +219,7 @@ DECLARE_HW_UNIT(cronus_sbefifo); __attribute__((constructor)) static void register_cronus(void) { - pdbg_hwunit_register(&cronus_pib_hw_unit); - pdbg_hwunit_register(&cronus_fsi_hw_unit); - pdbg_hwunit_register(&cronus_sbefifo_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &cronus_pib_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &cronus_fsi_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &cronus_sbefifo_hw_unit); } diff --git a/libpdbg/fake.c b/libpdbg/fake.c index 82415db..ae02463 100644 --- a/libpdbg/fake.c +++ b/libpdbg/fake.c @@ -90,8 +90,8 @@ DECLARE_HW_UNIT(fake_thread); __attribute__((constructor)) static void register_fake(void) { - pdbg_hwunit_register(&fake_fsi_hw_unit); - pdbg_hwunit_register(&fake_pib_hw_unit); - pdbg_hwunit_register(&fake_core_hw_unit); - pdbg_hwunit_register(&fake_thread_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &fake_fsi_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &fake_pib_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &fake_core_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &fake_thread_hw_unit); } diff --git a/libpdbg/host.c b/libpdbg/host.c index 428c18b..d02b53d 100644 --- a/libpdbg/host.c +++ b/libpdbg/host.c @@ -127,5 +127,5 @@ DECLARE_HW_UNIT(host_pib); __attribute__((constructor)) static void register_host(void) { - pdbg_hwunit_register(&host_pib_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &host_pib_hw_unit); } diff --git a/libpdbg/htm.c b/libpdbg/htm.c index 4d23e82..a259478 100644 --- a/libpdbg/htm.c +++ b/libpdbg/htm.c @@ -1158,7 +1158,7 @@ DECLARE_HW_UNIT(p8_chtm); __attribute__((constructor)) static void register_htm(void) { - pdbg_hwunit_register(&p8_nhtm_hw_unit); - pdbg_hwunit_register(&p9_nhtm_hw_unit); - pdbg_hwunit_register(&p8_chtm_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p8_nhtm_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_nhtm_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p8_chtm_hw_unit); } diff --git a/libpdbg/hwunit.c b/libpdbg/hwunit.c index c7ec63d..710c78a 100644 --- a/libpdbg/hwunit.c +++ b/libpdbg/hwunit.c @@ -20,26 +20,28 @@ #include "hwunit.h" #define MAX_HW_UNITS 1024 +#define MAX_BACKENDS 16 -static const struct hw_unit_info *g_hw_unit[MAX_HW_UNITS]; -static int g_hw_unit_count; +static const struct hw_unit_info *g_hw_unit[MAX_BACKENDS][MAX_HW_UNITS]; +static int g_hw_unit_count[MAX_BACKENDS]; -void pdbg_hwunit_register(const struct hw_unit_info *hw_unit) +void pdbg_hwunit_register(enum pdbg_backend backend, const struct hw_unit_info *hw_unit) { - assert(g_hw_unit_count < MAX_HW_UNITS); + assert(g_hw_unit_count[backend] < MAX_HW_UNITS); - g_hw_unit[g_hw_unit_count] = hw_unit; - g_hw_unit_count++; + g_hw_unit[backend][g_hw_unit_count[backend]] = hw_unit; + g_hw_unit_count[backend]++; } -const struct hw_unit_info *pdbg_hwunit_find_compatible(const char *compat) +static const struct hw_unit_info *find_compatible(enum pdbg_backend backend, + const char *compat) { const struct hw_unit_info *p; struct pdbg_target *target; int i; - for (i = 0; i < g_hw_unit_count; i++) { - p = g_hw_unit[i]; + for (i = 0; i < g_hw_unit_count[backend]; i++) { + p = g_hw_unit[backend][i]; target = p->hw_unit; if (!strcmp(target->compatible, compat)) @@ -48,3 +50,14 @@ const struct hw_unit_info *pdbg_hwunit_find_compatible(const char *compat) return NULL; } + +const struct hw_unit_info *pdbg_hwunit_find_compatible(const char *compat) +{ + const struct hw_unit_info *p; + + p = find_compatible(pdbg_get_backend(), compat); + if (!p) + p = find_compatible(PDBG_DEFAULT_BACKEND, compat); + + return p; +} diff --git a/libpdbg/hwunit.h b/libpdbg/hwunit.h index 7165a3c..5bca088 100644 --- a/libpdbg/hwunit.h +++ b/libpdbg/hwunit.h @@ -31,7 +31,7 @@ struct hw_unit_info { size_t size; }; -void pdbg_hwunit_register(const struct hw_unit_info *hw_unit); +void pdbg_hwunit_register(enum pdbg_backend backend, const struct hw_unit_info *hw_unit); const struct hw_unit_info *pdbg_hwunit_find_compatible(const char *compat); /* diff --git a/libpdbg/i2c.c b/libpdbg/i2c.c index 1a5d089..3d0b80a 100644 --- a/libpdbg/i2c.c +++ b/libpdbg/i2c.c @@ -177,5 +177,5 @@ DECLARE_HW_UNIT(p8_i2c_pib); __attribute__((constructor)) static void register_i2c(void) { - pdbg_hwunit_register(&p8_i2c_pib_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p8_i2c_pib_hw_unit); } diff --git a/libpdbg/kernel.c b/libpdbg/kernel.c index dbd3586..c4637a7 100644 --- a/libpdbg/kernel.c +++ b/libpdbg/kernel.c @@ -264,6 +264,6 @@ DECLARE_HW_UNIT(kernel_pib); __attribute__((constructor)) static void register_kernel(void) { - pdbg_hwunit_register(&kernel_fsi_hw_unit); - pdbg_hwunit_register(&kernel_pib_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &kernel_fsi_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &kernel_pib_hw_unit); } diff --git a/libpdbg/p8chip.c b/libpdbg/p8chip.c index 1bf71e8..484d77c 100644 --- a/libpdbg/p8chip.c +++ b/libpdbg/p8chip.c @@ -738,6 +738,6 @@ DECLARE_HW_UNIT(p8_core); __attribute__((constructor)) static void register_p8chip(void) { - pdbg_hwunit_register(&p8_thread_hw_unit); - pdbg_hwunit_register(&p8_core_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p8_thread_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p8_core_hw_unit); } diff --git a/libpdbg/p9_fapi_targets.c b/libpdbg/p9_fapi_targets.c index 1dc7af8..97680d5 100644 --- a/libpdbg/p9_fapi_targets.c +++ b/libpdbg/p9_fapi_targets.c @@ -720,30 +720,30 @@ DECLARE_HW_UNIT(p9_capp); __attribute__((constructor)) static void register_p9_fapi_targets(void) { - pdbg_hwunit_register(&p9_ex_hw_unit); - pdbg_hwunit_register(&p9_mba_hw_unit); - pdbg_hwunit_register(&p9_mcs_hw_unit); - pdbg_hwunit_register(&p9_xbus_hw_unit); - pdbg_hwunit_register(&p9_abus_hw_unit); - pdbg_hwunit_register(&p9_l4_hw_unit); - pdbg_hwunit_register(&p9_eq_hw_unit); - pdbg_hwunit_register(&p9_mca_hw_unit); - pdbg_hwunit_register(&p9_mcbist_hw_unit); - pdbg_hwunit_register(&p9_mi_hw_unit); - pdbg_hwunit_register(&p9_dmi_hw_unit); - pdbg_hwunit_register(&p9_obus_hw_unit); - pdbg_hwunit_register(&p9_obus_brick_hw_unit); - pdbg_hwunit_register(&p9_sbe_hw_unit); - pdbg_hwunit_register(&p9_ppe_hw_unit); - pdbg_hwunit_register(&p9_pec_hw_unit); - pdbg_hwunit_register(&p9_phb_hw_unit); - pdbg_hwunit_register(&p9_mc_hw_unit); - pdbg_hwunit_register(&p9_mem_port_hw_unit); - pdbg_hwunit_register(&p9_nmmu_hw_unit); - pdbg_hwunit_register(&p9_pau_hw_unit); - pdbg_hwunit_register(&p9_iohs_hw_unit); - 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); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_ex_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_mba_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_mcs_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_xbus_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_abus_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_l4_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_eq_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_mca_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_mcbist_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_mi_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_dmi_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_obus_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_obus_brick_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_sbe_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_ppe_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_pec_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_phb_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_mc_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_mem_port_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_nmmu_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_pau_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_iohs_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_fc_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_pauc_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_chiplet_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_capp_hw_unit); } diff --git a/libpdbg/p9chip.c b/libpdbg/p9chip.c index 63434ee..6222dc3 100644 --- a/libpdbg/p9chip.c +++ b/libpdbg/p9chip.c @@ -510,6 +510,6 @@ DECLARE_HW_UNIT(p9_core); __attribute__((constructor)) static void register_p9chip(void) { - pdbg_hwunit_register(&p9_thread_hw_unit); - pdbg_hwunit_register(&p9_core_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_thread_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p9_core_hw_unit); } diff --git a/libpdbg/sbefifo.c b/libpdbg/sbefifo.c index 41e68e9..22f11f1 100644 --- a/libpdbg/sbefifo.c +++ b/libpdbg/sbefifo.c @@ -321,8 +321,8 @@ DECLARE_HW_UNIT(kernel_sbefifo); __attribute__((constructor)) static void register_sbefifo(void) { - pdbg_hwunit_register(&kernel_sbefifo_hw_unit); - pdbg_hwunit_register(&sbefifo_chipop_hw_unit); - pdbg_hwunit_register(&sbefifo_mem_hw_unit); - pdbg_hwunit_register(&sbefifo_pba_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &kernel_sbefifo_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &sbefifo_chipop_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &sbefifo_mem_hw_unit); + pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &sbefifo_pba_hw_unit); } From patchwork Tue Apr 14 02:47:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1270059 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 491VrP5wtkz9sSG for ; Tue, 14 Apr 2020 13:11:33 +1000 (AEST) 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=prDWT37U; 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 491VrP3wL9zDqGW for ; Tue, 14 Apr 2020 13:11:33 +1000 (AEST) 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 491VKb705yzDqL8 for ; Tue, 14 Apr 2020 12:48:19 +1000 (AEST) 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=prDWT37U; 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 491VKW6492z9sT5; Tue, 14 Apr 2020 12:48:15 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832495; bh=TDGhFqJ6mrc95kJQVyPlRMYodTxYEt6oblf0rvkKx2c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=prDWT37UD/9J4/H1W3uUrpcwp7KWY5sDDg/SnIl2j9931A7IFmM1pAblB704i31Ag DheQbBVejrgbb3bd6uccFQ1Z+JELqJ69e5/MkflxlEn78aSAIw038k7ojpYsjwWXkx jq6dVxe/CW6mQ7NyljIyYRpkh7IvLFFnnPq9uqqi2OWmJiazm1hqDcNaUVIYnWspLX UPJo+f1ZejrLFQUzDG0QrN62fuRO5RCv0F0WYjKwBfcN2OraiQSg+EMzVb1xPozQb6 PeRXfLAQH9qmSGGlgV/Vyr5EO1sEre3RAQ4VpYJzH92JEEle1SAVIxWz448V2yIaoA PQmvQ3jL0OEeA== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:32 +1000 Message-Id: <20200414024750.20170-6-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 05/23] libpdbg: Backend device tree cannot be overriden 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" With drivers getting registered per backend, backend needs to be initialised before any device tree can be parsed. PDBG_BACKEND_DTB allowed to override backend device tree without specifying backend, which cannot work any more. To be able to dynamically update backend introduce PDBG_BACKEND and PDBG_BACKEND_OPTION variables instead of PDBG_BACKEND_DTB. Signed-off-by: Amitay Isaacs --- libpdbg/dtb.c | 32 ++++++++++++++++++++++--------- tests/test_p9_fapi_translation.sh | 2 +- 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/libpdbg/dtb.c b/libpdbg/dtb.c index 70b7962..077bc62 100644 --- a/libpdbg/dtb.c +++ b/libpdbg/dtb.c @@ -234,7 +234,7 @@ static void bmc_target(struct pdbg_dtb *dtb) } /* Opens a dtb at the given path */ -static void mmap_dtb(char *file, bool readonly, struct pdbg_mfile *mfile) +static void mmap_dtb(const char *file, bool readonly, struct pdbg_mfile *mfile) { int fd; void *dtb; @@ -308,21 +308,36 @@ const char *pdbg_get_backend_option(void) struct pdbg_dtb *pdbg_default_dtb(void *system_fdt) { struct pdbg_dtb *dtb = &pdbg_dtb; - char *fdt; + const char *fdt, *backend; dtb->backend.fdt = NULL; dtb->system.fdt = system_fdt; - fdt = getenv("PDBG_BACKEND_DTB"); - if (fdt) - mmap_dtb(fdt, false, &dtb->backend); - fdt = getenv("PDBG_DTB"); if (fdt) mmap_dtb(fdt, false, &dtb->system); - if (dtb->backend.fdt && dtb->system.fdt) - goto done; + backend = getenv("PDBG_BACKEND"); + if (backend) { + const char *arg; + + arg = getenv("PDBG_BACKEND_OPTION"); + + if (!strcmp(backend, "fsi")) + pdbg_set_backend(PDBG_BACKEND_FSI, arg); + else if (!strcmp(backend, "i2c")) + pdbg_set_backend(PDBG_BACKEND_I2C, arg); + else if (!strcmp(backend, "kernel")) + pdbg_set_backend(PDBG_BACKEND_KERNEL, arg); + else if (!strcmp(backend, "fake")) + pdbg_set_backend(PDBG_BACKEND_FAKE, arg); + else if (!strcmp(backend, "host")) + pdbg_set_backend(PDBG_BACKEND_HOST, arg); + else if (!strcmp(backend, "cronus")) + pdbg_set_backend(PDBG_BACKEND_CRONUS, arg); + else + pdbg_log(PDBG_ERROR, "Invalid backend '%s', ignoring\n", backend); + } if (!pdbg_backend) pdbg_backend = default_backend(); @@ -412,7 +427,6 @@ struct pdbg_dtb *pdbg_default_dtb(void *system_fdt) break; } -done: return dtb; } diff --git a/tests/test_p9_fapi_translation.sh b/tests/test_p9_fapi_translation.sh index a5a09b1..9891d39 100755 --- a/tests/test_p9_fapi_translation.sh +++ b/tests/test_p9_fapi_translation.sh @@ -4,7 +4,7 @@ test_group "p9 fapi translation tests" -export PDBG_BACKEND_DTB=p9-kernel.dtb +export PDBG_BACKEND=kernel export PDBG_DTB=p9.dtb test_result 0 < X-Patchwork-Id: 1270060 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 491VrT2Zybz9s71 for ; Tue, 14 Apr 2020 13:11:37 +1000 (AEST) 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=cyklKYkd; 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 491VrT0H8kzDqR5 for ; Tue, 14 Apr 2020 13:11:37 +1000 (AEST) 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 491VLG1BMkzDqD2 for ; Tue, 14 Apr 2020 12:48:54 +1000 (AEST) 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=cyklKYkd; 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 491VKb07sZz9sT7; Tue, 14 Apr 2020 12:48:18 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832499; bh=h2IHlSYEmpytMji5a3NxmOT8URCTJ24nyk59OPTfNMI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cyklKYkd3vI1iQ+LW1L+/+5vVIGxLNOtNg33pasbHrSskrIKafluQcz/AzS6EdlJ1 Z1BGAaAWdbH4ihyIY0Fapk0b3w+NS7CaL2BWfchQvcaMTUblEjXiDZykc0BNLf/RZl dlTBwH1Yj0FrohZs79a1pZVWurWwlibWhgKwPsremGBnTnnRmU8qsSKg1xfZarBdPw xKrDeWkwxRa/+7DzfrCzY6pEk7ocGr5VJem5vXO3TlBc0WbVM46XhHEOwgomZXuDKC N2jp8TheF2t5wAhamQ2ItBuqYKrgOFhchXqr7BwRzHwWKj0FK9LCwHftVpgjIksF/f QDY5ftvfaHsNg== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:33 +1000 Message-Id: <20200414024750.20170-7-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 06/23] libpdbg: Register fsi drivers with fsi backend 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 Reviewed-by: Alistair Popple --- libpdbg/bmcfsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpdbg/bmcfsi.c b/libpdbg/bmcfsi.c index 2639595..2f199fa 100644 --- a/libpdbg/bmcfsi.c +++ b/libpdbg/bmcfsi.c @@ -519,5 +519,5 @@ DECLARE_HW_UNIT(bmcfsi); __attribute__((constructor)) static void register_bmcfsi(void) { - pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &bmcfsi_hw_unit); + pdbg_hwunit_register(PDBG_BACKEND_FSI, &bmcfsi_hw_unit); } From patchwork Tue Apr 14 02:47: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: 1270061 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 491VrY0BXzz9sPF for ; Tue, 14 Apr 2020 13:11:41 +1000 (AEST) 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=DC5fuop4; 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 491VrX4TbdzDqBy for ; Tue, 14 Apr 2020 13:11:40 +1000 (AEST) 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 491VLK00RCzDqL8 for ; Tue, 14 Apr 2020 12:48:57 +1000 (AEST) 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=DC5fuop4; 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 491VLG1rSFz9s71; Tue, 14 Apr 2020 12:48:54 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832534; bh=6chfC+vYpy7ko3/sAaMIwbQUtfx8sUXYZrYSaurj7/c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DC5fuop4tLF0ASja/awt46X7qa4vBOy04rvTI2/gZjVmR4nly9paOU7VxhhZpRPwM jhfoOhByXYTMB6xoEGeKc5f6oKpSPwrrUYinLS291L5Xn+ErTGQpWuAdWBROfoRJ/j pekzC8vTRhnbIYNUcfwt7k/eEeq4dCxktUKueWfexOKZe7sMI+w3EvOhRUsuGxBIUb +5Vh61ZSatuCM4mfXx82f83evt1RmMsynG1w+YHuV1QgT9YnMvR6iUix/pqx7K7cmT U8mZONBDiSjMAQw9FWBBJqKAbu2AMYSugkAq3/AUiQ+OBBbTevj9BzZRotIYaRS9Ec vJyVXUde7ZlpQ== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:34 +1000 Message-Id: <20200414024750.20170-8-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 07/23] libpdbg: Rename ibm,bmcfsi -> ibm,power-fsi 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/bmcfsi.c | 2 +- p8-fsi.dts.m4 | 2 +- p9-fsi.dtsi.m4 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libpdbg/bmcfsi.c b/libpdbg/bmcfsi.c index 2f199fa..b295680 100644 --- a/libpdbg/bmcfsi.c +++ b/libpdbg/bmcfsi.c @@ -506,7 +506,7 @@ int bmcfsi_probe(struct pdbg_target *target) static struct fsi bmcfsi = { .target = { .name = "BMC GPIO bit-banging FSI master", - .compatible = "ibm,bmcfsi", + .compatible = "ibm,power-fsi", .class = "fsi", .probe = bmcfsi_probe, diff --git a/p8-fsi.dts.m4 b/p8-fsi.dts.m4 index 70fdb14..f109e77 100644 --- a/p8-fsi.dts.m4 +++ b/p8-fsi.dts.m4 @@ -7,7 +7,7 @@ fsi@0 { #address-cells = <0x2>; #size-cells = <0x1>; - compatible = "ibm,bmcfsi"; + compatible = "ibm,power-fsi"; reg = <0x0 0x0 0x0>; /* GPIO pin definitions */ diff --git a/p9-fsi.dtsi.m4 b/p9-fsi.dtsi.m4 index 3bbe43d..1b74104 100644 --- a/p9-fsi.dtsi.m4 +++ b/p9-fsi.dtsi.m4 @@ -6,7 +6,7 @@ fsi0: fsi@0 { #address-cells = <0x2>; #size-cells = <0x1>; - compatible = "ibm,bmcfsi"; + compatible = "ibm,power-fsi"; reg = <0x0 0x0 0x0>; index = <0x0>; status = "mustexist"; From patchwork Tue Apr 14 02:47: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: 1270062 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 491Vrc6dtQz9s71 for ; Tue, 14 Apr 2020 13:11:44 +1000 (AEST) 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=mnRM5w9M; 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 491Vrc4mG9zDqBy for ; Tue, 14 Apr 2020 13:11:44 +1000 (AEST) 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 491VLS2DkRzDqQW for ; Tue, 14 Apr 2020 12:49:04 +1000 (AEST) 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=mnRM5w9M; 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 491VLK072hz9sSq; Tue, 14 Apr 2020 12:48:56 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832537; bh=OZg3f4cBR1Ig2yW/XIBgzNpF98tXPewpSTwz2I9P0Qw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mnRM5w9Mc8H8x71kld5AAfA20SmNIjNWiZWg1so9Pgf5XC8nLHAuWkLQ3BG+/g3d3 F53PGnHJ4i6bQkWRGI6vgH5ae9R1CcLm1qDfNR8uLOOIlDoX7RTu8T/ZT3yF/ZAOwB D7epLEieRtOx51tD0jXpbL6IdHriFZYmRcnNqRD+qPt/BE66ZAFP4DvTT+mXArC4XS j9RTJlcZeFfCtrgsqilJe3NoseTPUXNFrUAC6vR/ztM+5id3G0C2nbYApIFhHtRIen 8TsZpuRfPXKJ7oCQtNrAryohhHi5eLhPEqxr6mmnJpkyw3aT0RD+TAzXII/78o/g9m 2xu85kiC7VYWw== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:35 +1000 Message-Id: <20200414024750.20170-9-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 08/23] libpdbg: Register i2c driver with i2c backend 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 Reviewed-by: Alistair Popple --- libpdbg/i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpdbg/i2c.c b/libpdbg/i2c.c index 3d0b80a..e3d508b 100644 --- a/libpdbg/i2c.c +++ b/libpdbg/i2c.c @@ -177,5 +177,5 @@ DECLARE_HW_UNIT(p8_i2c_pib); __attribute__((constructor)) static void register_i2c(void) { - pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &p8_i2c_pib_hw_unit); + pdbg_hwunit_register(PDBG_BACKEND_I2C, &p8_i2c_pib_hw_unit); } From patchwork Tue Apr 14 02:47: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: 1270064 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 491Vrq1X1bz9s71 for ; Tue, 14 Apr 2020 13:11:55 +1000 (AEST) 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=JbQ0xAKe; 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 491Vrp4MDYzDqCs for ; Tue, 14 Apr 2020 13:11:54 +1000 (AEST) 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 491VLT6zxkzDq9G for ; Tue, 14 Apr 2020 12:49:05 +1000 (AEST) 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=JbQ0xAKe; 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 491VLM4w4nz9sSt; Tue, 14 Apr 2020 12:48:59 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832539; bh=IahRCO73IKVWYYQY7rVsEOhnoZCORESZPI0X26zVMeM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JbQ0xAKeu4OJK2B1hjqJ4xjBTJyONPoJwrpC7wD1TQqUkct9l42QNSTeVA8v8P+KG cOOFclPBD5xxc85CXgSj0qejJNKgd0q/IXSM4HkImIdsakjP16L3w7AOlP19YRLsxK ZYTBT7PHcguvnTiaqDX0QuICdvMwqL3eHm8WPQloeNbmHKJZ53yEA+Q6BMmeE8J3cZ VqXUDGq+90E2D6lIH472OIHflbtPYrQx8rquajOySeCACuhkMv5cjaoKIUjNKhsokx ddVHm7zOEloxCXDTyM6+F3EZUY6JDOcDdLVQcUEKfJfYrwPS7E7CouIOCwd0qTQSLN xo/UCgHWxSP7A== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:36 +1000 Message-Id: <20200414024750.20170-10-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 09/23] libpdbg: Rename ibm, power8-i2c-slave -> ibm-power8-i2c-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" Signed-off-by: Amitay Isaacs --- libpdbg/i2c.c | 2 +- p8-i2c.dts.m4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libpdbg/i2c.c b/libpdbg/i2c.c index e3d508b..672b981 100644 --- a/libpdbg/i2c.c +++ b/libpdbg/i2c.c @@ -164,7 +164,7 @@ int i2c_target_probe(struct pdbg_target *target) static struct pib p8_i2c_pib = { .target = { .name = "POWER8 I2C Slave", - .compatible = "ibm,power8-i2c-slave", + .compatible = "ibm,power8-i2c-pib", .class = "pib", .probe = i2c_target_probe, }, diff --git a/p8-i2c.dts.m4 b/p8-i2c.dts.m4 index 3ea4b59..a272d62 100644 --- a/p8-i2c.dts.m4 +++ b/p8-i2c.dts.m4 @@ -8,7 +8,7 @@ pib@50 { #address-cells = <0x2>; #size-cells = <0x1>; - compatible = "ibm,power8-i2c-slave"; + compatible = "ibm,power8-i2c-pib"; bus = "/dev/i2c4"; reg = <0x50>; index = <0x0>; From patchwork Tue Apr 14 02:47:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1270063 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 491Vrh460Tz9sPF for ; Tue, 14 Apr 2020 13:11:48 +1000 (AEST) 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=Ip1VYqQ4; 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 491Vrh1qlwzDq96 for ; Tue, 14 Apr 2020 13:11:48 +1000 (AEST) 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 491VLT70DPzDqQk for ; Tue, 14 Apr 2020 12:49:05 +1000 (AEST) 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=Ip1VYqQ4; 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 491VLP1XKrz9sSG; Tue, 14 Apr 2020 12:49:01 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832541; bh=X/kE1rU4RuQwjmcXj+Wg/ZQlhAjuz95BZ1a90H6OamU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ip1VYqQ4NL9Wa/g9Xuj2yMe11fEoTjjLlJL8gQbl8J39YEsIBbRslWMrgFu4oun3/ TIAhz03J3S6AxTuC/LRoyK85M0a4H0Cy38x30zLNvMuleNgbAF3s5+hnk/nlHZVcTv eMDmCInxPWvmufC5rza1dGwSEfyWtwpm/15nZu189FNdrW9ILIzZSmPUcpRuUy3XDs xKvEwX589ATJAyNB4zMrH82AvjSVc+XT8g3N+rOI0Kr1kDR6xVsquPdmQgLKYWe5NO fUYsOQPn5K4nwHsfI+iFgc7YQQwlV/8ilDArcMX5sKDx0LbZLjKAw1dAUMqqwNl49v Hku5Fcu/eQiHQ== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:37 +1000 Message-Id: <20200414024750.20170-11-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 10/23] libpdbg: Register kernel drivers with kernel backend 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/kernel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libpdbg/kernel.c b/libpdbg/kernel.c index c4637a7..3024736 100644 --- a/libpdbg/kernel.c +++ b/libpdbg/kernel.c @@ -264,6 +264,6 @@ DECLARE_HW_UNIT(kernel_pib); __attribute__((constructor)) static void register_kernel(void) { - pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &kernel_fsi_hw_unit); - pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &kernel_pib_hw_unit); + pdbg_hwunit_register(PDBG_BACKEND_KERNEL, &kernel_fsi_hw_unit); + pdbg_hwunit_register(PDBG_BACKEND_KERNEL, &kernel_pib_hw_unit); } From patchwork Tue Apr 14 02:47:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1270065 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 491Vrv01Lkz9s71 for ; Tue, 14 Apr 2020 13:11:59 +1000 (AEST) 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=KYCmBSmM; 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 491Vrt4RySzDqCs for ; Tue, 14 Apr 2020 13:11:58 +1000 (AEST) 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 491VLT70GkzDqQn for ; Tue, 14 Apr 2020 12:49:05 +1000 (AEST) 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=KYCmBSmM; 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 491VLR5Wm2z9sT0; Tue, 14 Apr 2020 12:49:03 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832543; bh=yDcroUlF0R8Ha5tqAnDxHZCsvkKEyXHWx0aLlbxay9A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KYCmBSmMf2Mn0snwN1RnKup64KUpW8z9FM9QXErHIn1ZaXE2S1oRhmGGoi/H8GfXd kRL/DkNDr1+66rMTLIDNxh9FoGNcnbgxwIZNlyDtSAUJGhyffRDsxQB9TKQPZIwgx9 w+PeafSCyUJdRnsLOvIZmGnR72JUJFfdKyZBsuFGQ+GVQ5Eds2m/f/+kiCIjkAD7NP ihisaXtAvSNkwG4N9f7VJSIagzpTJry8d7Di/cP256Tri+DUim7/ghBhUf1WIqs+Rk hi6lQvqgi1x5B9oNgXZS6WhwRUWMqAdZl8ojQmIikPkH2SbLXpMa/u3kAcKvEDDNUF 8XBLDclAKkZkQ== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:38 +1000 Message-Id: <20200414024750.20170-12-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 11/23] libpdbg: Rename ibm, kernel-{fsi, pib, sbefifo} -> ibm, power-{fsi, pib, sbefifo} 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/kernel.c | 4 ++-- libpdbg/sbefifo.c | 2 +- p9-kernel.dts.m4 | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libpdbg/kernel.c b/libpdbg/kernel.c index 3024736..d18b60f 100644 --- a/libpdbg/kernel.c +++ b/libpdbg/kernel.c @@ -196,7 +196,7 @@ int kernel_fsi_probe(struct pdbg_target *target) static struct fsi kernel_fsi = { .target = { .name = "Kernel based FSI master", - .compatible = "ibm,kernel-fsi", + .compatible = "ibm,power-fsi", .class = "fsi", .probe = kernel_fsi_probe, }, @@ -252,7 +252,7 @@ static int kernel_pib_probe(struct pdbg_target *target) struct pib kernel_pib = { .target = { .name = "Kernel based FSI SCOM", - .compatible = "ibm,kernel-pib", + .compatible = "ibm,power-pib", .class = "pib", .probe = kernel_pib_probe, }, diff --git a/libpdbg/sbefifo.c b/libpdbg/sbefifo.c index 22f11f1..ce605da 100644 --- a/libpdbg/sbefifo.c +++ b/libpdbg/sbefifo.c @@ -309,7 +309,7 @@ DECLARE_HW_UNIT(sbefifo_chipop); static struct sbefifo kernel_sbefifo = { .target = { .name = "Kernel based FSI SBE FIFO", - .compatible = "ibm,kernel-sbefifo", + .compatible = "ibm,power-sbefifo", .class = "sbefifo", .probe = sbefifo_probe, .release = sbefifo_release, diff --git a/p9-kernel.dts.m4 b/p9-kernel.dts.m4 index 5c8010f..0b92289 100644 --- a/p9-kernel.dts.m4 +++ b/p9-kernel.dts.m4 @@ -7,7 +7,7 @@ fsi0: kernelfsi@0 { #address-cells = <0x2>; #size-cells = <0x1>; - compatible = "ibm,kernel-fsi"; + compatible = "ibm,power-fsi"; reg = <0x0 0x0 0x0>; index = <0x0>; status = "mustexist"; @@ -18,7 +18,7 @@ #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; index = <0x0>; - compatible = "ibm,kernel-pib"; + compatible = "ibm,power-pib"; device-path = "/dev/scom1"; system-path = "/proc0/pib"; }; @@ -26,7 +26,7 @@ sbefifo@2400 { /* Bogus address */ reg = <0x0 0x2400 0x7>; index = <0x0>; - compatible = "ibm,kernel-sbefifo"; + compatible = "ibm,power-sbefifo"; device-path = "/dev/sbefifo1"; sbefifo-mem { @@ -59,7 +59,7 @@ #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; index = <0x1>; - compatible = "ibm,kernel-pib"; + compatible = "ibm,power-pib"; device-path = "/dev/scom2"; system-path = "/proc1/pib"; }; @@ -67,7 +67,7 @@ sbefifo@2400 { /* Bogus address */ reg = <0x0 0x2400 0x7>; index = <0x1>; - compatible = "ibm,kernel-sbefifo"; + compatible = "ibm,power-sbefifo"; device-path = "/dev/sbefifo2"; sbefifo-mem { From patchwork Tue Apr 14 02:47: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: 1270068 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 491Vs93dSXz9sPF for ; Tue, 14 Apr 2020 13:12:13 +1000 (AEST) 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=ZpSGeSJS; 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 491Vs86GXXzDqBW for ; Tue, 14 Apr 2020 13:12:12 +1000 (AEST) 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 491VLY1fbpzDqQn for ; Tue, 14 Apr 2020 12:49:09 +1000 (AEST) 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=ZpSGeSJS; 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 491VLT7005z9sT1; Tue, 14 Apr 2020 12:49:05 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832546; bh=UBS06fApK52t91PUmr+hcHyAL/W1DGvrmDe9D4bwej8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZpSGeSJS+bzQD/4vELtc/w86gwK/a6PX52P1O+XsiHlM5J1MSSz4YLhpaH0s3kLcd zwy5j2w3XANRRbbHxlUxNQRzbV6hzoLo1XEnKtU3e7BWw4pN72Ssd+2r/PHtmYsNl1 Cm4DYzX78dmwboNQ/BzIm7X5/HocZbTTHqkdbxHOWD9zsObR3H0yZn5ZkjUqmKBZl5 rD4t3GLUrhvm0VhMdGW2a9ml/bohCHn151hec6uG9YYQAb6fzcZcYWmlB308EBWr3k /XNoVvEIfsTVq2bnHJHfNdKk7Gb8nxd6M1BJToQzo7tVYKR0R6xSemlBHkigx6IKxV 5h0XIiY/R8Abw== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:39 +1000 Message-Id: <20200414024750.20170-13-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 12/23] libpdbg: Register fake drivers with fake backend 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 Reviewed-by: Alistair Popple --- libpdbg/fake.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libpdbg/fake.c b/libpdbg/fake.c index ae02463..64925d4 100644 --- a/libpdbg/fake.c +++ b/libpdbg/fake.c @@ -90,8 +90,8 @@ DECLARE_HW_UNIT(fake_thread); __attribute__((constructor)) static void register_fake(void) { - pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &fake_fsi_hw_unit); - pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &fake_pib_hw_unit); - pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &fake_core_hw_unit); - pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &fake_thread_hw_unit); + pdbg_hwunit_register(PDBG_BACKEND_FAKE, &fake_fsi_hw_unit); + pdbg_hwunit_register(PDBG_BACKEND_FAKE, &fake_pib_hw_unit); + pdbg_hwunit_register(PDBG_BACKEND_FAKE, &fake_core_hw_unit); + pdbg_hwunit_register(PDBG_BACKEND_FAKE, &fake_thread_hw_unit); } From patchwork Tue Apr 14 02:47:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1270066 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 491Vrz1829z9sPF for ; Tue, 14 Apr 2020 13:12:03 +1000 (AEST) 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=lWa4ho3K; 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 491Vry3CMXzDqGW for ; Tue, 14 Apr 2020 13:12:02 +1000 (AEST) 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 491VLY1fD0zDqQk for ; Tue, 14 Apr 2020 12:49:09 +1000 (AEST) 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=lWa4ho3K; 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 491VLW4H9Cz9sPF; Tue, 14 Apr 2020 12:49:07 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832547; bh=kNuSEFWfyjD13+tdccrQB3CggSngVOc3SeursUK5qRM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lWa4ho3Kmi07m7VNzHYcb1zqGqjx+8A2kNJDs7SE30Fq2uWisgNdz2Q7kTU2xJJ9B wu9TRE5lhhOVEkERLMBBVOm4A1E0I+RIsnZyNFWq30bZwAzfeM1NU7kQsguUH1JWmH sI4Lgar3q49t9lpY+qLL+sW2uyFgjw2CnD4oOI9sos2YLAG3z0BRPJdXcLfKCelK1x 3q517nOxPSe/YZNvRMknexF3S0XIJvzDi9KvVDdwd8XK3Hg0q6tCzB+18ct/Q8/5N8 KZPLhaZWBQUuEosD0U9TYHmyYC1Rw+TI7fL5Unkl/2BCbakOeqU+XDnHbLmHLFwKZn w9r9F9B0wtT2A== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:40 +1000 Message-Id: <20200414024750.20170-14-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 13/23] libpdbg: Register host drivers with host backend 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 Reviewed-by: Alistair Popple --- libpdbg/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpdbg/host.c b/libpdbg/host.c index d02b53d..63a0d5b 100644 --- a/libpdbg/host.c +++ b/libpdbg/host.c @@ -127,5 +127,5 @@ DECLARE_HW_UNIT(host_pib); __attribute__((constructor)) static void register_host(void) { - pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &host_pib_hw_unit); + pdbg_hwunit_register(PDBG_BACKEND_HOST, &host_pib_hw_unit); } From patchwork Tue Apr 14 02:47:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1270067 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 491Vs21B2Lz9sPF for ; Tue, 14 Apr 2020 13:12:06 +1000 (AEST) 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=JUPM1q9r; 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 491Vs1407bzDqD3 for ; Tue, 14 Apr 2020 13:12:05 +1000 (AEST) 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 491VLY3YD8zDqQr for ; Tue, 14 Apr 2020 12:49:09 +1000 (AEST) 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=JUPM1q9r; 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 491VLX4wkVz9s71; Tue, 14 Apr 2020 12:49:08 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832548; bh=6aBB56WRw3br1w77Y59igZnA3O87mvuRoFkZTliK7aI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JUPM1q9rLiVAUmh8xWnHsD9d338y9vu7jGjt58F/avA1JVXVPcAMElKDMoNhVQAj5 Hzx2CvWwBVVKDUqjn6Fo+RdMdymJzePtu7tW51B/ksMb/oHtyczeGttkNM9kPeWCV1 9K4OXHTeWXWzOlcEbsdGdUs+c4e7PQaprXx5lxlIsM370RBUojy+GGdu53fwGYxiHZ 4A0HX44JvakvIYpb6yqP2xjv0YOtZEB1WlF07PzfQfr7Zhiz5lmdq99Jm1ogjI8AEm n6WV1dBSj1MlGvOoYSsRHkWHQSA810BfkCa0V5jXMCOJ9yABxIoPjBmbexSjT+/jkw pJpSFU9ZcCfDw== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:41 +1000 Message-Id: <20200414024750.20170-15-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 14/23] libpdbg: Rename ibm, host-pib -> ibm, power-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" Signed-off-by: Amitay Isaacs --- libpdbg/host.c | 2 +- p8-host.dts.m4 | 2 +- p9-host.dts.m4 | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libpdbg/host.c b/libpdbg/host.c index 63a0d5b..e44fd39 100644 --- a/libpdbg/host.c +++ b/libpdbg/host.c @@ -114,7 +114,7 @@ static int host_pib_probe(struct pdbg_target *target) static struct pib host_pib = { .target = { .name = "Host based debugfs SCOM", - .compatible = "ibm,host-pib", + .compatible = "ibm,power-pib", .class = "pib", .probe = host_pib_probe, }, diff --git a/p8-host.dts.m4 b/p8-host.dts.m4 index c3f1a45..817e6db 100644 --- a/p8-host.dts.m4 +++ b/p8-host.dts.m4 @@ -1,7 +1,7 @@ define(`CHIP',`pib@$1 { #address-cells = <0x2>; #size-cells = <0x1>; - compatible = "ibm,host-pib"; + compatible = "ibm,power-pib"; reg = <$1>; index = <$1>; system-path = "/proc$1/pib"; diff --git a/p9-host.dts.m4 b/p9-host.dts.m4 index 3b4c2b2..f2ca44b 100644 --- a/p9-host.dts.m4 +++ b/p9-host.dts.m4 @@ -8,7 +8,7 @@ pib@0 { #address-cells = <0x2>; #size-cells = <0x1>; - compatible = "ibm,host-pib"; + compatible = "ibm,power-pib"; reg = <0x0>; index = <0x0>; system-path = "/proc0/pib"; @@ -17,7 +17,7 @@ pib@8 { #address-cells = <0x2>; #size-cells = <0x1>; - compatible = "ibm,host-pib"; + compatible = "ibm,power-pib"; reg = <0x8>; index = <0x8>; system-path = "/proc1/pib"; From patchwork Tue Apr 14 02:47:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1270071 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 491VsL2x5dz9s71 for ; Tue, 14 Apr 2020 13:12:22 +1000 (AEST) 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=iTwQIzkn; 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 491VsL0B2yzDqFM for ; Tue, 14 Apr 2020 13:12:22 +1000 (AEST) 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 491VLf6yWQzDqQn for ; Tue, 14 Apr 2020 12:49:14 +1000 (AEST) 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=iTwQIzkn; 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 491VLY3y0Qz9sSq; Tue, 14 Apr 2020 12:49:09 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832549; bh=9tQSGmPUjDUOEBnbkJXxhkQYjz5zKh9uO7+HGgrBmyM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iTwQIzknPn4pmwz9h4K0qztiQhQv2JKmtxtp1IzHKkB9f1ei5ebI8n106eDFYToqX n9ufJ6zwc5njGjqW/U6qGjz0VQB22Wip+9LvTfvKOLNT4e9rLM7wFQ+mfUef3DMf8q O7XQNoKfPcX0rMeSSrwJ8zLmmkRFlUEEWdTN1kDP1k/CTiG6K4u6Hlf/EpsUNPniV5 5BCngYfUX9yASFvNan7icKXSMFK7nTPwiV52bm952uHJAgBje2f2qAREUUmAoaPHHQ R1CndOU5SOXLL97+J3MBurUUuCU02LL1zAN5UF0S+G6cZGIGltNddGuCSsl5Ux2y1A VDZK5P/MGoBxg== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:42 +1000 Message-Id: <20200414024750.20170-16-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 15/23] libpdbg: Register cronus drivers with cronus backend 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 Reviewed-by: Alistair Popple --- libpdbg/cronus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libpdbg/cronus.c b/libpdbg/cronus.c index 23d555b..eeaedc5 100644 --- a/libpdbg/cronus.c +++ b/libpdbg/cronus.c @@ -219,7 +219,7 @@ DECLARE_HW_UNIT(cronus_sbefifo); __attribute__((constructor)) static void register_cronus(void) { - pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &cronus_pib_hw_unit); - pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &cronus_fsi_hw_unit); - pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &cronus_sbefifo_hw_unit); + pdbg_hwunit_register(PDBG_BACKEND_CRONUS, &cronus_pib_hw_unit); + pdbg_hwunit_register(PDBG_BACKEND_CRONUS, &cronus_fsi_hw_unit); + pdbg_hwunit_register(PDBG_BACKEND_CRONUS, &cronus_sbefifo_hw_unit); } From patchwork Tue Apr 14 02:47:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1270069 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 491VsD1Sd7z9s71 for ; Tue, 14 Apr 2020 13:12:16 +1000 (AEST) 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=XTP0QR1B; 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 491VsD0WmXzDqFM for ; Tue, 14 Apr 2020 13:12:16 +1000 (AEST) 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 491VLf592JzDqL8 for ; Tue, 14 Apr 2020 12:49:14 +1000 (AEST) 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=XTP0QR1B; 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 491VLb6PXXz9sSG; Tue, 14 Apr 2020 12:49:11 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832552; bh=zhNrLmrhTEyn0BKHkpc/twbg7s9MnSnrjL7/iQtv/oo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XTP0QR1Bz1I1lR+addXKP31KPO7lApPIz+Uzx3NIZJrIBWNcUMFdvYwpHqFycPywK HtKIJ8OH7TSUXiF3zQDM1cbkdyaXchJSf1/rNtmbRO8bFc+r54AggyaNjK09iALdIa FPYUDVoN4XIfw4XoaMvx2wpiN6P3LAN8ggg4E2KE9xRdENo918GexeofIHoQdyy48D 95NbdegY6kmCXfsjprPU3msbdRF/rNuf/+g8UQVgsWN9AWMy/2h14oUw6dFC0spHv1 tKaIX2PdvrDvIPf1RCOVt8qw2n+vRALBKWzimN+Cg14tWCr4ASk3LwU36Z+WcdVn1l wc7Rmsz//vqmg== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:43 +1000 Message-Id: <20200414024750.20170-17-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 16/23] libpdbg: Rename ibm, cronus-{fsi, pib, sbefifo} -> ibm, power->{fsi, pib, sbefifo} 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/cronus.c | 6 +++--- p8-cronus.dts.m4 | 8 ++++---- p9-cronus.dts.m4 | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/libpdbg/cronus.c b/libpdbg/cronus.c index eeaedc5..bf8639b 100644 --- a/libpdbg/cronus.c +++ b/libpdbg/cronus.c @@ -181,7 +181,7 @@ static void cronus_sbefifo_release(struct pdbg_target *target) static struct pib cronus_pib = { .target = { .name = "Cronus Client based PIB", - .compatible = "ibm,cronus-pib", + .compatible = "ibm,power-pib", .class = "pib", .probe = cronus_probe, .release = cronus_release, @@ -194,7 +194,7 @@ DECLARE_HW_UNIT(cronus_pib); static struct fsi cronus_fsi = { .target = { .name = "Cronus Client based FSI", - .compatible = "ibm,cronus-fsi", + .compatible = "ibm,power-fsi", .class = "fsi", .probe = cronus_probe, .release = cronus_release, @@ -207,7 +207,7 @@ DECLARE_HW_UNIT(cronus_fsi); static struct sbefifo cronus_sbefifo = { .target = { .name = "Cronus Client based SBE FIFO", - .compatible = "ibm,cronus-sbefifo", + .compatible = "ibm,power-sbefifo", .class = "sbefifo_transport", .probe = cronus_sbefifo_probe, .release = cronus_sbefifo_release, diff --git a/p8-cronus.dts.m4 b/p8-cronus.dts.m4 index 2221a68..61a40a1 100644 --- a/p8-cronus.dts.m4 +++ b/p8-cronus.dts.m4 @@ -2,25 +2,25 @@ / { fsi0 { - compatible = "ibm,cronus-fsi"; + compatible = "ibm,power-fsi"; index = <0x0>; system-path = "/proc0/fsi"; }; pib0 { - compatible = "ibm,cronus-pib"; + compatible = "ibm,power-pib"; index = <0x0>; system-path = "/proc0/pib"; }; fsi1 { - compatible = "ibm,cronus-fsi"; + compatible = "ibm,power-fsi"; index = <0x1>; system-path = "/proc1/fsi"; }; pib1 { - compatible = "ibm,cronus-pib"; + compatible = "ibm,power-pib"; index = <0x1>; system-path = "/proc1/pib"; }; diff --git a/p9-cronus.dts.m4 b/p9-cronus.dts.m4 index b9173b2..29c524c 100644 --- a/p9-cronus.dts.m4 +++ b/p9-cronus.dts.m4 @@ -2,32 +2,32 @@ / { fsi0 { - compatible = "ibm,cronus-fsi"; + compatible = "ibm,power-fsi"; index = <0x0>; system-path = "/proc0/fsi"; }; pib0 { - compatible = "ibm,cronus-pib"; + compatible = "ibm,power-pib"; index = <0x0>; system-path = "/proc0/pib"; }; fsi1 { - compatible = "ibm,cronus-fsi"; + compatible = "ibm,power-fsi"; index = <0x1>; system-path = "/proc1/fsi"; }; pib1 { - compatible = "ibm,cronus-pib"; + compatible = "ibm,power-pib"; index = <0x1>; system-path = "/proc1/pib"; }; sbefifo0 { index = <0x0>; - compatible = "ibm,cronus-sbefifo"; + compatible = "ibm,power-sbefifo"; sbefifo-chipop { compatible = "ibm,sbefifo-chipop"; @@ -47,7 +47,7 @@ sbefifo1 { index = <0x1>; - compatible = "ibm,cronus-sbefifo"; + compatible = "ibm,power-sbefifo"; sbefifo-chipop { compatible = "ibm,sbefifo-chipop"; From patchwork Tue Apr 14 02:47:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1270072 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 491VsP67nBz9sPF for ; Tue, 14 Apr 2020 13:12:25 +1000 (AEST) 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=Wvjkcs8h; 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 491VsP3rr1zDqCs for ; Tue, 14 Apr 2020 13:12:25 +1000 (AEST) 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 491VLf71kHzDqQx for ; Tue, 14 Apr 2020 12:49:14 +1000 (AEST) 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=Wvjkcs8h; 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 491VLc4tGqz9sSt; Tue, 14 Apr 2020 12:49:12 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832552; bh=ci97YbT/Oyt75h5+NZ1r0y3qXmmBX130YetQt5vm/Cs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Wvjkcs8hkQMu2I+3tOx0dzqp4o4aGiHwURelXDvjscKDS7Bj/HyWAlykjcnWECcNU rCOdhh1FuOq3HqrsctF2ex0RiZDZn/vggxYIYMgvQZ7GNnGDuAQ+eX8KKdMMAMTgLF ktDqNFvu0o+7s/NKqRSRf/kKQTQRbKlZWvu9paDyfl7ueGw0LJjvrZj7TFqQKJnaxN J/imM18fFBRAR5VDAlnWHDmvKl+azO7BFRASlYDafV6B2GcUZjpv1d57Oz12MX2n/n b54566QCCNCPKROll7tq5e4eTDhrozSm3660YHCcUHqRuk76FCtWnMC/AsXghgKiey dKeue7kYr4vKQ== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:44 +1000 Message-Id: <20200414024750.20170-18-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 17/23] dts: Backend device trees must use specific driver 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" Specific backend must always use specific drivers for backend specific devices. All other devices which appear in system device tree can potentially match multiple drivers depending on the backend. Signed-off-by: Amitay Isaacs --- p8-fsi.dts.m4 | 6 +++--- p8-i2c.dts.m4 | 4 ++-- p8-kernel.dts.m4 | 4 ++-- p9-fsi.dtsi.m4 | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/p8-fsi.dts.m4 b/p8-fsi.dts.m4 index f109e77..a5682a2 100644 --- a/p8-fsi.dts.m4 +++ b/p8-fsi.dts.m4 @@ -26,7 +26,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; - compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib"; + compatible = "ibm,fsi-pib"; index = <0x0>; system-path = "/proc0/pib"; }; @@ -44,7 +44,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; - compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib"; + compatible = "ibm,fsi-pib"; index = <0x1>; system-path = "/proc1/pib"; }; @@ -64,7 +64,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; - compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib"; + compatible = "ibm,fsi-pib"; index = <0x2>; system-path = "/proc2/pib"; }; diff --git a/p8-i2c.dts.m4 b/p8-i2c.dts.m4 index a272d62..255df72 100644 --- a/p8-i2c.dts.m4 +++ b/p8-i2c.dts.m4 @@ -34,7 +34,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; - compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib"; + compatible = "ibm,fsi-pib"; index = <0x1>; system-path = "/proc1/pib"; }; @@ -53,7 +53,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; - compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib"; + compatible = "ibm,fsi-pib"; index = <0x2>; system-path = "/proc2/pib"; }; diff --git a/p8-kernel.dts.m4 b/p8-kernel.dts.m4 index 6eacb92..b00ed54 100644 --- a/p8-kernel.dts.m4 +++ b/p8-kernel.dts.m4 @@ -18,7 +18,7 @@ #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; index = <0x0>; - compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib"; + compatible = "ibm,fsi-pib"; system-path = "/proc0/pib"; }; @@ -35,7 +35,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; - compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib"; + compatible = "ibm,fsi-pib"; index = <0x1>; system-path = "/proc1/pib"; }; diff --git a/p9-fsi.dtsi.m4 b/p9-fsi.dtsi.m4 index 1b74104..a1d6a78 100644 --- a/p9-fsi.dtsi.m4 +++ b/p9-fsi.dtsi.m4 @@ -17,7 +17,7 @@ #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; index = <0x0>; - compatible = "ibm,fsi-pib", "ibm,power9-fsi-pib"; + compatible = "ibm,fsi-pib"; system-path = "/proc0/pib"; }; @@ -35,7 +35,7 @@ #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; index = <0x1>; - compatible = "ibm,fsi-pib", "ibm,power9-fsi-pib"; + compatible = "ibm,fsi-pib"; system-path = "/proc1/pib"; }; }; From patchwork Tue Apr 14 02:47:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1270070 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 491VsH4qk7z9sSG for ; Tue, 14 Apr 2020 13:12:19 +1000 (AEST) 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=LsNjUB4L; 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 491VsG6LjczDqDL for ; Tue, 14 Apr 2020 13:12:18 +1000 (AEST) 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 491VLf6zYnzDqQr for ; Tue, 14 Apr 2020 12:49:14 +1000 (AEST) 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=LsNjUB4L; 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 491VLd4JxYz9sT4; Tue, 14 Apr 2020 12:49:13 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832553; bh=0l3Ht6CSyoJ1vAS//UDbqqQGwSNN7xcj4JovwTOMIcg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LsNjUB4Lx10qxPIGsgbPcEH8yNd+3v0AjLIpJ1iwM2BAmeNw/990Gp+kz4V554hFH 1f8Vdl/VpctaCMAC/DOPbydp42i8yd6z+wzsRfDl+TuoTdgCJtdk1nUnGTZOIBCP8R J09dW+V4lqNu3QTrrWn7qXtwurgkpCbjZI29m2l/dJcO+L5ADrY3vxBCLZecDnr+mv Q0l38KZWrLrFDkS5sK1F17zqSbhnicGtnOtLs02/nQE7ltKw+bbsOoR3QDFQGfrkIT BGDc2LLEfdNaeIqj80UBaoPeUs8GNOMGt66gqhB1ukpKOmlodQsAbav8oHmMuXAlxQ Hq7CAWXczGXZQ== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:45 +1000 Message-Id: <20200414024750.20170-19-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 18/23] libpdbg: Rename ibm, power8-opb-hmfsi -> ibm, power8-hmfsi 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/cfam.c | 2 +- p8-i2c.dts.m4 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libpdbg/cfam.c b/libpdbg/cfam.c index 0b0b6f0..5364d5f 100644 --- a/libpdbg/cfam.c +++ b/libpdbg/cfam.c @@ -283,7 +283,7 @@ static int p8_hmfsi_probe(struct pdbg_target *target) static struct fsi p8_opb_hmfsi = { .target = { .name = "POWER8 OPB attached hMFSI", - .compatible = "ibm,power8-opb-hmfsi", + .compatible = "ibm,power8-hmfsi", .class = "fsi", .probe = p8_hmfsi_probe, }, diff --git a/p8-i2c.dts.m4 b/p8-i2c.dts.m4 index 255df72..71b5d27 100644 --- a/p8-i2c.dts.m4 +++ b/p8-i2c.dts.m4 @@ -24,7 +24,7 @@ hmfsi@100000 { #address-cells = <0x2>; #size-cells = <0x1>; - compatible = "ibm,power8-opb-hmfsi"; + compatible = "ibm,power8-hmfsi"; reg = <0x100000 0x80000>; port = <0x1>; index = <0x1>; @@ -43,7 +43,7 @@ hmfsi@180000 { #address-cells = <0x2>; #size-cells = <0x1>; - compatible = "ibm,power8-opb-hmfsi"; + compatible = "ibm,power8-hmfsi"; reg = <0x180000 0x80000>; port = <0x2>; index = <0x2>; From patchwork Tue Apr 14 02:47:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1270073 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 491VsT3SPmz9sPF for ; Tue, 14 Apr 2020 13:12:29 +1000 (AEST) 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=BFFAZvMY; 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 491VsT0G5lzDqCc for ; Tue, 14 Apr 2020 13:12:29 +1000 (AEST) 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 491VLk4zLWzDqQn for ; Tue, 14 Apr 2020 12:49:18 +1000 (AEST) 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=BFFAZvMY; 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 491VLf5823z9sT5; Tue, 14 Apr 2020 12:49:14 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832554; bh=D4OcsdzysKtMrHufrRfxD3XakGCeSjPbl/BVRMTGldg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BFFAZvMYLzuFCeE9cM0RNP8QpnAwGe2YPGsY0JmzwA8wxNWSrjxvgbxahxisp8yzi j1g/h/2rxBUlj8KuMTTvz704XxjN01e0zJDJoO7x//KDJcEY+Xl0oryUaxr1uBJtN5 An3+Mz+7b9bWsMMWMdgnGIg4cEGhCwdvCLeubvxnka76vntQ/hI9AdoUy5HvblhxcX 90QwKTPDo9hlUrDEGvQLlffQaRB+CAzGYAUSy6EB1iTsMvk3TL0lXLceogPJGSAmON FLSvM1E9syGSohBiwpxkMaHLjNwkfLTCzvBk7tpZGKjjOrgNMJ5cTq8TQU8QyvjCtt e5nyl0CBOuByQ== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:46 +1000 Message-Id: <20200414024750.20170-20-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 19/23] libpdbg: Rename ibm,fsi-pib -> ibm,power-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" Signed-off-by: Amitay Isaacs --- libpdbg/cfam.c | 2 +- p8-fsi.dts.m4 | 6 +++--- p8-i2c.dts.m4 | 4 ++-- p8-kernel.dts.m4 | 4 ++-- p9-fsi.dtsi.m4 | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/libpdbg/cfam.c b/libpdbg/cfam.c index 5364d5f..bbaba30 100644 --- a/libpdbg/cfam.c +++ b/libpdbg/cfam.c @@ -118,7 +118,7 @@ static int fsi2pib_reset(struct pdbg_target *target) static struct pib fsi_pib = { .target = { .name = "POWER FSI2PIB", - .compatible = "ibm,fsi-pib", + .compatible = "ibm,power-pib", .class = "pib", .probe = fsi2pib_reset, }, diff --git a/p8-fsi.dts.m4 b/p8-fsi.dts.m4 index a5682a2..0777e8d 100644 --- a/p8-fsi.dts.m4 +++ b/p8-fsi.dts.m4 @@ -26,7 +26,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; - compatible = "ibm,fsi-pib"; + compatible = "ibm,power-pib"; index = <0x0>; system-path = "/proc0/pib"; }; @@ -44,7 +44,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; - compatible = "ibm,fsi-pib"; + compatible = "ibm,power-pib"; index = <0x1>; system-path = "/proc1/pib"; }; @@ -64,7 +64,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; - compatible = "ibm,fsi-pib"; + compatible = "ibm,power-pib"; index = <0x2>; system-path = "/proc2/pib"; }; diff --git a/p8-i2c.dts.m4 b/p8-i2c.dts.m4 index 71b5d27..abbf760 100644 --- a/p8-i2c.dts.m4 +++ b/p8-i2c.dts.m4 @@ -34,7 +34,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; - compatible = "ibm,fsi-pib"; + compatible = "ibm,power-pib"; index = <0x1>; system-path = "/proc1/pib"; }; @@ -53,7 +53,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; - compatible = "ibm,fsi-pib"; + compatible = "ibm,power-pib"; index = <0x2>; system-path = "/proc2/pib"; }; diff --git a/p8-kernel.dts.m4 b/p8-kernel.dts.m4 index b00ed54..74f2a6e 100644 --- a/p8-kernel.dts.m4 +++ b/p8-kernel.dts.m4 @@ -18,7 +18,7 @@ #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; index = <0x0>; - compatible = "ibm,fsi-pib"; + compatible = "ibm,power-pib"; system-path = "/proc0/pib"; }; @@ -35,7 +35,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; - compatible = "ibm,fsi-pib"; + compatible = "ibm,power-pib"; index = <0x1>; system-path = "/proc1/pib"; }; diff --git a/p9-fsi.dtsi.m4 b/p9-fsi.dtsi.m4 index a1d6a78..91cc120 100644 --- a/p9-fsi.dtsi.m4 +++ b/p9-fsi.dtsi.m4 @@ -17,7 +17,7 @@ #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; index = <0x0>; - compatible = "ibm,fsi-pib"; + compatible = "ibm,power-pib"; system-path = "/proc0/pib"; }; @@ -35,7 +35,7 @@ #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; index = <0x1>; - compatible = "ibm,fsi-pib"; + compatible = "ibm,power-pib"; system-path = "/proc1/pib"; }; }; From patchwork Tue Apr 14 02:47:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1270074 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 491VsX5lh2z9s71 for ; Tue, 14 Apr 2020 13:12:32 +1000 (AEST) 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=lLSYn01l; 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 491VsW5xbwzDqFM for ; Tue, 14 Apr 2020 13:12:31 +1000 (AEST) 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 491VLm2KzXzDq9G for ; Tue, 14 Apr 2020 12:49:20 +1000 (AEST) 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=lLSYn01l; 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 491VLg4X38z9sT0; Tue, 14 Apr 2020 12:49:15 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832555; bh=gTXp0IOuXIojoYVJs/3rJV0mbQloPbdX2KLaGTcUL+8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lLSYn01linVWA/VyVYbRCyjvk0levUpZhpVGaH/0bYuTTiZkDo4c0JIkOdtucqvng DMx+vfbBrWzejDLf3f4kgWpiXJ58FTb9QOKtnxTjsiQdINbde22/gT2EKEX0nCQrEq 6cFEVeuPI0I+pZeRdzFB4i0AZcaeh19F3gZA0PdW8wL+juJOBkSfTuCs3+8XqNZHfv qLNCswGVNCGWwoB5YvNvj4DexbTcMi7RiPqosl9R3YflF2QUUPP96YgGrojihIPv1p W8KG9q2XnyNYR51ZwCMDaI6gJgc3/+p60frPQvIcsjUlTuUVeZNvhv/oIDfS95RNXC bc0uMXw6ekjXQ== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:47 +1000 Message-Id: <20200414024750.20170-21-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 20/23] libpdbg: Rename ibm, fsi-hmfsi -> ibm, power-hmfsi 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/cfam.c | 2 +- p8-fsi.dts.m4 | 4 ++-- p8-kernel.dts.m4 | 2 +- p9-fsi.dtsi.m4 | 2 +- p9-kernel.dts.m4 | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libpdbg/cfam.c b/libpdbg/cfam.c index bbaba30..dc4cf2d 100644 --- a/libpdbg/cfam.c +++ b/libpdbg/cfam.c @@ -341,7 +341,7 @@ static int cfam_hmfsi_probe(struct pdbg_target *target) static struct fsi cfam_hmfsi = { .target = { .name = "CFAM hMFSI Port", - .compatible = "ibm,fsi-hmfsi", + .compatible = "ibm,power-hmfsi", .class = "fsi", .probe = cfam_hmfsi_probe, }, diff --git a/p8-fsi.dts.m4 b/p8-fsi.dts.m4 index 0777e8d..9e761eb 100644 --- a/p8-fsi.dts.m4 +++ b/p8-fsi.dts.m4 @@ -34,7 +34,7 @@ hmfsi@100000 { #address-cells = <0x2>; #size-cells = <0x1>; - compatible = "ibm,fsi-hmfsi"; + compatible = "ibm,power-hmfsi"; reg = <0x0 0x100000 0x8000>; port = <0x1>; index = <0x1>; @@ -54,7 +54,7 @@ hmfsi@180000 { #address-cells = <0x2>; #size-cells = <0x1>; - compatible = "ibm,fsi-hmfsi"; + compatible = "ibm,power-hmfsi"; reg = <0x0 0x180000 0x80000>; port = <0x2>; index = <0x2>; diff --git a/p8-kernel.dts.m4 b/p8-kernel.dts.m4 index 74f2a6e..92c473f 100644 --- a/p8-kernel.dts.m4 +++ b/p8-kernel.dts.m4 @@ -25,7 +25,7 @@ hmfsi@100000 { #address-cells = <0x2>; #size-cells = <0x1>; - compatible = "ibm,fsi-hmfsi"; + compatible = "ibm,power-hmfsi"; reg = <0x0 0x100000 0x8000>; port = <0x1>; index = <0x1>; diff --git a/p9-fsi.dtsi.m4 b/p9-fsi.dtsi.m4 index 91cc120..6d64123 100644 --- a/p9-fsi.dtsi.m4 +++ b/p9-fsi.dtsi.m4 @@ -24,7 +24,7 @@ hmfsi@100000 { #address-cells = <0x2>; #size-cells = <0x1>; - compatible = "ibm,fsi-hmfsi"; + compatible = "ibm,power-hmfsi"; reg = <0x0 0x100000 0x8000>; port = <0x1>; index = <0x1>; diff --git a/p9-kernel.dts.m4 b/p9-kernel.dts.m4 index 0b92289..dd15798 100644 --- a/p9-kernel.dts.m4 +++ b/p9-kernel.dts.m4 @@ -48,7 +48,7 @@ hmfsi@100000 { #address-cells = <0x2>; #size-cells = <0x1>; - compatible = "ibm,fsi-hmfsi"; + compatible = "ibm,power-hmfsi"; reg = <0x0 0x100000 0x8000>; port = <0x1>; index = <0x1>; From patchwork Tue Apr 14 02:47:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1270075 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 491Vsc0GV4z9sPF for ; Tue, 14 Apr 2020 13:12:36 +1000 (AEST) 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=gVrOjs1Y; 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 491Vsb5HDrzDqFM for ; Tue, 14 Apr 2020 13:12:35 +1000 (AEST) 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 491VLm2LHyzDqQy for ; Tue, 14 Apr 2020 12:49:20 +1000 (AEST) 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=gVrOjs1Y; 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 491VLh71G0z9sT1; Tue, 14 Apr 2020 12:49:16 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832557; bh=vfPcymzGIpLFi7ACe/4GGTVHrjor8xhlKyLXgnyp6Us=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gVrOjs1Ybmg97dmfOl40NewrLS8XnPCWXAyVJ86R8FO6gpiHrzhc7zVMFubhfZJVu NgLEe5SxYl5SNSpSuc6GPHXCtP00zfRTatnXSigYS2bXx128IkCsFy4yrYF94mkpQA X9aoAPXN3vsP8NJ1cn07wlrUEJscBkaGwOLUkadtI3BacKCI1ea677ziGjnT1o/+Mt uHwis0xQrsZH7InbL3vdsmXzaqFY0Omopi7AvbqD743S2K9hskWn1N5XhygSSbolB5 JjJBi75DoeCoeYQOKJcttGOkEed3DCzkxVAzs85nHXrtv14GxnVwBHOYjqU34sIk64 oRL7oBujiRWxg== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:48 +1000 Message-Id: <20200414024750.20170-22-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 21/23] libpdbg: Rename ibm, processor -> ibm, power-proc 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/chip.c | 2 +- p8.dts.m4 | 2 +- p9.dts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libpdbg/chip.c b/libpdbg/chip.c index b961e87..848a831 100644 --- a/libpdbg/chip.c +++ b/libpdbg/chip.c @@ -670,7 +670,7 @@ int thread_getregs(struct pdbg_target *thread, struct thread_regs *regs) static struct proc proc = { .target = { .name = "Processor Module", - .compatible = "ibm,processor", + .compatible = "ibm,power-proc", .class = "proc", }, }; diff --git a/p8.dts.m4 b/p8.dts.m4 index a508e02..42e1167 100644 --- a/p8.dts.m4 +++ b/p8.dts.m4 @@ -1,7 +1,7 @@ define(`PROC',` define(`PROC_ID',`$1')dnl proc$1 { - compatible = "ibm,power8-proc", "ibm,processor"; + compatible = "ibm,power8-proc", "ibm,power-proc"; index = <$1>; fsi { diff --git a/p9.dts b/p9.dts index 2d3fed2..4eb910b 100644 --- a/p9.dts +++ b/p9.dts @@ -7,7 +7,7 @@ }; proc0 { - compatible = "ibm,power9-proc", "ibm,processor"; + compatible = "ibm,power9-proc", "ibm,power-proc"; index = < 0x00 >; fsi { @@ -1723,7 +1723,7 @@ }; proc1 { - compatible = "ibm,power9-proc", "ibm,processor"; + compatible = "ibm,power9-proc", "ibm,power-proc"; index = < 0x01 >; fsi { From patchwork Tue Apr 14 02:47:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1270076 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 491Vsg26Y5z9s71 for ; Tue, 14 Apr 2020 13:12:39 +1000 (AEST) 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=ysgU4xgJ; 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 491Vsf4ZGWzDqBg for ; Tue, 14 Apr 2020 13:12:38 +1000 (AEST) 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 491VLm2L3rzDqQn for ; Tue, 14 Apr 2020 12:49:20 +1000 (AEST) 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=ysgU4xgJ; 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 491VLk1X8Pz9sPF; Tue, 14 Apr 2020 12:49:18 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832558; bh=44o66GXBBJxAxJJ7cpGR6/mjlHZe12u91BQjBf6Q/7A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ysgU4xgJh8FILIoy/TYXxTjRqWqVKppxeqTYb4nK29cg7hDL5Kln4xHLjH+zqnUct 1Ij0tuGXCm/HujY56KIC9AayZrvPNNs1E3H1uht0jduMv24YRA0g0mg4jq4jgr3pR8 KNembG6G0/R08s3XtdClwajaD4gib/ELxJp4t5boiSDfkKgLqIVJUD0afxuyWlHCyt tPY2YF6+YMLUptG2GsTJyAuuW4QvYT0JLNXsWPKrB9pOi21UoklbFeribhqfRFMGZK 4JNP+yAIUBGS07YgQyIERG30wmI9mpwJ+zJ0k/vSkNogFauAfNdsXH0mwtAFEgCw4z 2X5YwmQXa63hQ== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:49 +1000 Message-Id: <20200414024750.20170-23-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 22/23] libpdbg: Rename ibm, sbefifo-{mem, mem-pba, chipop} -> ibm, power-{mem, mempba, chipop} 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/sbefifo.c | 6 +++--- p9-cronus.dts.m4 | 12 ++++++------ p9-kernel.dts.m4 | 12 ++++++------ 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/libpdbg/sbefifo.c b/libpdbg/sbefifo.c index ce605da..3532086 100644 --- a/libpdbg/sbefifo.c +++ b/libpdbg/sbefifo.c @@ -270,7 +270,7 @@ static void sbefifo_release(struct pdbg_target *target) static struct mem sbefifo_mem = { .target = { .name = "SBE FIFO Chip-op based memory access", - .compatible = "ibm,sbefifo-mem", + .compatible = "ibm,power-mem", .class = "mem", }, .read = sbefifo_op_getmem, @@ -281,7 +281,7 @@ DECLARE_HW_UNIT(sbefifo_mem); static struct mem sbefifo_pba = { .target = { .name = "SBE FIFO Chip-op based memory access", - .compatible = "ibm,sbefifo-mem-pba", + .compatible = "ibm,power-mempba", .class = "mem", }, .read = sbefifo_op_getmem_pba, @@ -292,7 +292,7 @@ DECLARE_HW_UNIT(sbefifo_pba); static struct chipop sbefifo_chipop = { .target = { .name = "SBE FIFO Chip-op engine", - .compatible = "ibm,sbefifo-chipop", + .compatible = "ibm,power-chipop", .class = "chipop", }, .ffdc_get = sbefifo_op_ffdc_get, diff --git a/p9-cronus.dts.m4 b/p9-cronus.dts.m4 index 29c524c..2cd5950 100644 --- a/p9-cronus.dts.m4 +++ b/p9-cronus.dts.m4 @@ -30,17 +30,17 @@ compatible = "ibm,power-sbefifo"; sbefifo-chipop { - compatible = "ibm,sbefifo-chipop"; + compatible = "ibm,power-chipop"; index = <0x0>; }; sbefifo-mem { - compatible = "ibm,sbefifo-mem"; + compatible = "ibm,power-mem"; system-path = "/mem0"; }; sbefifo-pba { - compatible = "ibm,sbefifo-mem-pba"; + compatible = "ibm,power-mempba"; system-path = "/mempba0"; }; }; @@ -50,17 +50,17 @@ compatible = "ibm,power-sbefifo"; sbefifo-chipop { - compatible = "ibm,sbefifo-chipop"; + compatible = "ibm,power-chipop"; index = <0x1>; }; sbefifo-mem { - compatible = "ibm,sbefifo-mem"; + compatible = "ibm,power-mem"; system-path = "/mem1"; }; sbefifo-pba { - compatible = "ibm,sbefifo-mem-pba"; + compatible = "ibm,power-mempba"; system-path = "/mempba1"; }; }; diff --git a/p9-kernel.dts.m4 b/p9-kernel.dts.m4 index dd15798..3ac1329 100644 --- a/p9-kernel.dts.m4 +++ b/p9-kernel.dts.m4 @@ -30,17 +30,17 @@ device-path = "/dev/sbefifo1"; sbefifo-mem { - compatible = "ibm,sbefifo-mem"; + compatible = "ibm,power-mem"; system-path = "/mem0"; }; sbefifo-pba { - compatible = "ibm,sbefifo-mem-pba"; + compatible = "ibm,power-mempba"; system-path = "/mempba0"; }; sbefifo-chipop { - compatible = "ibm,sbefifo-chipop"; + compatible = "ibm,power-chipop"; index = <0x0>; }; }; @@ -71,17 +71,17 @@ device-path = "/dev/sbefifo2"; sbefifo-mem { - compatible = "ibm,sbefifo-mem"; + compatible = "ibm,power-mem"; system-path = "/mem1"; }; sbefifo-pba { - compatible = "ibm,sbefifo-mem-pba"; + compatible = "ibm,power-mempba"; system-path = "/mempba1"; }; sbefifo-chipop { - compatible = "ibm,sbefifo-chipop"; + compatible = "ibm,power-chipop"; index = <0x1>; }; }; From patchwork Tue Apr 14 02:47:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1270077 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 491Vsj4l36z9sSG for ; Tue, 14 Apr 2020 13:12:41 +1000 (AEST) 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=eLDyYmE4; 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 491Vsj3Lf4zDq9n for ; Tue, 14 Apr 2020 13:12:41 +1000 (AEST) 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 491VLm2LXwzDqR0 for ; Tue, 14 Apr 2020 12:49:20 +1000 (AEST) 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=eLDyYmE4; 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 491VLl10Xpz9s71; Tue, 14 Apr 2020 12:49:19 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832559; bh=9RVX2KM0lBbVj6iu/laUpHmQhSow6wiuFNezSrU0Pkk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eLDyYmE4JVdunfXxK+wz8fc0hsHqHbATwtbcyHrlzw8aS2wUXIPrhEXkTQyEMzVjS G+lVdS/ClM1giXY/IoVYZEsUYFlKpKBIQp6DDYfN9+3mSCOfQJ1rvU4ZYlsz3Y10cH XRbTw421l0PhOU4/2n+ztP7JloZ5wyeyVHO8wedG4Gx5aVSWRCydaAYxjXUeQtVeJb YuJAWcGniAjgje1208xXX09uxfwkLO96U1Bv3zp3a4Rn86Riu6pianLMOvF8QLF4oN ixTmOj+t5PCTjemlllml4jGf3G+s/4OoR1m7c73xGZ3j4GHGaj42oK7D3XItpXj61p 4V6fyuSpBoW3w== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:50 +1000 Message-Id: <20200414024750.20170-24-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 23/23] dts: Add a generic compatible property for core and thread 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" This allows different drivers to be loaded automatically depending on the specified backend. Signed-off-by: Amitay Isaacs --- p9.dts | 480 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 240 insertions(+), 240 deletions(-) diff --git a/p9.dts b/p9.dts index 4eb910b..968c0f2 100644 --- a/p9.dts +++ b/p9.dts @@ -379,33 +379,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x00 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -423,33 +423,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x01 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -475,33 +475,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x02 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -519,33 +519,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x03 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -587,33 +587,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x04 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -631,33 +631,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x05 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -683,33 +683,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x06 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -727,33 +727,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x07 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -795,33 +795,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x08 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -839,33 +839,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x09 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -891,33 +891,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x0a >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -935,33 +935,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x0b >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -1003,33 +1003,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x0c >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -1047,33 +1047,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x0d >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -1099,33 +1099,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x0e >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -1143,33 +1143,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x0f >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -1211,33 +1211,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x10 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -1255,33 +1255,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x11 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -1307,33 +1307,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x12 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -1351,33 +1351,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x13 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -1419,33 +1419,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x14 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -1463,33 +1463,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x15 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -1515,33 +1515,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x16 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -1559,33 +1559,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x17 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -2095,33 +2095,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x00 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -2139,33 +2139,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x01 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -2191,33 +2191,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x02 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -2235,33 +2235,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x03 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -2303,33 +2303,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x04 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -2347,33 +2347,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x05 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -2399,33 +2399,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x06 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -2443,33 +2443,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x07 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -2511,33 +2511,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x08 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -2555,33 +2555,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x09 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -2607,33 +2607,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x0a >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -2651,33 +2651,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x0b >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -2719,33 +2719,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x0c >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -2763,33 +2763,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x0d >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -2815,33 +2815,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x0e >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -2859,33 +2859,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x0f >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -2927,33 +2927,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x10 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -2971,33 +2971,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x11 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -3023,33 +3023,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x12 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -3067,33 +3067,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x13 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -3135,33 +3135,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x14 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -3179,33 +3179,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x15 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -3231,33 +3231,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x16 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >; @@ -3275,33 +3275,33 @@ core@0 { #address-cells = < 0x01 >; #size-cells = < 0x00 >; - compatible = "ibm,power9-core"; + compatible = "ibm,power9-core", "ibm,power-core"; index = < 0x17 >; reg = < 0x00 0x00 0xfffff >; thread@0 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x00 >; index = < 0x00 >; }; thread@1 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x01 >; index = < 0x01 >; }; thread@2 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x02 >; index = < 0x02 >; }; thread@3 { - compatible = "ibm,power9-thread"; + compatible = "ibm,power9-thread", "ibm,power-thread"; reg = < 0x00 >; tid = < 0x03 >; index = < 0x03 >;