Re: [PATCH] ACPI: tools: pfrut: Print the update_cap field during capability query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 26, 2024 at 11:50 AM Chen Yu <yu.c.chen@xxxxxxxxx> 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@xxxxxxxxx>
> ---
>  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!





[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux