]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
platform/x86: ISST: Update minor version
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Tue, 6 May 2025 16:35:31 +0000 (09:35 -0700)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 8 May 2025 13:04:08 +0000 (16:04 +0300)
Update SST minor version after supporting SST-PP and SST-TF version 2.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://lore.kernel.org/r/20250506163531.1061185-4-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>
drivers/platform/x86/intel/speed_select_if/isst_tpmi_core.c

index f56bb63f7947b432ec71377b3e2d07f852dda403..f08d78536839c1543bb42fdbd171072f48946645 100644 (file)
@@ -34,7 +34,7 @@
 
 /* Supported SST hardware version by this driver */
 #define ISST_MAJOR_VERSION     0
-#define ISST_MINOR_VERSION     1
+#define ISST_MINOR_VERSION     2
 
 /*
  * Used to indicate if value read from MMIO needs to get multiplied
@@ -380,7 +380,7 @@ static int sst_main(struct auxiliary_device *auxdev, struct tpmi_per_power_domai
                return -ENODEV;
        }
 
-       if (TPMI_MINOR_VERSION(pd_info->sst_header.interface_version) != ISST_MINOR_VERSION)
+       if (TPMI_MINOR_VERSION(pd_info->sst_header.interface_version) > ISST_MINOR_VERSION)
                dev_info(dev, "SST: Ignore: Unsupported minor version:%lx\n",
                         TPMI_MINOR_VERSION(pd_info->sst_header.interface_version));