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>
This commit is contained in:
Pratikkumar Prajapati 2023-08-30 10:18:51 -07:00 committed by Subrata Banik
parent 0f56f83760
commit 71e3932c0b
1 changed files with 11 additions and 5 deletions

View File

@ -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;