[PATCH] RISC-V: Document the ISA string parsing rules for ACPI
Palmer Dabbelt
palmer at rivosinc.com
Wed Jun 28 20:17:05 PDT 2023
We've had a ton of issues around the ISA string parsing rules elsewhere
in RISC-V, so let's at least be clear about what the rules are so we can
try and avoid more issues.
Link: https://lore.kernel.org/r/CAK9=C2Vy-4V9kgnga98tiC3TeHkR2LFPakyBbS8s_h3_Z=ieyQ@mail.gmail.com/
Signed-off-by: Palmer Dabbelt <palmer at rivosinc.com>
---
I'm not sure if there's a better place to put this, but I figure it doesn't
hurt to have it duplicated in the kernel docs so it's easier to find.
---
Documentation/riscv/acpi.rst | 10 ++++++++++
Documentation/riscv/index.rst | 1 +
2 files changed, 11 insertions(+)
create mode 100644 Documentation/riscv/acpi.rst
diff --git a/Documentation/riscv/acpi.rst b/Documentation/riscv/acpi.rst
new file mode 100644
index 000000000000..9870a282815b
--- /dev/null
+++ b/Documentation/riscv/acpi.rst
@@ -0,0 +1,10 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+==============
+ACPI on RISC-V
+==============
+
+The ISA string parsing rules for ACPI are defined by `Version ASCIIDOC
+Conversion, 12/2022 of the RISC-V specifications, as defined by tag
+"riscv-isa-release-1239329-2023-05-23" (commit 1239329
+) <https://github.com/riscv/riscv-isa-manual/releases/tag/riscv-isa-release-1239329-2023-05-23>`_
diff --git a/Documentation/riscv/index.rst b/Documentation/riscv/index.rst
index 95cf9c1e1da1..81cf6e616476 100644
--- a/Documentation/riscv/index.rst
+++ b/Documentation/riscv/index.rst
@@ -5,6 +5,7 @@ RISC-V architecture
.. toctree::
:maxdepth: 1
+ acpi
boot-image-header
vm-layout
hwprobe
--
2.41.0
More information about the linux-riscv
mailing list