[PATCH V2 4/9] ppc64el: kernel: config: enable HTM as common powerpc64 option
This patch enables PPC_TRANSACTIONAL_MEM (Support user-mode Transactional
Memory on PowerPC), which depends on PPC_BOOK3S_64 (enabled on the Debian
kernel build) and selects VSX.
The help text for VSX mentions it causes no harm on processors that do not
support VSX (only adds code):
"""
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).
""" [arch/powerpc/platforms/Kconfig.cputype]
So, I believe it is useful and safe for both powerpc64 and powerpc64le.
Signed-off-by: Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com>
---
debian/config/kernelarch-powerpc/config-arch-64 | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/debian/config/kernelarch-powerpc/config-arch-64 b/debian/config/kernelarch-powerpc/config-arch-64
index 7e1af1d..fcacb72 100644
--- a/debian/config/kernelarch-powerpc/config-arch-64
+++ b/debian/config/kernelarch-powerpc/config-arch-64
@@ -10,6 +10,7 @@ CONFIG_NUMA=y
CONFIG_SCHED_SMT=y
CONFIG_CMDLINE="console=hvsi0 console=hvc0 console=ttyS0,9600 console=tty0"
CONFIG_KERNEL_START=0xc000000000000000
+CONFIG_PPC_TRANSACTIONAL_MEM=y
##
## file: arch/powerpc/platforms/Kconfig
--
1.7.1
Reply to: