* [PATCH] ACPI: tools: pfrut: Print the update_cap field during capability query
@ 2024-04-26 9:48 Chen Yu
2024-04-26 17:29 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Chen Yu @ 2024-04-26 9:48 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: linux-acpi, acpica-devel, linux-kernel, Chen Yu
There is request from the end user to print this field to better
query what type of update capability is supported on this platform.
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
---
tools/power/acpi/tools/pfrut/pfrut.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/power/acpi/tools/pfrut/pfrut.c b/tools/power/acpi/tools/pfrut/pfrut.c
index 388c9e3ad040..44a9ecbd91e8 100644
--- a/tools/power/acpi/tools/pfrut/pfrut.c
+++ b/tools/power/acpi/tools/pfrut/pfrut.c
@@ -174,6 +174,8 @@ void print_cap(struct pfru_update_cap_info *cap)
exit(1);
}
+ printf("update capability:%d\n", cap->update_cap);
+
uuid_unparse(cap->code_type, uuid);
printf("code injection image type:%s\n", uuid);
printf("fw_version:%d\n", cap->fw_version);
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ACPI: tools: pfrut: Print the update_cap field during capability query
2024-04-26 9:48 [PATCH] ACPI: tools: pfrut: Print the update_cap field during capability query Chen Yu
@ 2024-04-26 17:29 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2024-04-26 17:29 UTC (permalink / raw)
To: Chen Yu; +Cc: Rafael J. Wysocki, linux-acpi, acpica-devel, linux-kernel
On Fri, Apr 26, 2024 at 11:50 AM Chen Yu <yu.c.chen@intel.com> wrote:
>
> There is request from the end user to print this field to better
> query what type of update capability is supported on this platform.
>
> Signed-off-by: Chen Yu <yu.c.chen@intel.com>
> ---
> tools/power/acpi/tools/pfrut/pfrut.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tools/power/acpi/tools/pfrut/pfrut.c b/tools/power/acpi/tools/pfrut/pfrut.c
> index 388c9e3ad040..44a9ecbd91e8 100644
> --- a/tools/power/acpi/tools/pfrut/pfrut.c
> +++ b/tools/power/acpi/tools/pfrut/pfrut.c
> @@ -174,6 +174,8 @@ void print_cap(struct pfru_update_cap_info *cap)
> exit(1);
> }
>
> + printf("update capability:%d\n", cap->update_cap);
> +
> uuid_unparse(cap->code_type, uuid);
> printf("code injection image type:%s\n", uuid);
> printf("fw_version:%d\n", cap->fw_version);
> --
Applied as 6.10 material, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-26 17:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-26 9:48 [PATCH] ACPI: tools: pfrut: Print the update_cap field during capability query Chen Yu
2024-04-26 17:29 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox