summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorMichael Neuling2008-06-25 06:07:18 +0200
committerPaul Mackerras2008-07-01 03:28:51 +0200
commit96d5b52c8473ae6ee63d592474bcc1255df06102 (patch)
tree600100969a2400908746cd140e68b9c1d29da374 /arch/powerpc
parentpowerpc: Add VSX context save/restore, ptrace and signal support (diff)
downloadkernel-qcow2-linux-96d5b52c8473ae6ee63d592474bcc1255df06102.tar.gz
kernel-qcow2-linux-96d5b52c8473ae6ee63d592474bcc1255df06102.tar.xz
kernel-qcow2-linux-96d5b52c8473ae6ee63d592474bcc1255df06102.zip
powerpc: Add CONFIG_VSX config option
Add CONFIG_VSX config build option. Must compile with POWER4, FPU and ALTIVEC. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/platforms/Kconfig.cputype16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype
index c66b8ed7e7d9..5bc4b611ff88 100644
--- a/arch/powerpc/platforms/Kconfig.cputype
+++ b/arch/powerpc/platforms/Kconfig.cputype
@@ -160,6 +160,22 @@ config ALTIVEC
If in doubt, say Y here.
+config VSX
+ bool "VSX Support"
+ depends on POWER4 && ALTIVEC && PPC_FPU
+ ---help---
+
+ This option enables kernel support for the Vector Scaler extensions
+ to the PowerPC processor. The kernel currently supports saving and
+ restoring VSX registers, and turning on the 'VSX enable' bit so user
+ processes can execute VSX instructions.
+
+ This option is only useful if you have a processor that supports
+ VSX (P7 and above), but does not have any affect on a non-VSX
+ CPUs (it does, however add code to the kernel).
+
+ If in doubt, say Y here.
+
config SPE
bool "SPE Support"
depends on E200 || (E500 && !PPC_E500MC)