From 8a80e3be239c5f655fd265530f78f29b10adffcd Mon Sep 17 00:00:00 2001 From: Tariq Kurd Date: Fri, 27 Sep 2024 15:18:09 +0200 Subject: [PATCH 1/2] remove false comments from RV32 permissin encoding table --- src/cap-description.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cap-description.adoc b/src/cap-description.adoc index f510a805..0f12bb20 100644 --- a/src/cap-description.adoc +++ b/src/cap-description.adoc @@ -194,13 +194,13 @@ Quadrant 1 encodes permissions for executable capabilities and the <>. | 4-5 | ✔ | ✔ | ✔ | ✔ | ✔ | | Mode^1^ | Execute + Data & Cap RW | 6-7 | ✔ | ✔ | | | ✔ | | Mode^1^ | Execute + Data RW 9+| *Quadrant 2: Restricted capability data read/write* -9+| bit[2] - write. R and C implicitly granted, LM dependent on W permission. +9+| R and C implicitly granted, LM dependent on W permission. 9+| _Reserved bits for future extensions must be 1 so they are implicitly granted_ | 0-2 8+| reserved | 3 | ✔ | | ✔ | | | | N/A | Data & Cap RO (no LM) | 4-7 8+| reserved 9+| *Quadrant 3: Capability data read/write* -9+| [2] - write. R and C implicitly granted. +9+| R and C implicitly granted. 9+| _Reserved bits for future extensions must be 1 so they are implicitly granted_ | 0-2 8+| reserved | 3 | ✔ | | ✔ | ✔ | | | N/A | Data & Cap RO From c43226c68068fda2bb0d5f45a6ae2f90e10aef7a Mon Sep 17 00:00:00 2001 From: Tariq Kurd Date: Mon, 30 Sep 2024 11:02:13 +0200 Subject: [PATCH 2/2] clarify table --- src/cap-description.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cap-description.adoc b/src/cap-description.adoc index 0f12bb20..52e56529 100644 --- a/src/cap-description.adoc +++ b/src/cap-description.adoc @@ -196,11 +196,12 @@ Quadrant 1 encodes permissions for executable capabilities and the <>. 9+| *Quadrant 2: Restricted capability data read/write* 9+| R and C implicitly granted, LM dependent on W permission. 9+| _Reserved bits for future extensions must be 1 so they are implicitly granted_ +9+| _bit[2] is reserved to mean write for future encodings_ | 0-2 8+| reserved | 3 | ✔ | | ✔ | | | | N/A | Data & Cap RO (no LM) | 4-7 8+| reserved 9+| *Quadrant 3: Capability data read/write* -9+| R and C implicitly granted. +9+| bit[2] - write, R and C implicitly granted. 9+| _Reserved bits for future extensions must be 1 so they are implicitly granted_ | 0-2 8+| reserved | 3 | ✔ | | ✔ | ✔ | | | N/A | Data & Cap RO