platform/x86/amd/hsmp: Use a single DRIVER_VERSION for all hsmp modules
authorSuma Hegde <suma.hegde@amd.com>
Tue, 6 May 2025 10:15:40 +0000 (10:15 +0000)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Sun, 11 May 2025 21:35:45 +0000 (00:35 +0300)
Use a single DRIVER_VERSION for the plat, hsmp and acpi modules,
as all these modules are connected to a common functionality.

Signed-off-by: Suma Hegde <suma.hegde@amd.com>
Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Link: https://lore.kernel.org/r/20250506101542.200811-1-suma.hegde@amd.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/amd/hsmp/acpi.c
drivers/platform/x86/amd/hsmp/hsmp.c
drivers/platform/x86/amd/hsmp/hsmp.h
drivers/platform/x86/amd/hsmp/plat.c

index eaae044..12f4950 100644 (file)
@@ -28,7 +28,6 @@
 #include "hsmp.h"
 
 #define DRIVER_NAME            "hsmp_acpi"
-#define DRIVER_VERSION         "2.3"
 
 /* These are the strings specified in ACPI table */
 #define MSG_IDOFF_STR          "MsgIdOffset"
index a3ac09a..3df34d7 100644 (file)
@@ -32,8 +32,6 @@
 #define HSMP_WR                        true
 #define HSMP_RD                        false
 
-#define DRIVER_VERSION         "2.4"
-
 /*
  * When same message numbers are used for both GET and SET operation,
  * bit:31 indicates whether its SET or GET operation.
index d58d4f0..7877cb9 100644 (file)
@@ -25,6 +25,8 @@
 #define HSMP_DEVNODE_NAME      "hsmp"
 #define ACPI_HSMP_DEVICE_HID    "AMDI0097"
 
+#define DRIVER_VERSION         "2.4"
+
 struct hsmp_mbaddr_info {
        u32 base_addr;
        u32 msg_id_off;
index 81931e8..4f03fdf 100644 (file)
@@ -24,7 +24,6 @@
 #include "hsmp.h"
 
 #define DRIVER_NAME            "amd_hsmp"
-#define DRIVER_VERSION         "2.3"
 
 /*
  * To access specific HSMP mailbox register, s/w writes the SMN address of HSMP mailbox