diff mbox series

[01/18] libpdbg: Add p10

Message ID 20200924044236.130586-2-amitay@ozlabs.org
State Superseded
Headers show
Series Add p10 support to libpdbg | expand

Commit Message

Amitay Isaacs Sept. 24, 2020, 4:42 a.m. UTC
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
---
 libpdbg/libpdbg.h | 1 +
 libpdbg/target.h  | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

Comments

Joel Stanley Sept. 28, 2020, 5:32 a.m. UTC | #1
On Thu, 24 Sep 2020 at 04:43, Amitay Isaacs <amitay@ozlabs.org> wrote:
>
> Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>

Reviewed-by: Joel Stanley <joel@jms.id.au>

> ---
>  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;
> --
> 2.26.2
>
> --
> Pdbg mailing list
> Pdbg@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/pdbg
diff mbox series

Patch

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;