Commit bc774d46 authored by Srinivas Pandruvada's avatar Srinivas Pandruvada Committed by Ilpo Järvinen

platform/x86/intel-uncore-freq: Increase minor number support

No new changes will be added for minor version 2. Change the minor
version number to 2 and stop displaying log message for unsupported
minor version 2.
Signed-off-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://lore.kernel.org/r/20240415220625.2828339-1-srinivas.pandruvada@linux.intel.comReviewed-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
parent d8c2d38c
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include "uncore-frequency-common.h" #include "uncore-frequency-common.h"
#define UNCORE_MAJOR_VERSION 0 #define UNCORE_MAJOR_VERSION 0
#define UNCORE_MINOR_VERSION 1 #define UNCORE_MINOR_VERSION 2
#define UNCORE_HEADER_INDEX 0 #define UNCORE_HEADER_INDEX 0
#define UNCORE_FABRIC_CLUSTER_OFFSET 8 #define UNCORE_FABRIC_CLUSTER_OFFSET 8
...@@ -329,7 +329,7 @@ static int uncore_probe(struct auxiliary_device *auxdev, const struct auxiliary_ ...@@ -329,7 +329,7 @@ static int uncore_probe(struct auxiliary_device *auxdev, const struct auxiliary_
goto remove_clusters; goto remove_clusters;
} }
if (TPMI_MINOR_VERSION(pd_info->ufs_header_ver) != UNCORE_MINOR_VERSION) if (TPMI_MINOR_VERSION(pd_info->ufs_header_ver) > UNCORE_MINOR_VERSION)
dev_info(&auxdev->dev, "Uncore: Ignore: Unsupported minor version:%lx\n", dev_info(&auxdev->dev, "Uncore: Ignore: Unsupported minor version:%lx\n",
TPMI_MINOR_VERSION(pd_info->ufs_header_ver)); TPMI_MINOR_VERSION(pd_info->ufs_header_ver));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment