Skip to content

Commit 8e5e72e

Browse files
dt-bindings: riscv: remove obsolete cpus.txt
Remove the now-obsolete riscv/cpus.txt DT binding document, since we are using YAML binding documentation instead. While doing so, transfer the explanatory text about 'harts' (with some edits) into the YAML file, at Rob's request. Link: https://lore.kernel.org/linux-riscv/CAL_JsqJs6MtvmuyAknsUxQymbmoV=G+=JfS1PQj9kNHV7fjC9g@mail.gmail.com/ Signed-off-by: Paul Walmsley <[email protected]> Cc: Rob Herring <[email protected]> Reviewed-by: Rob Herring <[email protected]>
1 parent 81a48ee commit 8e5e72e

File tree

2 files changed

+12
-162
lines changed

2 files changed

+12
-162
lines changed

Documentation/devicetree/bindings/riscv/cpus.txt

Lines changed: 0 additions & 162 deletions
This file was deleted.

Documentation/devicetree/bindings/riscv/cpus.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@ maintainers:
1010
- Paul Walmsley <[email protected]>
1111
- Palmer Dabbelt <[email protected]>
1212

13+
description: |
14+
This document uses some terminology common to the RISC-V community
15+
that is not widely used, the definitions of which are listed here:
16+
17+
hart: A hardware execution context, which contains all the state
18+
mandated by the RISC-V ISA: a PC and some registers. This
19+
terminology is designed to disambiguate software's view of execution
20+
contexts from any particular microarchitectural implementation
21+
strategy. For example, an Intel laptop containing one socket with
22+
two cores, each of which has two hyperthreads, could be described as
23+
having four harts.
24+
1325
properties:
1426
compatible:
1527
items:

0 commit comments

Comments
 (0)