diff options
| author | David E. Box <david.e.box@linux.intel.com> | 2026-06-13 00:01:43 +0300 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-06-15 02:12:54 +0300 |
| commit | b3de79d932bdcee4b2b9c8f9a058516699cf1c50 (patch) | |
| tree | 4a9ca4f2b0b55e040447615e5a098dc3dc2af141 /scripts | |
| parent | acd3b94f8604aeee2b62f8fd18e95a0474546288 (diff) | |
| download | linux-b3de79d932bdcee4b2b9c8f9a058516699cf1c50.tar.xz | |
platform/x86/intel/pmt/crashlog: Split init into pre-decode
Refactor crashlog initialization to use the PMT namespace pre-decode hook:
- Add pmt_crashlog_pre_decode() to parse type/version, select the
crashlog_info, initialize the control mutex, and set entry->attr_grp.
- Simplify pmt_crashlog_header_decode() to only read header fields from
the discovery table.
- Wire the namespace with .pmt_pre_decode = pmt_crashlog_pre_decode.
This separates structural initialization from header parsing, aligning
crashlog with the PMT class pre/post decode flow.
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://patch.msgid.link/ed8cda8456c97132cf2d2b4ff6a5cffb1ce3a666.1781294741.git.david.e.box@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
