Skip to content

Commit dbff364

Browse files
jones-drewPaul Walmsley
authored andcommitted
riscv: hwprobe.rst: Make indentation consistent
A handful of vendor-extension entries indent continuation lines with a tab character, while the rest of hwprobe.rst uses spaces. In addition, many list items align their continuation lines under the 'm' of ':c:macro:' (column 7) rather than under the item text (column 4), so the file mixes several indentation styles. Replace the tabs with spaces and align every list item's continuation lines under the item text, giving the whole file one consistent style. Whitespace-only change, no functional change. [Guodong: extend from tabs->spaces to normalizing all continuation-line indentation across the file] Signed-off-by: Andrew Jones <andrew.jones@oss.qualcomm.com> Signed-off-by: Guodong Xu <docular.xu@gmail.com> Link: https://patch.msgid.link/20260701-rva23u64-hwprobe-v2-v5-2-2c61f94a695a@gmail.com Signed-off-by: Paul Walmsley <pjw@kernel.org>
1 parent e0776dd commit dbff364

1 file changed

Lines changed: 97 additions & 97 deletions

File tree

Documentation/arch/riscv/hwprobe.rst

Lines changed: 97 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -82,121 +82,121 @@ The following keys are defined:
8282
version 1.0 of the RISC-V Vector extension manual.
8383

8484
* :c:macro:`RISCV_HWPROBE_EXT_ZBA`: The Zba address generation extension is
85-
supported, as defined in version 1.0 of the Bit-Manipulation ISA
86-
extensions.
85+
supported, as defined in version 1.0 of the Bit-Manipulation ISA
86+
extensions.
8787

8888
* :c:macro:`RISCV_HWPROBE_EXT_ZBB`: The Zbb extension is supported, as defined
89-
in version 1.0 of the Bit-Manipulation ISA extensions.
89+
in version 1.0 of the Bit-Manipulation ISA extensions.
9090

9191
* :c:macro:`RISCV_HWPROBE_EXT_ZBS`: The Zbs extension is supported, as defined
92-
in version 1.0 of the Bit-Manipulation ISA extensions.
92+
in version 1.0 of the Bit-Manipulation ISA extensions.
9393

9494
* :c:macro:`RISCV_HWPROBE_EXT_ZICBOZ`: The Zicboz extension is supported, as
95-
ratified in commit 3dd606f ("Create cmobase-v1.0.pdf") of riscv-CMOs.
95+
ratified in commit 3dd606f ("Create cmobase-v1.0.pdf") of riscv-CMOs.
9696

9797
* :c:macro:`RISCV_HWPROBE_EXT_ZBC` The Zbc extension is supported, as defined
98-
in version 1.0 of the Bit-Manipulation ISA extensions.
98+
in version 1.0 of the Bit-Manipulation ISA extensions.
9999

100100
* :c:macro:`RISCV_HWPROBE_EXT_ZBKB` The Zbkb extension is supported, as
101-
defined in version 1.0 of the Scalar Crypto ISA extensions.
101+
defined in version 1.0 of the Scalar Crypto ISA extensions.
102102

103103
* :c:macro:`RISCV_HWPROBE_EXT_ZBKC` The Zbkc extension is supported, as
104-
defined in version 1.0 of the Scalar Crypto ISA extensions.
104+
defined in version 1.0 of the Scalar Crypto ISA extensions.
105105

106106
* :c:macro:`RISCV_HWPROBE_EXT_ZBKX` The Zbkx extension is supported, as
107-
defined in version 1.0 of the Scalar Crypto ISA extensions.
107+
defined in version 1.0 of the Scalar Crypto ISA extensions.
108108

109109
* :c:macro:`RISCV_HWPROBE_EXT_ZKND` The Zknd extension is supported, as
110-
defined in version 1.0 of the Scalar Crypto ISA extensions.
110+
defined in version 1.0 of the Scalar Crypto ISA extensions.
111111

112112
* :c:macro:`RISCV_HWPROBE_EXT_ZKNE` The Zkne extension is supported, as
113-
defined in version 1.0 of the Scalar Crypto ISA extensions.
113+
defined in version 1.0 of the Scalar Crypto ISA extensions.
114114

115115
* :c:macro:`RISCV_HWPROBE_EXT_ZKNH` The Zknh extension is supported, as
116-
defined in version 1.0 of the Scalar Crypto ISA extensions.
116+
defined in version 1.0 of the Scalar Crypto ISA extensions.
117117

118118
* :c:macro:`RISCV_HWPROBE_EXT_ZKSED` The Zksed extension is supported, as
119-
defined in version 1.0 of the Scalar Crypto ISA extensions.
119+
defined in version 1.0 of the Scalar Crypto ISA extensions.
120120

121121
* :c:macro:`RISCV_HWPROBE_EXT_ZKSH` The Zksh extension is supported, as
122-
defined in version 1.0 of the Scalar Crypto ISA extensions.
122+
defined in version 1.0 of the Scalar Crypto ISA extensions.
123123

124124
* :c:macro:`RISCV_HWPROBE_EXT_ZKT` The Zkt extension is supported, as defined
125-
in version 1.0 of the Scalar Crypto ISA extensions.
125+
in version 1.0 of the Scalar Crypto ISA extensions.
126126

127127
* :c:macro:`RISCV_HWPROBE_EXT_ZVBB`: The Zvbb extension is supported as
128-
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.
128+
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.
129129

130130
* :c:macro:`RISCV_HWPROBE_EXT_ZVBC`: The Zvbc extension is supported as
131-
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.
131+
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.
132132

133133
* :c:macro:`RISCV_HWPROBE_EXT_ZVKB`: The Zvkb extension is supported as
134-
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.
134+
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.
135135

136136
* :c:macro:`RISCV_HWPROBE_EXT_ZVKG`: The Zvkg extension is supported as
137-
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.
137+
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.
138138

139139
* :c:macro:`RISCV_HWPROBE_EXT_ZVKNED`: The Zvkned extension is supported as
140-
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.
140+
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.
141141

142142
* :c:macro:`RISCV_HWPROBE_EXT_ZVKNHA`: The Zvknha extension is supported as
143-
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.
143+
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.
144144

145145
* :c:macro:`RISCV_HWPROBE_EXT_ZVKNHB`: The Zvknhb extension is supported as
146-
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.
146+
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.
147147

148148
* :c:macro:`RISCV_HWPROBE_EXT_ZVKSED`: The Zvksed extension is supported as
149-
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.
149+
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.
150150

151151
* :c:macro:`RISCV_HWPROBE_EXT_ZVKSH`: The Zvksh extension is supported as
152-
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.
152+
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.
153153

154154
* :c:macro:`RISCV_HWPROBE_EXT_ZVKT`: The Zvkt extension is supported as
155-
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.
155+
defined in version 1.0 of the RISC-V Cryptography Extensions Volume II.
156156

157157
* :c:macro:`RISCV_HWPROBE_EXT_ZFH`: The Zfh extension version 1.0 is supported
158-
as defined in the RISC-V ISA manual.
158+
as defined in the RISC-V ISA manual.
159159

160160
* :c:macro:`RISCV_HWPROBE_EXT_ZFHMIN`: The Zfhmin extension version 1.0 is
161-
supported as defined in the RISC-V ISA manual.
161+
supported as defined in the RISC-V ISA manual.
162162

163163
* :c:macro:`RISCV_HWPROBE_EXT_ZIHINTNTL`: The Zihintntl extension version 1.0
164-
is supported as defined in the RISC-V ISA manual.
164+
is supported as defined in the RISC-V ISA manual.
165165

166166
* :c:macro:`RISCV_HWPROBE_EXT_ZVFH`: The Zvfh extension is supported as
167-
defined in the RISC-V Vector manual starting from commit e2ccd0548d6c
168-
("Remove draft warnings from Zvfh[min]").
167+
defined in the RISC-V Vector manual starting from commit e2ccd0548d6c
168+
("Remove draft warnings from Zvfh[min]").
169169

