Unverified Commit cf8dea42 authored by Suma Hegde's avatar Suma Hegde Committed by Ilpo Järvinen
Browse files

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: default avatarSuma Hegde <suma.hegde@amd.com>
Reviewed-by: default avatarNaveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Link: https://lore.kernel.org/r/20250506101542.200811-1-suma.hegde@amd.com


Reviewed-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
parent 593ee93a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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"
+0 −2
Original line number Diff line number Diff line
@@ -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.
+2 −0
Original line number Diff line number Diff line
@@ -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;
+0 −1
Original line number Diff line number Diff line
@@ -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