Skip to contentSkip to conversation

docs: Remove stale chapter on RISC-V 'Z' CPU properties

PATCH Applied Philippe Mathieu-Daudé 4 participants 7 messages Oct 18 – Oct 20

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: Remove stale chapter on RISC-V 'Z' CPU properties

RISC-V 'Z' CPU properties were removed in commit 455c0fa9eef, for the release v10.1.0. Remove the stale comment.

Fixes 455c0fa9eef ("target/riscv: remove capital 'Z' CPU properties")
---
 docs/about/deprecated.rst | 24 ------------------------
 1 file changed, 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
 ''''''''''''''''''''
 
Signature · 1 line
2.55.0
Reviewed-by Alistair Francis on v1 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. Remove the stale comment.

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

properties")

Alistair

Quoted 45 lines

---
 docs/about/deprecated.rst | 24 ------------------------

 1 file changed, 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
 ''''''''''''''''''''

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

RISC-V 'Z' CPU properties were removed in commit 455c0fa9eef, for the release v10.1.0. Remove the stale comment.

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

properties")

Thanks!

Applied to riscv-to-apply.next

Alistair

Quoted 45 lines

---
 docs/about/deprecated.rst | 24 ------------------------

 1 file changed, 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
 ''''''''''''''''''''

Reviewed-by on v1 1/1
#3 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 2 lines · Philippe Mathieu-Daudé

RISC-V 'Z' CPU properties were removed in commit 455c0fa9eef, for the release v10.1.0. Remove the stale comment.

I wasn't aware that we need to remove stuff from deprecated.rst after awhile. Thanks for taking care of it!

Quoted 42 lines
Fixes 455c0fa9eef ("target/riscv: remove capital 'Z' CPU properties")
---
  docs/about/deprecated.rst | 24 ------------------------
  1 file changed, 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
  ''''''''''''''''''''
 
#4 lore raw
Quoted 9 lines · Daniel Henrique Barboza
Quoted 2 lines · Philippe Mathieu-Daudé

RISC-V 'Z' CPU properties were removed in commit 455c0fa9eef, for the release v10.1.0. Remove the stale comment.

I wasn't aware that we need to remove stuff from deprecated.rst after awhile. Thanks for taking care of it!

We are supposed to move the section from deprecated.rst to removed.rst (adjusting it as necessary) when the feature moves from "deprecated" to "actually removed". We didn't do that in 455c0fa9eef, so we should do that here, rather than just deleting the section.

Quoted 2 lines
Quoted 2 lines
  docs/about/deprecated.rst | 24 ------------------------
  1 file changed, 24 deletions(-)

Alistair, could you unqueue this, please, as it doesn't update removed.rst ?

thanks
-- PMM

#5 lore raw
Quoted 9 lines · Peter Maydell
Quoted 7 lines · Daniel Henrique Barboza
Quoted 2 lines · Philippe Mathieu-Daudé

RISC-V 'Z' CPU properties were removed in commit 455c0fa9eef, for the release v10.1.0. Remove the stale comment.

Quoted 8 lines
Quoted 2 lines

I wasn't aware that we need to remove stuff from deprecated.rst after awhile. Thanks for taking care of it!

We are supposed to move the section from deprecated.rst to removed.rst (adjusting it as necessary) when the feature moves from "deprecated" to "actually removed". We didn't do that in 455c0fa9eef, so we should do that here, rather than just deleting the section.

Got it. Thanks for clarifying!

Phil, can you please re-send the patch moving the text to remove.rst?

Thanks,
Daniel

Quoted 9 lines
Quoted 3 lines
Quoted 3 lines
   docs/about/deprecated.rst | 24 ------------------------
   1 file changed, 24 deletions(-)

Alistair, could you unqueue this, please, as it doesn't update removed.rst ?

thanks
-- PMM

#6 lore raw
Quoted 12 lines · Daniel Henrique Barboza
Quoted 9 lines · Peter Maydell
Quoted 7 lines · Daniel Henrique Barboza
Quoted 2 lines · Philippe Mathieu-Daudé

RISC-V 'Z' CPU properties were removed in commit 455c0fa9eef, for the release v10.1.0. Remove the stale comment.

Quoted 8 lines
Quoted 8 lines
Quoted 2 lines

I wasn't aware that we need to remove stuff from deprecated.rst after awhile.  Thanks for taking care of it!

We are supposed to move the section from deprecated.rst to removed.rst (adjusting it as necessary) when the feature moves from "deprecated" to "actually removed". We didn't do that in 455c0fa9eef, so we should do that here, rather than just deleting the section.

Oops...

Quoted 4 lines

Got it.  Thanks for clarifying!

Phil, can you please re-send the patch moving the text to remove.rst?

Fixed in v2:
https://lore.kernel.org/qemu-devel/[email protected]/T/#u