Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

platform/x86/amd/hsmp: Use a single DRIVER_VERSION for all hsmp modules

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>

authored by

Suma Hegde and committed by
Ilpo Järvinen
cf8dea42 593ee93a

+2 -4
-1
drivers/platform/x86/amd/hsmp/acpi.c
··· 28 28 #include "hsmp.h" 29 29 30 30 #define DRIVER_NAME "hsmp_acpi" 31 - #define DRIVER_VERSION "2.3" 32 31 33 32 /* These are the strings specified in ACPI table */ 34 33 #define MSG_IDOFF_STR "MsgIdOffset"
-2
drivers/platform/x86/amd/hsmp/hsmp.c
··· 32 32 #define HSMP_WR true 33 33 #define HSMP_RD false 34 34 35 - #define DRIVER_VERSION "2.4" 36 - 37 35 /* 38 36 * When same message numbers are used for both GET and SET operation, 39 37 * bit:31 indicates whether its SET or GET operation.
+2
drivers/platform/x86/amd/hsmp/hsmp.h
··· 25 25 #define HSMP_DEVNODE_NAME "hsmp" 26 26 #define ACPI_HSMP_DEVICE_HID "AMDI0097" 27 27 28 + #define DRIVER_VERSION "2.4" 29 + 28 30 struct hsmp_mbaddr_info { 29 31 u32 base_addr; 30 32 u32 msg_id_off;
-1
drivers/platform/x86/amd/hsmp/plat.c
··· 24 24 #include "hsmp.h" 25 25 26 26 #define DRIVER_NAME "amd_hsmp" 27 - #define DRIVER_VERSION "2.3" 28 27 29 28 /* 30 29 * To access specific HSMP mailbox register, s/w writes the SMN address of HSMP mailbox