170170
* :c:macro:`RISCV_HWPROBE_EXT_ZVFHMIN`: The Zvfhmin extension is supported as
171-
defined in the RISC-V Vector manual starting from commit e2ccd0548d6c
172-
("Remove draft warnings from Zvfh[min]").
171+
defined in the RISC-V Vector manual starting from commit e2ccd0548d6c
172+
("Remove draft warnings from Zvfh[min]").
173173

174174
* :c:macro:`RISCV_HWPROBE_EXT_ZFA`: The Zfa extension is supported as
175-
defined in the RISC-V ISA manual starting from commit 056b6ff467c7
176-
("Zfa is ratified").
175+
defined in the RISC-V ISA manual starting from commit 056b6ff467c7
176+
("Zfa is ratified").
177177

178178
* :c:macro:`RISCV_HWPROBE_EXT_ZTSO`: The Ztso extension is supported as
179-
defined in the RISC-V ISA manual starting from commit 5618fb5a216b
180-
("Ztso is now ratified.")
179+
defined in the RISC-V ISA manual starting from commit 5618fb5a216b
180+
("Ztso is now ratified.")
181181

182182
* :c:macro:`RISCV_HWPROBE_EXT_ZACAS`: The Zacas extension is supported as
183-
defined in the Atomic Compare-and-Swap (CAS) instructions manual starting
184-
from commit 5059e0ca641c ("update to ratified").
183+
defined in the Atomic Compare-and-Swap (CAS) instructions manual starting
184+
from commit 5059e0ca641c ("update to ratified").
185185

186186
* :c:macro:`RISCV_HWPROBE_EXT_ZICNTR`: The Zicntr extension version 2.0
187-
is supported as defined in the RISC-V ISA manual.
187+
is supported as defined in the RISC-V ISA manual.
188188

