diff options
author | Pratikkumar Prajapati <pratikkumar.v.prajapati@intel.com> | 2023-07-31 15:44:16 -0700 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-09-01 21:19:55 +0000 |
commit | b757facac292b11f32a5ecdb8ce58eb60d1a555f (patch) | |
tree | 5d1731062d232a0961bd51772e7c2a825ea411ea /src/soc/intel/common | |
parent | 6cba9769897dd75086e3304550cb4e4b8167b8d3 (diff) |
soc/intel/common: Add metadata tag definition for crashlog
When parsing descriptor table the record can have tag type = 7.
This tag contains metadata depending on SOC. The platform may
choose to parse it based on implementation of crashlog.
BUG=b:262501347
TEST=Able to build google/rex.
Change-Id: I60dda06950974f7949fa5635141e4b7798c4d1f2
Signed-off-by: Pratikkumar Prajapati <pratikkumar.v.prajapati@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76833
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/soc/intel/common')
-rw-r--r-- | src/soc/intel/common/block/include/intelblocks/crashlog.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/include/intelblocks/crashlog.h b/src/soc/intel/common/block/include/intelblocks/crashlog.h index 91e8edd5a3..ceaa9f1409 100644 --- a/src/soc/intel/common/block/include/intelblocks/crashlog.h +++ b/src/soc/intel/common/block/include/intelblocks/crashlog.h @@ -25,9 +25,18 @@ #define INVALID_CRASHLOG_RECORD 0xdeadbeef -/* Tag field definitions */ +/* + * Tag field definitions. + * Each region pointed by the descriptor table contains TAG information. This TAG information + * is used to identify the type of SRAM the region belongs to, for example: + * - TAG 0 represents the SoC PMC region + * - TAG 1 represents the IOE PMC region + * - TAG 7 represents a special case aka metadata information. This metadata information can be + * SoC specific too. + */ #define CRASHLOG_DESCRIPTOR_TABLE_TAG_SOC 0x0 #define CRASHLOG_DESCRIPTOR_TABLE_TAG_IOE 0x1 +#define CRASHLOG_DESCRIPTOR_TABLE_TAG_META 0x7 /* PMC crashlog discovery structs */ typedef union { |