Skip to contentSkip to conversation

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

PATCH In review Srinivas Pandruvada 2 participants 2 messages Apr 15, 2024 – Apr 16, 2024

Subsystems (2)
lore
Share & tools
lore

Srinivas Pandruvada

author maintainer
#0 lore raw

PATCH 1/1 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.

---
 .../x86/intel/uncore-frequency/uncore-frequency-tpmi.c        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/platform/x86/intel/uncore-frequency/uncore-frequency-tpmi.c +2 -2
index 587437211d72..bb8e72deb354 100644
@@ -29,7 +29,7 @@
 #include "uncore-frequency-common.h"
 
 #define	UNCORE_MAJOR_VERSION		0
-#define	UNCORE_MINOR_VERSION		1
+#define	UNCORE_MINOR_VERSION		2
 #define UNCORE_HEADER_INDEX		0
 #define UNCORE_FABRIC_CLUSTER_OFFSET	8
 
@@ -330,7 +330,7 @@ static int uncore_probe(struct auxiliary_device *auxdev, const struct auxiliary_
 			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",
 				 TPMI_MINOR_VERSION(pd_info->ufs_header_ver));
 
Signature · 1 line
2.40.1
maintainer
#1 lore raw
Quoted 5 lines · Srinivas Pandruvada

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.

Thank you for your contribution, it has been applied to my local review-ilpo branch. Note it will show up in the public platform-drivers-x86/review-ilpo branch only once I've pushed my local branch there, which might take a while.

The list of commits applied:
[1/1] platform/x86/intel-uncore-freq: Increase minor number support

      commit: bc774d46b41482534c7ba92f6342ca0a355c13af

--
i.