Skip to contentSkip to conversation

docs: Move RISC-V 'Z' CPU properties section to removed features

PATCH Applied Philippe Mathieu-Daudé 3 participants 3 messages Oct 20 – Oct 22

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 docs: Move RISC-V 'Z' CPU properties section to removed features

RISC-V 'Z' CPU properties were removed in commit 455c0fa9eef, for the release v10.1.0. Move the corresponding section from deprecated.rst to removed-features.rst, adjusting the wording accordingly.

Fixes 455c0fa9eef ("target/riscv: remove capital 'Z' CPU properties")
---
 docs/about/deprecated.rst       | 24 ------------------------
 docs/about/removed-features.rst |  7 +++++++
 2 files changed, 7 insertions(+), 24 deletions(-)
docs/about/deprecated.rst +0 -24
index ccbc4219497..368fa1b4ed3 100644
@@ -349,30 +349,6 @@ the addition of volatile memory support, it is now necessary to distinguish
 between persistent and volatile memory backends.  As such, memdev is deprecated
 in favor of persistent-memdev.
 
-
-RISC-V CPU properties which start with capital 'Z' (since 8.2)
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-All RISC-V CPU properties which start with capital 'Z' are being deprecated
-starting in 8.2. The reason is that they were wrongly added with capital 'Z'
-in the past. CPU properties were later added with lower-case names, which
-is the format we want to use from now on.
-
-Users which try to use these deprecated properties will receive a warning
-recommending to switch to their stable counterparts:
-
-- "Zifencei" should be replaced with "zifencei"
-- "Zicsr" should be replaced with "zicsr"
-- "Zihintntl" should be replaced with "zihintntl"
-- "Zihintpause" should be replaced with "zihintpause"
-- "Zawrs" should be replaced with "zawrs"
-- "Zfa" should be replaced with "zfa"
-- "Zfh" should be replaced with "zfh"
-- "Zfhmin" should be replaced with "zfhmin"
-- "Zve32f" should be replaced with "zve32f"
-- "Zve64f" should be replaced with "zve64f"
-- "Zve64d" should be replaced with "zve64d"
-
 Block device options
 ''''''''''''''''''''
 
docs/about/removed-features.rst +7 -0
index 6a9944a0c79..225841bd9bb 100644
@@ -1038,6 +1038,13 @@ initial RISC-V QEMU port. Its usage was always been unclear: users don't know
 what to expect from a CPU called 'any', and in fact the CPU does not do anything
 special that isn't already done by the default CPUs rv32/rv64.
 
+RISC-V CPU properties which start with capital 'Z' (removed in 10.1)
+''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
+
+All RISC-V CPU properties which start with capital 'Z' have been removed.
+They were wrongly added with capital 'Z' in the past. CPU properties
+with lower-case names are used instead.
+
 Power8E and Power8NVL CPUs (removed in 11.1)
 ''''''''''''''''''''''''''''''''''''''''''''
 
Signature · 1 line
2.55.0
Reviewed-by on v2 1/1
#1 lore raw
Quoted 6 lines · Philippe Mathieu-Daudé

RISC-V 'Z' CPU properties were removed in commit 455c0fa9eef, for the release v10.1.0. Move the corresponding section from deprecated.rst to removed-features.rst, adjusting the wording accordingly.

Quoted 8 lines
Fixes 455c0fa9eef ("target/riscv: remove capital 'Z' CPU properties")
---
 docs/about/deprecated.rst       | 24 ------------------------
 docs/about/removed-features.rst |  7 +++++++
 2 files changed, 7 insertions(+), 24 deletions(-)

thanks
-- PMM

#2 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 11 lines · Philippe Mathieu-Daudé

RISC-V 'Z' CPU properties were removed in commit 455c0fa9eef, for the release v10.1.0. Move the corresponding section from deprecated.rst to removed-features.rst, adjusting the wording accordingly.

Fixes 455c0fa9eef ("target/riscv: remove capital 'Z' CPU

properties")
Reviewed-by: Daniel Henrique Barboza
<[email protected]>

Thanks!

Applied to riscv-to-apply.next

Alistair

Quoted 68 lines

---
 docs/about/deprecated.rst       | 24 ------------------------ docs/about/removed-features.rst |  7 +++++++

 2 files changed, 7 insertions(+), 24 deletions(-)
docs/about/deprecated.rst +0 -0
index ccbc4219497..368fa1b4ed3 100644
@@ -349,30 +349,6 @@ the addition of volatile memory support, it is

now necessary to distinguish
 between persistent and volatile memory backends.  As such, memdev is deprecated
 in favor of persistent-memdev.

docs/about/deprecated.rst +0 -5
-
-RISC-V CPU properties which start with capital 'Z' (since 8.2)
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-All RISC-V CPU properties which start with capital 'Z' are being

deprecated
-starting in 8.2. The reason is that they were wrongly added with capital 'Z'
-in the past. CPU properties were later added with lower-case names, which

docs/about/deprecated.rst +0 -3
-is the format we want to use from now on.
-
-Users which try to use these deprecated properties will receive a

warning

docs/about/deprecated.rst +0 -14
-recommending to switch to their stable counterparts:
-
-- "Zifencei" should be replaced with "zifencei"
-- "Zicsr" should be replaced with "zicsr"
-- "Zihintntl" should be replaced with "zihintntl"
-- "Zihintpause" should be replaced with "zihintpause"
-- "Zawrs" should be replaced with "zawrs"
-- "Zfa" should be replaced with "zfa"
-- "Zfh" should be replaced with "zfh"
-- "Zfhmin" should be replaced with "zfhmin"
-- "Zve32f" should be replaced with "zve32f"
-- "Zve64f" should be replaced with "zve64f"
-- "Zve64d" should be replaced with "zve64d"
-

 Block device options
 ''''''''''''''''''''

docs/about/removed- renamed from docs/about/removed-features.rst +0 -0

features.rst
index 6a9944a0c79..225841bd9bb 100644

docs/about/removed-features.rst +0 -0
@@ -1038,6 +1038,13 @@ initial RISC-V QEMU port. Its usage was always

been unclear: users don't know
 what to expect from a CPU called 'any', and in fact the CPU does not do anything
 special that isn't already done by the default CPUs rv32/rv64.

docs/about/removed-features.rst +4 -0
+RISC-V CPU properties which start with capital 'Z' (removed in 10.1)
+''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
+
+All RISC-V CPU properties which start with capital 'Z' have been

removed.

docs/about/removed-features.rst +3 -0
+They were wrongly added with capital 'Z' in the past. CPU properties
+with lower-case names are used instead.
+

 Power8E and Power8NVL CPUs (removed in 11.1)
 ''''''''''''''''''''''''''''''''''''''''''''