diff mbox

[RFC,2/5] hdat: add new sppcrd_chip_info fields

Message ID 1474008303-20365-3-git-send-email-oohall@gmail.com
State RFC
Headers show

Commit Message

Oliver O'Halloran Sept. 16, 2016, 6:45 a.m. UTC
A number of new fields have been defined over the last few HDAT versions
that we have not used up until this point. This patch adds them to the
structure.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
---
 hdata/spira.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

Comments

Vasant Hegde Sept. 16, 2016, 8:45 a.m. UTC | #1
On 09/16/2016 12:15 PM, Oliver O'Halloran wrote:
> A number of new fields have been defined over the last few HDAT versions
> that we have not used up until this point. This patch adds them to the
> structure.
>

Looks good.

Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>

> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
> ---
>   hdata/spira.h | 13 +++++++++++++
>   1 file changed, 13 insertions(+)
>
> diff --git a/hdata/spira.h b/hdata/spira.h
> index eabf7f953ab7..1acd5478863b 100644
> --- a/hdata/spira.h
> +++ b/hdata/spira.h
> @@ -931,6 +931,19 @@ struct sppcrd_chip_info {
>   	__be32 reserved;
>   	__be32 dbob_id;
>   	__be32 occ_state;
> +	/* Version 0xC - none of these are used */
> +	__be32 processor_fru_id;
> +	__be32 chip_ec_level;
> +	__be32 hw_module_id;
> +	__be32 hw_card_id;
> +	__be32 internal_drawer_nid;
> +	__be32 ccm_nid;
> +	/* Version 0xD */
> +	__be32 capp0_func_state;
> +	/* Version 0xE */
> +	__be32 capp1_func_state;
> +	/* Version 0x20 */
> +	__be32 stop_levels;
>   } __packed;
>
>   /* Idata index 1 : Chip TOD */
>
diff mbox

Patch

diff --git a/hdata/spira.h b/hdata/spira.h
index eabf7f953ab7..1acd5478863b 100644
--- a/hdata/spira.h
+++ b/hdata/spira.h
@@ -931,6 +931,19 @@  struct sppcrd_chip_info {
 	__be32 reserved;
 	__be32 dbob_id;
 	__be32 occ_state;
+	/* Version 0xC - none of these are used */
+	__be32 processor_fru_id;
+	__be32 chip_ec_level;
+	__be32 hw_module_id;
+	__be32 hw_card_id;
+	__be32 internal_drawer_nid;
+	__be32 ccm_nid;
+	/* Version 0xD */
+	__be32 capp0_func_state;
+	/* Version 0xE */
+	__be32 capp1_func_state;
+	/* Version 0x20 */
+	__be32 stop_levels;
 } __packed;
 
 /* Idata index 1 : Chip TOD */