Skip to content

Commit bc774d4

Browse files
spandruvadaij-intel
authored andcommitted
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: Srinivas Pandruvada <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
1 parent d8c2d38 commit bc774d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/platform/x86/intel/uncore-frequency/uncore-frequency-tpmi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#include "uncore-frequency-common.h"
3030

3131
#define UNCORE_MAJOR_VERSION 0
32-
#define UNCORE_MINOR_VERSION 1
32+
#define UNCORE_MINOR_VERSION 2
3333
#define UNCORE_HEADER_INDEX 0
3434
#define UNCORE_FABRIC_CLUSTER_OFFSET 8
3535

@@ -329,7 +329,7 @@ static int uncore_probe(struct auxiliary_device *auxdev, const struct auxiliary_
329329
goto remove_clusters;
330330
}
331331

332-
if (TPMI_MINOR_VERSION(pd_info->ufs_header_ver) != UNCORE_MINOR_VERSION)
332+
if (TPMI_MINOR_VERSION(pd_info->ufs_header_ver) > UNCORE_MINOR_VERSION)
333333
dev_info(&auxdev->dev, "Uncore: Ignore: Unsupported minor version:%lx\n",
334334
TPMI_MINOR_VERSION(pd_info->ufs_header_ver));
335335

0 commit comments

Comments
 (0)