189189
* :c:macro:`RISCV_HWPROBE_EXT_ZICOND`: The Zicond extension is supported as
190-
defined in the RISC-V Integer Conditional (Zicond) operations extension
191-
manual starting from commit 95cf1f9 ("Add changes requested by Ved
192-
during signoff")
190+
defined in the RISC-V Integer Conditional (Zicond) operations extension
191+
manual starting from commit 95cf1f9 ("Add changes requested by Ved
192+
during signoff")
193193

194194
* :c:macro:`RISCV_HWPROBE_EXT_ZIHINTPAUSE`: The Zihintpause extension is
195-
supported as defined in the RISC-V ISA manual starting from commit
196-
d8ab5c78c207 ("Zihintpause is ratified").
195+
supported as defined in the RISC-V ISA manual starting from commit
196+
d8ab5c78c207 ("Zihintpause is ratified").
197197

198198
* :c:macro:`RISCV_HWPROBE_EXT_ZIHPM`: The Zihpm extension version 2.0
199-
is supported as defined in the RISC-V ISA manual.
199+
is supported as defined in the RISC-V ISA manual.
200200

201201
* :c:macro:`RISCV_HWPROBE_EXT_ZVE32X`: The Vector sub-extension Zve32x is
202202
supported, as defined by version 1.0 of the RISC-V Vector extension manual.
@@ -214,84 +214,84 @@ The following keys are defined:
214214
supported, as defined by version 1.0 of the RISC-V Vector extension manual.
215215

216216
* :c:macro:`RISCV_HWPROBE_EXT_ZIMOP`: The Zimop May-Be-Operations extension is
217-
supported as defined in the RISC-V ISA manual starting from commit
218-
58220614a5f ("Zimop is ratified/1.0").
217+
supported as defined in the RISC-V ISA manual starting from commit
218+
58220614a5f ("Zimop is ratified/1.0").
219219

220220
* :c:macro:`RISCV_HWPROBE_EXT_ZCA`: The Zca extension part of Zc* standard
221-
extensions for code size reduction, as ratified in commit 8be3419c1c0
222-
("Zcf doesn't exist on RV64 as it contains no instructions") of
223-
riscv-code-size-reduction.
221+
extensions for code size reduction, as ratified in commit 8be3419c1c0
222+
("Zcf doesn't exist on RV64 as it contains no instructions") of
223+
riscv-code-size-reduction.
224224

225225
* :c:macro:`RISCV_HWPROBE_EXT_ZCB`: The Zcb extension part of Zc* standard
226-
extensions for code size reduction, as ratified in commit 8be3419c1c0
227-
("Zcf doesn't exist on RV64 as it contains no instructions") of
228-
riscv-code-size-reduction.
226+
extensions for code size reduction, as ratified in commit 8be3419c1c0
227+
("Zcf doesn't exist on RV64 as it contains no instructions") of
228+
riscv-code-size-reduction.
229229

230230
* :c:macro:`RISCV_HWPROBE_EXT_ZCD`: The Zcd extension part of Zc* standard
231-
extensions for code size reduction, as ratified in commit 8be3419c1c0
232-
("Zcf doesn't exist on RV64 as it contains no instructions") of
233-
riscv-code-size-reduction.
231+
extensions for code size reduction, as ratified in commit 8be3419c1c0
232+
("Zcf doesn't exist on RV64 as it contains no instructions") of
233+
riscv-code-size-reduction.
234234

235235
* :c:macro:`RISCV_HWPROBE_EXT_ZCF`: The Zcf extension part of Zc* standard
236-
extensions for code size reduction, as ratified in commit 8be3419c1c0
237-
("Zcf doesn't exist on RV64 as it contains no instructions") of
238-
riscv-code-size-reduction.
236+
extensions for code size reduction, as ratified in commit 8be3419c1c0
237+
("Zcf doesn't exist on RV64 as it contains no instructions") of
238+
riscv-code-size-reduction.
239239

240240
* :c:macro:`RISCV_HWPROBE_EXT_ZCMOP`: The Zcmop May-Be-Operations extension is
241-
supported as defined in the RISC-V ISA manual starting from commit
242-
c732a4f39a4 ("Zcmop is ratified/1.0").
241+
supported as defined in the RISC-V ISA manual starting from commit
242+
c732a4f39a4 ("Zcmop is ratified/1.0").
243243

244244
* :c:macro:`RISCV_HWPROBE_EXT_ZAWRS`: The Zawrs extension is supported as
245-
ratified in commit 98918c844281 ("Merge pull request #1217 from
246-
riscv/zawrs") of riscv-isa-manual.
245+
ratified in commit 98918c844281 ("Merge pull request #1217 from
246+
riscv/zawrs") of riscv-isa-manual.
247247

248248
* :c:macro:`RISCV_HWPROBE_EXT_ZAAMO`: The Zaamo extension is supported as
249-
defined in the in the RISC-V ISA manual starting from commit e87412e621f1
250-
("integrate Zaamo and Zalrsc text (#1304)").
249+
defined in the in the RISC-V ISA manual starting from commit e87412e621f1
250+
("integrate Zaamo and Zalrsc text (#1304)").
251251

252252
* :c:macro:`RISCV_HWPROBE_EXT_ZALASR`: The Zalasr extension is supported as
253-
frozen at commit 194f0094 ("Version 0.9 for freeze") of riscv-zalasr.
253+
frozen at commit 194f0094 ("Version 0.9 for freeze") of riscv-zalasr.
254254

255255
* :c:macro:`RISCV_HWPROBE_EXT_ZALRSC`: The Zalrsc extension is supported as
256-
defined in the in the RISC-V ISA manual starting from commit e87412e621f1
257-
("integrate Zaamo and Zalrsc text (#1304)").
256+
defined in the in the RISC-V ISA manual starting from commit e87412e621f1
257+
("integrate Zaamo and Zalrsc text (#1304)").
258258

259259
* :c:macro:`RISCV_HWPROBE_EXT_SUPM`: The Supm extension is supported as
260-
defined in version 1.0 of the RISC-V Pointer Masking extensions.
260+
defined in version 1.0 of the RISC-V Pointer Masking extensions.
261261

262262
* :c:macro:`RISCV_HWPROBE_EXT_ZFBFMIN`: The Zfbfmin extension is supported as
263-
defined in the RISC-V ISA manual starting from commit 4dc23d6229de
264-
("Added Chapter title to BF16").
263+
defined in the RISC-V ISA manual starting from commit 4dc23d6229de
264+
("Added Chapter title to BF16").
265265

266266
* :c:macro:`RISCV_HWPROBE_EXT_ZVFBFMIN`: The Zvfbfmin extension is supported as
267-
defined in the RISC-V ISA manual starting from commit 4dc23d6229de
268-
("Added Chapter title to BF16").
267+
defined in the RISC-V ISA manual starting from commit 4dc23d6229de
268+
("Added Chapter title to BF16").
269269

270270
* :c:macro:`RISCV_HWPROBE_EXT_ZVFBFWMA`: The Zvfbfwma extension is supported as
271-
defined in the RISC-V ISA manual starting from commit 4dc23d6229de
272-
("Added Chapter title to BF16").
271+
defined in the RISC-V ISA manual starting from commit 4dc23d6229de
272+
("Added Chapter title to BF16").
273273

274274
* :c:macro:`RISCV_HWPROBE_EXT_ZICBOM`: The Zicbom extension is supported, as
275-
ratified in commit 3dd606f ("Create cmobase-v1.0.pdf") of riscv-CMOs.
275+
ratified in commit 3dd606f ("Create cmobase-v1.0.pdf") of riscv-CMOs.
276276

277277
* :c:macro:`RISCV_HWPROBE_EXT_ZABHA`: The Zabha extension is supported as
278-
ratified in commit 49f49c842ff9 ("Update to Rafified state") of
279-
riscv-zabha.
278+
ratified in commit 49f49c842ff9 ("Update to Rafified state") of
279+
riscv-zabha.
280280

281281
* :c:macro:`RISCV_HWPROBE_EXT_ZICBOP`: The Zicbop extension is supported, as
282-
ratified in commit 3dd606f ("Create cmobase-v1.0.pdf") of riscv-CMOs.
282+
ratified in commit 3dd606f ("Create cmobase-v1.0.pdf") of riscv-CMOs.
283283

284284
* :c:macro:`RISCV_HWPROBE_EXT_ZILSD`: The Zilsd extension is supported as
285-
defined in the RISC-V ISA manual starting from commit f88abf1 ("Integrating
286-
load/store pair for RV32 with the main manual") of the riscv-isa-manual.
285+
defined in the RISC-V ISA manual starting from commit f88abf1 ("Integrating
286+
load/store pair for RV32 with the main manual") of the riscv-isa-manual.
287287

288288
* :c:macro:`RISCV_HWPROBE_EXT_ZCLSD`: The Zclsd extension is supported as
289-
defined in the RISC-V ISA manual starting from commit f88abf1 ("Integrating
290-
load/store pair for RV32 with the main manual") of the riscv-isa-manual.
289+
defined in the RISC-V ISA manual starting from commit f88abf1 ("Integrating
290+
load/store pair for RV32 with the main manual") of the riscv-isa-manual.
291291

292292
* :c:macro:`RISCV_HWPROBE_KEY_CPUPERF_0`: Deprecated. Returns similar values to
293-
:c:macro:`RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF`, but the key was
294-
mistakenly classified as a bitmask rather than a value.
293+
:c:macro:`RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF`, but the key was
294+
mistakenly classified as a bitmask rather than a value.
295295

296296
* :c:macro:`RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF`: An enum value describing
297297
the performance of misaligned scalar native word accesses on the selected set
@@ -326,7 +326,7 @@ The following keys are defined:
326326
* :c:macro:`RISCV_HWPROBE_KEY_TIME_CSR_FREQ`: Frequency (in Hz) of `time CSR`.
327327

328328
* :c:macro:`RISCV_HWPROBE_KEY_MISALIGNED_VECTOR_PERF`: An enum value describing the
329-
performance of misaligned vector accesses on the selected set of processors.
329+
performance of misaligned vector accesses on the selected set of processors.
330330

331331
* :c:macro:`RISCV_HWPROBE_MISALIGNED_VECTOR_UNKNOWN`: The performance of misaligned
332332
vector accesses is unknown.
@@ -348,7 +348,7 @@ The following keys are defined:
348348
* MIPS
349349

350350
* :c:macro:`RISCV_HWPROBE_VENDOR_EXT_XMIPSEXECTL`: The xmipsexectl vendor
351-
extension is supported in the MIPS ISA extensions spec.
351+
extension is supported in the MIPS ISA extensions spec.
352352

353353
* :c:macro:`RISCV_HWPROBE_KEY_VENDOR_EXT_THEAD_0`: A bitmask containing the
354354
thead vendor extensions that are compatible with the
@@ -357,8 +357,8 @@ The following keys are defined:
357357
* T-HEAD
358358

359359
* :c:macro:`RISCV_HWPROBE_VENDOR_EXT_XTHEADVECTOR`: The xtheadvector vendor
360-
extension is supported in the T-Head ISA extensions spec starting from
361-
commit a18c801634 ("Add T-Head VECTOR vendor extension. ").
360+
extension is supported in the T-Head ISA extensions spec starting from
361+
commit a18c801634 ("Add T-Head VECTOR vendor extension. ").
362362

363363
* :c:macro:`RISCV_HWPROBE_KEY_ZICBOM_BLOCK_SIZE`: An unsigned int which
364364
represents the size of the Zicbom block in bytes.
@@ -370,20 +370,20 @@ The following keys are defined:
370370
* SIFIVE
371371

372372
* :c:macro:`RISCV_HWPROBE_VENDOR_EXT_XSFVQMACCDOD`: The Xsfqmaccdod vendor
373-
extension is supported in version 1.1 of SiFive Int8 Matrix Multiplication
374-
Extensions Specification.
373+
extension is supported in version 1.1 of SiFive Int8 Matrix Multiplication
374+
Extensions Specification.
375375

376376
* :c:macro:`RISCV_HWPROBE_VENDOR_EXT_XSFVQMACCQOQ`: The Xsfqmaccqoq vendor
377-
extension is supported in version 1.1 of SiFive Int8 Matrix Multiplication
378-
Instruction Extensions Specification.
377+
extension is supported in version 1.1 of SiFive Int8 Matrix Multiplication
378+
Instruction Extensions Specification.
379379

380380
* :c:macro:`RISCV_HWPROBE_VENDOR_EXT_XSFVFNRCLIPXFQF`: The Xsfvfnrclipxfqf
381-
vendor extension is supported in version 1.0 of SiFive FP32-to-int8 Ranged
382-
Clip Instructions Extensions Specification.
381+
vendor extension is supported in version 1.0 of SiFive FP32-to-int8 Ranged
382+
Clip Instructions Extensions Specification.
383383

384384
* :c:macro:`RISCV_HWPROBE_VENDOR_EXT_XSFVFWMACCQQQ`: The Xsfvfwmaccqqq
385-
vendor extension is supported in version 1.0 of Matrix Multiply Accumulate
386-
Instruction Extensions Specification.
385+
vendor extension is supported in version 1.0 of Matrix Multiply Accumulate
386+
Instruction Extensions Specification.
387387

388388
* :c:macro:`RISCV_HWPROBE_KEY_ZICBOP_BLOCK_SIZE`: An unsigned int which
389389
represents the size of the Zicbop block in bytes.

0 commit comments

Comments
 (0)