Skip to content

Commit e50c985

Browse files
committed
platform/x86/amd/hsmp: Use a single DRIVER_VERSION for all hsmp modules
JIRA: https://issues.redhat.com/browse/RHEL-102859 commit cf8dea4 Author: Suma Hegde <suma.hegde@amd.com> Date: Tue May 6 10:15:40 2025 +0000 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> Signed-off-by: David Arcari <darcari@redhat.com>
1 parent ff2dfcc commit e50c985

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

drivers/platform/x86/amd/hsmp/acpi.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include "hsmp.h"
2929

3030
#define DRIVER_NAME "hsmp_acpi"
31-
#define DRIVER_VERSION "2.3"
3231

3332
/* These are the strings specified in ACPI table */
3433
#define MSG_IDOFF_STR "MsgIdOffset"

drivers/platform/x86/amd/hsmp/hsmp.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@
3232
#define HSMP_WR true
3333
#define HSMP_RD false
3434

35-
#define DRIVER_VERSION "2.4"
36-
3735
/*
3836
* When same message numbers are used for both GET and SET operation,
3937
* bit:31 indicates whether its SET or GET operation.

drivers/platform/x86/amd/hsmp/hsmp.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
#define HSMP_DEVNODE_NAME "hsmp"
2626
#define ACPI_HSMP_DEVICE_HID "AMDI0097"
2727

28+
#define DRIVER_VERSION "2.4"
29+
2830
struct hsmp_mbaddr_info {
2931
u32 base_addr;
3032
u32 msg_id_off;

drivers/platform/x86/amd/hsmp/plat.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#include "hsmp.h"
2525

2626
#define DRIVER_NAME "amd_hsmp"
27-
#define DRIVER_VERSION "2.3"
2827

2928
/*
3029
* To access specific HSMP mailbox register, s/w writes the SMN address of HSMP mailbox

0 commit comments

Comments
 (0)