ACPI: tools: pfrut: Print the update_cap field during capability query
authorChen Yu <yu.c.chen@intel.com>
Fri, 26 Apr 2024 09:48:50 +0000 (17:48 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 26 Apr 2024 17:27:34 +0000 (19:27 +0200)
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>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
tools/power/acpi/tools/pfrut/pfrut.c

index 388c9e3ad0407b8b536dc69ffc6ea91d0ddd27f6..44a9ecbd91e88376d900943a4751ca528f97d5bc 100644 (file)
@@ -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);