]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/x86/intel/pmt: use a version struct
authorMichael J. Ruhl <michael.j.ruhl@intel.com>
Sun, 13 Jul 2025 17:29:42 +0000 (13:29 -0400)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 22 Jul 2025 14:39:10 +0000 (17:39 +0300)
commit5623fa6859a6cd49366421317e3c5ab183583624
treea3a282f97a7d5146d6903e255a198dc5e40df27f
parent66df9fa783aadc2a5ae8ca11ead0b13032d24e7e
platform/x86/intel/pmt: use a version struct

In preparation for supporting multiple crashlog versions, use a struct
to keep bit offset info for the status and control bits.

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Link: https://lore.kernel.org/r/20250713172943.7335-13-michael.j.ruhl@intel.com
[ij: move crashlog_type1_ver0 to its final place & add consts to crashlog_info]
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/intel/pmt/crashlog.c