Linux 6.7-rc7
[linux-modified.git] / tools / power / acpi / man / pfrut.8
1 .TH "PFRUT" "8" "October 2021" "pfrut 1.0" ""
2 .hy
3 .SH Name
4 .PP
5 pfrut \- Platform Firmware Runtime Update and Telemetry tool
6 .SH SYNOPSIS
7 .PP
8 \f[B]pfrut\f[R] [\f[I]Options\f[R]]
9 .SH DESCRIPTION
10 .PP
11 The PFRUT(Platform Firmware Runtime Update and Telemetry) kernel interface is designed
12 to
13 .PD 0
14 .P
15 .PD
16 interact with the platform firmware interface defined in the
17 .PD 0
18 .P
19 .PD
20 Management Mode Firmware Runtime
21 Update (https://uefi.org/sites/default/files/resources/Intel_MM_OS_Interface_Spec_Rev100.pdf)
22 .PD 0
23 .P
24 .PD
25 \f[B]pfrut\f[R] is the tool to interact with the kernel interface.
26 .PD 0
27 .P
28 .PD
29 .SH OPTIONS
30 .TP
31 .B \f[B]\-h\f[R], \f[B]\-\-help\f[R]
32 Display helper information.
33 .TP
34 .B \f[B]\-l\f[R], \f[B]\-\-load\f[R]
35 Load the capsule file into the system.
36 To be more specific, the capsule file will be copied to the
37 communication buffer.
38 .TP
39 .B \f[B]\-s\f[R], \f[B]\-\-stage\f[R]
40 Stage the capsule image from communication buffer into Management Mode
41 and perform authentication.
42 .TP
43 .B \f[B]\-a\f[R], \f[B]\-\-activate\f[R]
44 Activate a previous staged capsule image.
45 .TP
46 .B \f[B]\-u\f[R], \f[B]\-\-update\f[R]
47 Perform both stage and activation actions.
48 .TP
49 .B \f[B]\-q\f[R], \f[B]\-\-query\f[R]
50 Query the update capability.
51 .TP
52 .B \f[B]\-d\f[R], \f[B]\-\-setrev\f[R]
53 Set the revision ID of code injection/driver update.
54 .TP
55 .B \f[B]\-D\f[R], \f[B]\-\-setrevlog\f[R]
56 Set the revision ID of telemetry.
57 .TP
58 .B \f[B]\-G\f[R], \f[B]\-\-getloginfo\f[R]
59 Get telemetry log information and print it out.
60 .TP
61 .B \f[B]\-T\f[R], \f[B]\-\-type\f[R]
62 Set the telemetry log data type.
63 .TP
64 .B \f[B]\-L\f[R], \f[B]\-\-level\f[R]
65 Set the telemetry log level.
66 .TP
67 .B \f[B]\-R\f[R], \f[B]\-\-read\f[R]
68 Read all the telemetry data and print it out.
69 .SH EXAMPLES
70 .PP
71 \f[B]pfrut \-G\f[R]
72 .PP
73 log_level:4
74 .PD 0
75 .P
76 .PD
77 log_type:0
78 .PD 0
79 .P
80 .PD
81 log_revid:2
82 .PD 0
83 .P
84 .PD
85 max_data_size:65536
86 .PD 0
87 .P
88 .PD
89 chunk1_size:0
90 .PD 0
91 .P
92 .PD
93 chunk2_size:1401
94 .PD 0
95 .P
96 .PD
97 rollover_cnt:0
98 .PD 0
99 .P
100 .PD
101 reset_cnt:4
102 .PP
103 \f[B]pfru \-q\f[R]
104 .PP
105 code injection image type:794bf8b2\-6e7b\-454e\-885f\-3fb9bb185402
106 .PD 0
107 .P
108 .PD
109 fw_version:0
110 .PD 0
111 .P
112 .PD
113 code_rt_version:1
114 .PD 0
115 .P
116 .PD
117 driver update image type:0e5f0b14\-f849\-7945\-ad81\-bc7b6d2bb245
118 .PD 0
119 .P
120 .PD
121 drv_rt_version:0
122 .PD 0
123 .P
124 .PD
125 drv_svn:0
126 .PD 0
127 .P
128 .PD
129 platform id:39214663\-b1a8\-4eaa\-9024\-f2bb53ea4723
130 .PD 0
131 .P
132 .PD
133 oem id:a36db54f\-ea2a\-e14e\-b7c4\-b5780e51ba3d
134 .PP
135 \f[B]pfrut \-l yours.cap \-u \-T 1 \-L 4\f[R]
136 .SH AUTHORS
137 Chen Yu.