X86 platform drivers
 help / color / mirror / Atom feed
From: Suma Hegde <Suma.Hegde@amd.com>
To: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: platform-driver-x86@vger.kernel.org,
	Hans de Goede <hdegoede@redhat.com>,
	Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Subject: Re: [v4 1/3] platform/x86/amd/hsmp: Use a single DRIVER_VERSION for all hsmp modules
Date: Sun, 11 May 2025 21:52:27 +0530	[thread overview]
Message-ID: <3984e564-3f62-4f20-978e-4eb6b21dda1b@amd.com> (raw)
In-Reply-To: <0f6fcfc6-f79f-e5fc-fa3e-6a6b6a5956c8@linux.intel.com>

Hi Ilpo,


On 5/8/2025 8:04 PM, Ilpo Järvinen wrote:
> Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
>
>
> On Tue, 6 May 2025, Suma Hegde wrote:
>
>> 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>
>> ---
>> Changes since v3:
>> None
>>
>> This patch is rebased on https://lore.kernel.org/platform-driver-x86/20250425102357.266790-1-suma.hegde@amd.com/T/#u
>>
>> Changes since v2:
>> Update the commit message and description
>>
>> Changes since v1:
>> None
>>
>>   drivers/platform/x86/amd/hsmp/acpi.c | 1 -
>>   drivers/platform/x86/amd/hsmp/hsmp.c | 2 --
>>   drivers/platform/x86/amd/hsmp/hsmp.h | 2 ++
>>   drivers/platform/x86/amd/hsmp/plat.c | 1 -
>>   4 files changed, 2 insertions(+), 4 deletions(-)
>>
>> diff --git a/drivers/platform/x86/amd/hsmp/acpi.c b/drivers/platform/x86/amd/hsmp/acpi.c
>> index eaae044e4f82..12f4950afcd9 100644
>> --- a/drivers/platform/x86/amd/hsmp/acpi.c
>> +++ b/drivers/platform/x86/amd/hsmp/acpi.c
>> @@ -28,7 +28,6 @@
>>   #include "hsmp.h"
>>
>>   #define DRIVER_NAME          "hsmp_acpi"
>> -#define DRIVER_VERSION               "2.3"
> This fails to apply on top of the review-ilpo-next branch, I've no idea on
> what commit this is based on. Could you please rebase and check if the
> entire series is fine wrt. the changes what this is based on vs what's in
> the review-ilpo-next branch.


This patch series is re based on 
https://lore.kernel.org/platform-driver-x86/20250425102357.266790-1-suma.hegde@amd.com/T/#u 
(I added this as part of changelog)

I rechecked by applying this series on review-ilpo-next + the above 
patch. It applies clean.

Could you please take the above mentioned dependent patch and apply this 
series?


Thanks and Regards,

Suma

> --
>   i.
>
>>   /* These are the strings specified in ACPI table */
>>   #define MSG_IDOFF_STR                "MsgIdOffset"
>> diff --git a/drivers/platform/x86/amd/hsmp/hsmp.c b/drivers/platform/x86/amd/hsmp/hsmp.c
>> index a3ac09a90de4..3df34d7436a9 100644
>> --- a/drivers/platform/x86/amd/hsmp/hsmp.c
>> +++ b/drivers/platform/x86/amd/hsmp/hsmp.c
>> @@ -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.
>> diff --git a/drivers/platform/x86/amd/hsmp/hsmp.h b/drivers/platform/x86/amd/hsmp/hsmp.h
>> index d58d4f0c20d5..7877cb97993b 100644
>> --- a/drivers/platform/x86/amd/hsmp/hsmp.h
>> +++ b/drivers/platform/x86/amd/hsmp/hsmp.h
>> @@ -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;
>> diff --git a/drivers/platform/x86/amd/hsmp/plat.c b/drivers/platform/x86/amd/hsmp/plat.c
>> index 81931e808bbc..4f03fdf988c1 100644
>> --- a/drivers/platform/x86/amd/hsmp/plat.c
>> +++ b/drivers/platform/x86/amd/hsmp/plat.c
>> @@ -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
>>

  reply	other threads:[~2025-05-11 16:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-06 10:15 [v4 1/3] platform/x86/amd/hsmp: Use a single DRIVER_VERSION for all hsmp modules Suma Hegde
2025-05-06 10:15 ` [v4 2/3] platform/x86/amd/hsmp: Report power via hwmon sensors Suma Hegde
2025-05-06 10:15 ` [v4 3/3] platform/x86/amd/hsmp: acpi: Add sysfs files to display HSMP telemetry Suma Hegde
2025-05-06 11:03   ` Ilpo Järvinen
2025-05-08 14:34 ` [v4 1/3] platform/x86/amd/hsmp: Use a single DRIVER_VERSION for all hsmp modules Ilpo Järvinen
2025-05-11 16:22   ` Suma Hegde [this message]
2025-05-11 20:29     ` Ilpo Järvinen
2025-05-11 21:45 ` Ilpo Järvinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3984e564-3f62-4f20-978e-4eb6b21dda1b@amd.com \
    --to=suma.hegde@amd.com \
    --cc=hdegoede@redhat.com \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=naveenkrishna.chatradhi@amd.com \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox