Skip to content

Commit

Permalink
Run pre-commit on all files
Browse files Browse the repository at this point in the history
  • Loading branch information
dhower-qc committed Dec 11, 2024
1 parent 7fbed0a commit 5691a30
Show file tree
Hide file tree
Showing 60 changed files with 555 additions and 560 deletions.
8 changes: 4 additions & 4 deletions arch/ext/Q.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ description: |
a double-precision value which is itself NaN-boxed inside a quad-precision value.
type: unprivileged
versions:
- version: "1.0.0"
state: ratified
ratification_date: null
requires: D
- version: "1.0.0"
state: ratified
ratification_date: null
requires: D
6 changes: 3 additions & 3 deletions arch/ext/Sdext.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ description: |
Hart-visible portion of the debug spec.
type: privileged
versions:
- version: "1.0.0"
state: ratified
ratification_date: null
- version: "1.0.0"
state: ratified
ratification_date: null
38 changes: 19 additions & 19 deletions arch/ext/Shgatpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@ description: |
This extension was ratified with the RVA22 profiles.
type: privileged
versions:
- version: "1.0.0"
state: ratified
ratification_date: null
param_constraints:
SV32X4_TRANSLATION:
extra_validation: |
(SV32X4_TRANSLATION && ext?(:Sv32)) || (!SV32X4_TRANSLATION && !ext?(:Sv32))
SV39X4_TRANSLATION:
extra_validation: |
(SV39X4_TRANSLATION && ext?(:Sv39)) || (!SV39X4_TRANSLATION && !ext?(:Sv39))
SV48X4_TRANSLATION:
extra_validation: |
(SV48X4_TRANSLATION && ext?(:Sv48)) || (!SV48X4_TRANSLATION && !ext?(:Sv48))
SV57X4_TRANSLATION:
extra_validation: |
(SV57X4_TRANSLATION && ext?(:Sv57)) || (!SV57X4_TRANSLATION && !ext?(:Sv57))
GSTAGE_MODE_BARE:
schema:
const: true
- version: "1.0.0"
state: ratified
ratification_date: null
param_constraints:
SV32X4_TRANSLATION:
extra_validation: |
(SV32X4_TRANSLATION && ext?(:Sv32)) || (!SV32X4_TRANSLATION && !ext?(:Sv32))
SV39X4_TRANSLATION:
extra_validation: |
(SV39X4_TRANSLATION && ext?(:Sv39)) || (!SV39X4_TRANSLATION && !ext?(:Sv39))
SV48X4_TRANSLATION:
extra_validation: |
(SV48X4_TRANSLATION && ext?(:Sv48)) || (!SV48X4_TRANSLATION && !ext?(:Sv48))
SV57X4_TRANSLATION:
extra_validation: |
(SV57X4_TRANSLATION && ext?(:Sv57)) || (!SV57X4_TRANSLATION && !ext?(:Sv57))
GSTAGE_MODE_BARE:
schema:
const: true
14 changes: 7 additions & 7 deletions arch/ext/Shtvala.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ description: |
This extension was ratified with the RVA22 profiles.
type: privileged
versions:
- version: "1.0.0"
state: ratified
ratification_date: null
param_constraints:
REPORT_GPA_IN_HTVAL_ON_GUEST_PAGE_FAULT:
schema:
const: true
- version: "1.0.0"
state: ratified
ratification_date: null
param_constraints:
REPORT_GPA_IN_HTVAL_ON_GUEST_PAGE_FAULT:
schema:
const: true
74 changes: 37 additions & 37 deletions arch/ext/Shvstvala.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,40 +16,40 @@ description: |
This extension was ratified with the RVA22 profiles.
type: privileged
versions:
- version: "1.0.0"
state: ratified
ratification_date: null
param_constraints:
REPORT_VA_IN_VSTVAL_ON_BREAKPOINT:
schema:
const: true
REPORT_VA_IN_VSTVAL_ON_LOAD_MISALIGNED:
schema:
const: true
REPORT_VA_IN_VSTVAL_ON_STORE_AMO_MISALIGNED:
schema:
const: true
REPORT_VA_IN_VSTVAL_ON_INSTRUCTION_MISALIGNED:
schema:
const: true
REPORT_VA_IN_VSTVAL_ON_LOAD_ACCESS_FAULT:
schema:
const: true
REPORT_VA_IN_VSTVAL_ON_STORE_AMO_ACCESS_FAULT:
schema:
const: true
REPORT_VA_IN_VSTVAL_ON_INSTRUCTION_ACCESS_FAULT:
schema:
const: true
REPORT_VA_IN_VSTVAL_ON_LOAD_PAGE_FAULT:
schema:
const: true
REPORT_VA_IN_VSTVAL_ON_STORE_AMO_PAGE_FAULT:
schema:
const: true
REPORT_VA_IN_VSTVAL_ON_INSTRUCTION_PAGE_FAULT:
schema:
const: true
REPORT_ENCODING_IN_VSTVAL_ON_ILLEGAL_INSTRUCTION:
schema:
const: true
- version: "1.0.0"
state: ratified
ratification_date: null
param_constraints:
REPORT_VA_IN_VSTVAL_ON_BREAKPOINT:
schema:
const: true
REPORT_VA_IN_VSTVAL_ON_LOAD_MISALIGNED:
schema:
const: true
REPORT_VA_IN_VSTVAL_ON_STORE_AMO_MISALIGNED:
schema:
const: true
REPORT_VA_IN_VSTVAL_ON_INSTRUCTION_MISALIGNED:
schema:
const: true
REPORT_VA_IN_VSTVAL_ON_LOAD_ACCESS_FAULT:
schema:
const: true
REPORT_VA_IN_VSTVAL_ON_STORE_AMO_ACCESS_FAULT:
schema:
const: true
REPORT_VA_IN_VSTVAL_ON_INSTRUCTION_ACCESS_FAULT:
schema:
const: true
REPORT_VA_IN_VSTVAL_ON_LOAD_PAGE_FAULT:
schema:
const: true
REPORT_VA_IN_VSTVAL_ON_STORE_AMO_PAGE_FAULT:
schema:
const: true
REPORT_VA_IN_VSTVAL_ON_INSTRUCTION_PAGE_FAULT:
schema:
const: true
REPORT_ENCODING_IN_VSTVAL_ON_ILLEGAL_INSTRUCTION:
schema:
const: true
14 changes: 7 additions & 7 deletions arch/ext/Shvstvecd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ description: |
This extension was ratified with the RVA22 profiles.
type: privileged
versions:
- version: "1.0.0"
state: ratified
ratification_date: null
param_constraints:
VSTVEC_MODE_DIRECT:
schema:
const: true
- version: "1.0.0"
state: ratified
ratification_date: null
param_constraints:
VSTVEC_MODE_DIRECT:
schema:
const: true
6 changes: 3 additions & 3 deletions arch/ext/Smdbltrp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ description: |
critical-error signal to the platform when the hart is in a critical error state.
type: privileged
versions:
- version: "1.0.0"
state: ratified
ratification_date: null
- version: "1.0.0"
state: ratified
ratification_date: null
6 changes: 3 additions & 3 deletions arch/ext/Smrnmi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ description: |
interrupted state, and one new instruction, `mnret`, to resume from the RNMI handler.
type: unprivileged
versions:
- version: "1.0.0"
state: ratified
ratification_date: null
- version: "1.0.0"
state: ratified
ratification_date: null
30 changes: 15 additions & 15 deletions arch/ext/Ssstateen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@ name: Ssstateen
long_name: Supervisor-mode view of the state-enable extension
description: |
Supervisor-mode view of the state-enable extension. The
supervisor-mode (`sstateen0-3`) and hypervisor-mode (`hstateen0-3`)
state-enable registers must be provided.
NOTE: The Smstateen extension specification is an M-mode extension as
it includes M-mode features, but the supervisor-mode visible
components of the extension are named as the Ssstateen extension. Only
Ssstateen is mandated in the RVA22S64 profile when the hypervisor
extension is implemented. These registers are not mandated or
supported options without the hypervisor extension, as there are no
RVA22S64 supported options with relevant state to control in the
absence of the hypervisor extension.
supervisor-mode (`sstateen0-3`) and hypervisor-mode (`hstateen0-3`)
state-enable registers must be provided.
NOTE: The Smstateen extension specification is an M-mode extension as
it includes M-mode features, but the supervisor-mode visible
components of the extension are named as the Ssstateen extension. Only
Ssstateen is mandated in the RVA22S64 profile when the hypervisor
extension is implemented. These registers are not mandated or
supported options without the hypervisor extension, as there are no
RVA22S64 supported options with relevant state to control in the
absence of the hypervisor extension.
[NOTE]
This extension was ratified with the RVA22 profiles.
type: privileged
versions:
- version: "1.0.0"
state: ratified
ratification_date: null
# TODO: add param_constraints
- version: "1.0.0"
state: ratified
ratification_date: null
# TODO: add param_constraints
14 changes: 7 additions & 7 deletions arch/ext/Ssu64xl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ description: |
This extension is defined by RVA22.
type: privileged
versions:
- version: "1.0.0"
state: ratified
ratification_date: null
param_constraints:
UXLEN:
schema:
enum: [64, 3264]
- version: "1.0.0"
state: ratified
ratification_date: null
param_constraints:
UXLEN:
schema:
enum: [64, 3264]
12 changes: 6 additions & 6 deletions arch/ext/Zabha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ kind: extension
name: Zabha
long_name: Byte and Halfword Atomic Memory Operations
description: |
Adds byte and halfword atomic memory operations to the RISC-V Unprivileged ISA.
type: unprivileged
Adds byte and halfword atomic memory operations to the RISC-V Unprivileged ISA.
type: unprivileged
versions:
- version: "1.0.0"
state: ratified
ratification_date: null
requires: Zaamo
- version: "1.0.0"
state: ratified
ratification_date: null
requires: Zaamo
8 changes: 4 additions & 4 deletions arch/ext/Zacas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: |
Adds Word/Doubleword/Quadword compare-and-swap instructions.
type: unprivileged
versions:
- version: "1.0.0"
state: ratified
ratification_date: null
requires: Zaamo
- version: "1.0.0"
state: ratified
ratification_date: null
requires: Zaamo
6 changes: 3 additions & 3 deletions arch/ext/Zalasr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ description: |
load-acquire and store-release instructions.
type: unprivileged
versions:
- version: "0.3.5"
state: development
ratification_date: null
- version: "0.3.5"
state: development
ratification_date: null
6 changes: 3 additions & 3 deletions arch/ext/Zawrs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ description: |
accelerator device indicating completion of a job previously submitted to the device.
type: unprivileged
versions:
- version: "1.1.0"
state: ratified
ratification_date: null
- version: "1.1.0"
state: ratified
ratification_date: null
6 changes: 3 additions & 3 deletions arch/ext/Zbkb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ long_name: Bit-manipulation for Cryptography
description: This extension contains instructions essential for implementing common operations in cryptographic workloads.
type: unprivileged
versions:
- version: "1.0.0"
state: ratified
ratification_date: null
- version: "1.0.0"
state: ratified
ratification_date: null
6 changes: 3 additions & 3 deletions arch/ext/Zbkc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ description: |
which is part of this workload.
type: unprivileged
versions:
- version: "1.0.0"
state: ratified
ratification_date: null
- version: "1.0.0"
state: ratified
ratification_date: null
6 changes: 3 additions & 3 deletions arch/ext/Zbkx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ description: |
execution latency does not depend on the (secret) data being operated on.
type: unprivileged
versions:
- version: "1.0.0"
state: ratified
ratification_date: null
- version: "1.0.0"
state: ratified
ratification_date: null
44 changes: 22 additions & 22 deletions arch/ext/Zca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,25 @@ company:
name: RISC-V International
url: https://riscv.org
versions:
- version: "1.0.0"
state: ratified
ratification_date: 2023-04
repositories:
- url: https://github.com/riscv/riscv-code-size-reduction
branch: main
contributors:
- name: Tariq Kurd
- name: Ibrahim Abu Kharmeh
- name: Torbjørn Viem Ness
- name: Matteo Perotti
- name: Nidal Faour
- name: Bill Traynor
- name: Rafael Sene
- name: Xinlong Wu
- name: sinan
- name: Jeremy Bennett
- name: Heda Chen
- name: Alasdair Armstrong
- name: Graeme Smecher
- name: Nicolas Brunie
- name: Jiawei
- version: "1.0.0"
state: ratified
ratification_date: 2023-04
repositories:
- url: https://github.com/riscv/riscv-code-size-reduction
branch: main
contributors:
- name: Tariq Kurd
- name: Ibrahim Abu Kharmeh
- name: Torbjørn Viem Ness
- name: Matteo Perotti
- name: Nidal Faour
- name: Bill Traynor
- name: Rafael Sene
- name: Xinlong Wu
- name: sinan
- name: Jeremy Bennett
- name: Heda Chen
- name: Alasdair Armstrong
- name: Graeme Smecher
- name: Nicolas Brunie
- name: Jiawei
8 changes: 4 additions & 4 deletions arch/ext/Zfa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ description: |
The `Zfa` extension depends on the `F` extension.
type: unprivileged
versions:
- version: "1.0.0"
state: ratified
ratification_date: null
requires: F
- version: "1.0.0"
state: ratified
ratification_date: null
requires: F
Loading

0 comments on commit 5691a30

Please sign in to comment.