diff options
author | Pratikkumar Prajapati <pratikkumar.v.prajapati@intel.com> | 2023-08-30 10:18:51 -0700 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2023-09-17 04:48:49 +0000 |
commit | 71e3932c0b21307f6136628547df5c524bcb9eb7 (patch) | |
tree | 02bd1c4d1323896c294e5126e05fb85a0eeb3969 /src/soc | |
parent | 0f56f8376099722b671e118950441731075c71c7 (diff) |
soc/intel/common: Add more fields for CPU crashlog header
Add more details in CPU crashlog header structure, such as
storage off status and support, re-arm status etc. These fields
are used to check of particular feature is supported or not and
if supported what is the status of the feature.
BUG=b:262501347
TEST=Able to build google/rex.
Change-Id: I4242b6043b8f8ad9212780f44ca0448cd2b6b9f8
Signed-off-by: Pratikkumar Prajapati <pratikkumar.v.prajapati@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77562
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/intel/common/block/include/intelblocks/crashlog.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/soc/intel/common/block/include/intelblocks/crashlog.h b/src/soc/intel/common/block/include/intelblocks/crashlog.h index e63a8cb506..38d1a09de6 100644 --- a/src/soc/intel/common/block/include/intelblocks/crashlog.h +++ b/src/soc/intel/common/block/include/intelblocks/crashlog.h @@ -129,11 +129,17 @@ typedef struct { typedef union { struct { - u64 access_type :4; - u64 crash_type :4; - u64 count :8; - u64 reserved :16; - u64 guid :32; + u64 access_type :4; + u64 crash_type :4; + u64 count :8; + u64 reserved1 :4; + u64 clr_support :1; + u64 storage_off_support :1; + u64 reserved2 :2; + u64 storage_off_status :1; + u64 re_arm_status :1; + u64 reserved3 :6; + u64 guid :32; } fields; u64 data; } __packed cpu_crashlog_header_t; |