Skip to contentSkip to conversation

dt-bindings: riscv: Add SiFive vendor extensions description

PATCH Superseded Nick Hu 2 participants 3 messages Jul 8, 2025 – Jul 10, 2025

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Nick Hu

author
#0 lore raw

PATCH 1/1 dt-bindings: riscv: Add SiFive vendor extensions description

Add description for SiFive vendor extensions "xsfcflushdlone", "xsfpgflushdlone" and "xsfcease".

---
 .../devicetree/bindings/riscv/extensions.yaml  | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
Documentation/devicetree/bindings/riscv/extensions.yaml +18 -0
index 72c1b063fdfe..10c37c61243d 100644
@@ -626,6 +626,24 @@ properties:
             https://www.andestech.com/wp-content/uploads/AX45MP-1C-Rev.-5.0.0-Datasheet.pdf
 
         # SiFive
+        - const: xsfcease
+          description:
+            SiFive CEASE Instruction Extensions Specification.
+            See more details in
+            https://www.sifive.com/document-file/freedom-u740-c000-manual
+
+        - const: xsfcflushdlone
+          description:
+            SiFive L1D Cache Flush Instruction Extensions Specification.
+            See more details in
+            https://www.sifive.com/document-file/freedom-u740-c000-manual
+
+        - const: xsfpgflushdlone
+          description:
+            SiFive PGFLUSH Instruction Extensions for the power management. The
+            CPU will flush the L1D and enter the cease state after executing
+            the instruction.
+
         - const: xsfqmaccdod
           description:
             SiFive Int8 Matrix Multiplication Extensions Specification.
Signature · 1 line
2.17.1
#1 lore raw
Quoted 4 lines · Nick Hu

Add description for SiFive vendor extensions "xsfcflushdlone", "xsfpgflushdlone" and "xsfcease".

You have this, but no user or anything along with it. What's actually making use of this? If it's just for the SBI impl or w/e then say that.

Quoted 36 lines
---
 .../devicetree/bindings/riscv/extensions.yaml  | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
Documentation/devicetree/bindings/riscv/extensions.yaml +18 -0
index 72c1b063fdfe..10c37c61243d 100644
@@ -626,6 +626,24 @@ properties:
             https://www.andestech.com/wp-content/uploads/AX45MP-1C-Rev.-5.0.0-Datasheet.pdf
 
         # SiFive
+        - const: xsfcease
+          description:
+            SiFive CEASE Instruction Extensions Specification.
+            See more details in
+            https://www.sifive.com/document-file/freedom-u740-c000-manual
+
+        - const: xsfcflushdlone
+          description:
+            SiFive L1D Cache Flush Instruction Extensions Specification.
+            See more details in
+            https://www.sifive.com/document-file/freedom-u740-c000-manual
+
+        - const: xsfpgflushdlone
+          description:
+            SiFive PGFLUSH Instruction Extensions for the power management. The
+            CPU will flush the L1D and enter the cease state after executing
+            the instruction.
+
         - const: xsfqmaccdod
           description:
             SiFive Int8 Matrix Multiplication Extensions Specification.
Signature · 1 line
2.17.1
author
#2 lore raw
Quoted 10 lines · Conor Dooley
Quoted 4 lines · Nick Hu

Add description for SiFive vendor extensions "xsfcflushdlone", "xsfpgflushdlone" and "xsfcease".

You have this, but no user or anything along with it. What's actually making use of this? If it's just for the SBI impl or w/e then say that.

It's for the SBI implementation. I'll update it in the commit message. Thanks!

Best Regard,
Nick

Quoted 36 lines
Quoted 36 lines
---
 .../devicetree/bindings/riscv/extensions.yaml  | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
Documentation/devicetree/bindings/riscv/extensions.yaml +18 -1
index 72c1b063fdfe..10c37c61243d 100644
@@ -626,6 +626,24 @@ properties:
             https://www.andestech.com/wp-content/uploads/AX45MP-1C-Rev.-5.0.0-Datasheet.pdf
 
         # SiFive
+        - const: xsfcease
+          description:
+            SiFive CEASE Instruction Extensions Specification.
+            See more details in
+            https://www.sifive.com/document-file/freedom-u740-c000-manual
+
+        - const: xsfcflushdlone
+          description:
+            SiFive L1D Cache Flush Instruction Extensions Specification.
+            See more details in
+            https://www.sifive.com/document-file/freedom-u740-c000-manual
+
+        - const: xsfpgflushdlone
+          description:
+            SiFive PGFLUSH Instruction Extensions for the power management. The
+            CPU will flush the L1D and enter the cease state after executing
+            the instruction.
+
         - const: xsfqmaccdod
           description:
             SiFive Int8 Matrix Multiplication Extensions Specification.
--

2.17.1