Re: powerpc: Add some documentation of ISA versions

2018-12-22 Thread Michael Ellerman
On Mon, 2018-11-05 at 09:01:01 UTC, Michael Ellerman wrote:
> Add some documentation on which CPU versions map to which ISA
> versions. This is all publicly available information, some of it
> already in the kernel source, but it's much nicer to have it all in
> one place.
> 
> Signed-off-by: Michael Ellerman 

Applied to powerpc next.

https://git.kernel.org/powerpc/c/ec2adcd8dd64588cb4bcd1c1e0b863

cheers


[PATCH] powerpc: Add some documentation of ISA versions

2018-11-05 Thread Michael Ellerman
Add some documentation on which CPU versions map to which ISA
versions. This is all publicly available information, some of it
already in the kernel source, but it's much nicer to have it all in
one place.

Signed-off-by: Michael Ellerman 
---
 Documentation/powerpc/isa-versions.rst | 74 ++
 1 file changed, 74 insertions(+)
 create mode 100644 Documentation/powerpc/isa-versions.rst

Please send corrections if you notice anything wrong.

Also happy to take patches to add other CPUs and other features, this is
just a start.

diff --git a/Documentation/powerpc/isa-versions.rst 
b/Documentation/powerpc/isa-versions.rst
new file mode 100644
index ..812e20cc898c
--- /dev/null
+++ b/Documentation/powerpc/isa-versions.rst
@@ -0,0 +1,74 @@
+CPU to ISA Version Mapping
+==
+
+Mapping of some CPU versions to relevant ISA versions.
+
+= 
+CPU   Architecture version
+= 
+Power9Power ISA v3.0B
+Power8Power ISA v2.07
+Power7Power ISA v2.06
+Power6Power ISA v2.05
+PA6T  Power ISA v2.04
+Cell PPU  - Power ISA v2.02 with some minor exceptions
+  - Plus Altivec/VMX ~= 2.03
+Power5++  Power ISA v2.04 (no VMX)
+Power5+   Power ISA v2.03
+Power5- PowerPC User Instruction Set Architecture Book I v2.02
+  - PowerPC Virtual Environment Architecture Book II v2.02
+  - PowerPC Operating Environment Architecture Book III v2.02
+PPC970- PowerPC User Instruction Set Architecture Book I v2.01
+  - PowerPC Virtual Environment Architecture Book II v2.01
+  - PowerPC Operating Environment Architecture Book III v2.01
+  - Plus Altivec/VMX ~= 2.03
+= 
+
+
+Key Features
+
+
+== ==
+CPUVMX (aka. Altivec)
+== ==
+Power9 Yes
+Power8 Yes
+Power7 Yes
+Power6 Yes
+PA6T   Yes
+Cell PPU   Yes
+Power5++   No
+Power5+No
+Power5 No
+PPC970 Yes
+== ==
+
+== 
+CPUVSX
+== 
+Power9 Yes
+Power8 Yes
+Power7 Yes
+Power6 No
+PA6T   No
+Cell PPU   No
+Power5++   No
+Power5+No
+Power5 No
+PPC970 No
+== 
+
+== 
+CPUTransactional Memory
+== 
+Power9 Yes (* see transactional_memory.txt)
+Power8 Yes
+Power7 No
+Power6 No
+PA6T   No
+Cell PPU   No
+Power5++   No
+Power5+No
+Power5 No
+PPC970 No
+== 
-- 
2.17.2