linux/drivers/platform/x86/intel/speed_select_if
Srinivas Pandruvada 07510a59b3
platform/x86: ISST: Ignore minor version change
The hardware definition of every TPMI feature contains a major and minor
version. When there is a change in the MMIO offset or change in the
definition of a field, hardware will change major version. For addition
of new fields without modifying existing MMIO offsets or fields, only the
minor version is changed.

Driver is developed to support SST functionality for a major and minor
version. If the hardware changes major version, since offsets and
definitions are changed, driver cannot continue to provide SST interface
to users. Driver can still function with a minor version change as it will
just miss the new functionality added by the hardware. The current
implementation doesn't ignore any version change.

If there is mismatch with the minor version, continue with an information
log message. If there is mismatch with the major version, log error and
exit.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://lore.kernel.org/r/20231003184916.1860084-3-srinivas.pandruvada@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
2023-10-04 11:12:13 +03:00
..
isst_if_common.c Perf events changes for v6.6: 2023-08-28 16:35:01 -07:00
isst_if_common.h platform/x86: ISST: Add API version of the target 2023-03-07 12:08:30 +01:00
isst_if_mbox_msr.c
isst_if_mbox_pci.c
isst_if_mmio.c platform/x86: intel_speed_select_if: Use devm_ioremap_resource 2023-10-04 11:10:31 +03:00
isst_tpmi_core.c platform/x86: ISST: Ignore minor version change 2023-10-04 11:12:13 +03:00
isst_tpmi_core.h platform/x86: ISST: Add suspend/resume callbacks 2023-03-16 15:18:02 +01:00
isst_tpmi.c platform/x86: ISST: Add suspend/resume callbacks 2023-03-16 15:18:02 +01:00
Kconfig platform/x86: ISST: Enumerate TPMI SST and create framework 2023-03-16 15:18:02 +01:00
Makefile platform/x86: ISST: Enumerate TPMI SST and create framework 2023-03-16 15:18:02 +01:00