From patchwork Thu Sep 24 04:42:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1370270 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Bxj8h6HmDz9sTM for ; Thu, 24 Sep 2020 14:43:00 +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=beSAssI5; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4Bxj8f50TjzDqZF for ; Thu, 24 Sep 2020 14:42: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 4Bxj8S6jDZzDqXS for ; Thu, 24 Sep 2020 14:42:48 +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=beSAssI5; 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 4Bxj8S4Y5xz9sTH; Thu, 24 Sep 2020 14:42:48 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1600922568; bh=OW8DU6lDLH0W/0C6sMTawUh4Lu7aZr9efIfe+pk6ASA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=beSAssI51RbYljbvkfqL4PKHFWytxHGxFJQUpTFN+WG7f+Ty6SXIh3JpSQWoDvD96 zv46Kovrc6OSLeenwJiK4HrbcIHNQveDmRTfOdwob1DMdIuqunfrg9mhUq72Z6MK4R xz2kVWwNiHvE0FRqa/bArTJuxeC12ledlA1I9bUiecA/U9DwUb6W4SkDc7w1MmQioS VW2hQzAJFByxDf9qTYoQ2dkiU74/bZdn3IcpJdw5ovAUbv/jHtlZB2rUD5XpmuI1kv gW/jdFXwk8zToNg68uMrnKqbiyRMRP+ArnnIaiKXG4VqBq2eKLdRWisMzxqY+lhA75 OjGVus1aXA/xA== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Thu, 24 Sep 2020 14:42:19 +1000 Message-Id: <20200924044236.130586-2-amitay@ozlabs.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200924044236.130586-1-amitay@ozlabs.org> References: <20200924044236.130586-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 01/18] libpdbg: Add p10 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: Joel Stanley --- libpdbg/libpdbg.h | 1 + libpdbg/target.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libpdbg/libpdbg.h b/libpdbg/libpdbg.h index 180a609..2630fd7 100644 --- a/libpdbg/libpdbg.h +++ b/libpdbg/libpdbg.h @@ -53,6 +53,7 @@ enum pdbg_proc { PDBG_PROC_UNKNOWN, /**< Unknown processor */ PDBG_PROC_P8, /**< POWER8 processor */ PDBG_PROC_P9, /**< POWER9 processor */ + PDBG_PROC_P10, /**< POWER10 processor */ }; /** diff --git a/libpdbg/target.h b/libpdbg/target.h index a12cce8..572631f 100644 --- a/libpdbg/target.h +++ b/libpdbg/target.h @@ -29,8 +29,9 @@ #define CHIP_ID_P8P 0xd3 #define CHIP_ID_P9 0xd1 #define CHIP_ID_P9P 0xd9 +#define CHIP_ID_P10 0xda -enum chip_type {CHIP_UNKNOWN, CHIP_P8, CHIP_P8NV, CHIP_P9}; +enum chip_type {CHIP_UNKNOWN, CHIP_P8, CHIP_P8NV, CHIP_P9, CHIP_P10}; struct pdbg_target_class { char *name;