[Skiboot] [PATCH 10/14] hdat: add new sppcrd_chip_info fields
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Fri Jan 13 19:45:26 AEDT 2017
On 01/12/2017 09:24 AM, 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.
>
> Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
> ---
> hdata/spira.h | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/hdata/spira.h b/hdata/spira.h
> index d989c6b40625..aa58b5599e5d 100644
> --- a/hdata/spira.h
> +++ b/hdata/spira.h
> @@ -973,6 +973,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 */
Spec doesn't say that its added from v0x20. Otherwise patch looks good to me.
Reviewed-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
-Vasant
> + __be32 stop_levels;
> } __packed;
>
> /* Idata index 1 : Chip TOD */
>
More information about the Skiboot
mailing list