Skip to content

Commit b9aa16d

Browse files
Finished
1 parent b1652be commit b9aa16d

40 files changed

+436
-913
lines changed

arch/ext/Sha.yaml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,12 @@ versions:
4444
- version: "1.0.0"
4545
state: ratified
4646
ratification_date: null
47-
requires:
48-
allOf:
49-
- H
50-
- Ssstateen
51-
- Shcounterenw
52-
- Shvstvala
53-
- Shtvala
54-
- Shvstvecd
55-
- Shvsatpa
56-
- Shgatpa
47+
implies:
48+
- [H, "1.0.0"]
49+
- [Ssstateen, "1.0.0"]
50+
- [Shcounterenw, "1.0.0"]
51+
- [Shvstvala, "1.0.0"]
52+
- [Shtvala, "1.0.0"]
53+
- [Shvstvecd, "1.0.0"]
54+
- [Shvsatpa, "1.0.0"]
55+
- [Shgatpa, "1.0.0"]

arch/ext/Shcounterenw.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# yaml-language-server: $schema=../../schemas/ext_schema.json
2+
3+
$schema: "ext_schema.json#"
4+
kind: extension
5+
name: Shcounterenw
6+
long_name: Hypervisor counter enable
7+
description: |
8+
For any hpmcounter that is not read-only zero, the corresponding bit in `hcounteren` must be writable.
9+
10+
[NOTE]
11+
This extension was ratified with the RVA22 profiles.
12+
type: privileged
13+
versions:
14+
- version: "1.0.0"
15+
state: ratified
16+
ratification_date: 2023-08
17+
url: https://drive.google.com/file/d/1KcjgbLM5L1ZKY8934aJl8aQwGlMz6Cbo/view?usp=drive_link
18+
param_constraints:
19+
HCOUNTENABLE_EN:
20+
extra_validation: |
21+
HPM_COUNTER_EN.each_with_index { |hpm_exists, idx| assert(!hpm_exists || HCOUNTENABLE_EN[idx]) }

arch/ext/Shvsatpa.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# yaml-language-server: $schema=../../schemas/ext_schema.json
2+
3+
$schema: "ext_schema.json#"
4+
kind: extension
5+
name: Shvsatpa
6+
long_name: vstap translation mode requirements
7+
description: |
8+
All translation modes supported in the `satp` CSR must be supported in the `vsatp` CSR.
9+
10+
[NOTE]
11+
This extension was ratified with the RVA22 profiles.
12+
type: privileged
13+
versions:
14+
- version: "1.0.0"
15+
state: ratified
16+
ratification_date: null

arch/profile/MP-S-64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# yaml-language-server: $schema=../../schemas/profile_schema.json
22

33
$schema: profile_schema.json#
4-
kind: profile
4+
kind: Profile
55
name: MP-S-64
66
marketing_name: MockProfile 64-bit S-mode
77
description: This is the Mock Profile Supervisor Mode description.

arch/profile/MP-U-64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$schema: profile_schema.json#
2-
kind: profile
2+
kind: Profile
33
name: MP-U-64
44
marketing_name: MockProfile 64-bit Unpriv
55
mode: Unpriv

arch/profile/RVA20S64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$schema: profile_schema.json#
2-
kind: profile
2+
kind: Profile
33
name: RVA20S64
44
marketing_name: RVA20S64
55
mode: S

arch/profile/RVA20U64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$schema: profile_schema.json#
2-
kind: profile
2+
kind: Profile
33
name: RVA20U64
44
marketing_name: RVA20U64
55
mode: Unpriv

arch/profile/RVA22S64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$schema: profile_schema.json#
2-
kind: profile
2+
kind: Profile
33
name: RVA22S64
44
marketing_name: RVA22S64
55
mode: S

arch/profile/RVA22U64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$schema: profile_schema.json#
2-
kind: profile
2+
kind: Profile
33
name: RVA22U64
44
marketing_name: RVA22U64
55
mode: Unpriv

arch/profile/RVA23S64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$schema: profile_schema.json#
2-
kind: profile
2+
kind: Profile
33
name: RVA23S64
44
marketing_name: RVA23S64
55
mode: S

0 commit comments

Comments
 (0)