diff options
author | Cyril Bur <cyrilbur@gmail.com> | 2017-10-12 21:17:16 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-10-20 11:10:56 +1100 |
commit | 07fd1761e1cd2b5ecdb470fc228d52ccdf75e05b (patch) | |
tree | 20d106a019dbfbab1f1401d85a96704bc7b20579 /Documentation/admin-guide/index.rst | |
parent | ddd46ed2e61cea6d5d92f4f2fbb2eeda4a6d962f (diff) | |
download | linux-07fd1761e1cd2b5ecdb470fc228d52ccdf75e05b.tar.gz linux-07fd1761e1cd2b5ecdb470fc228d52ccdf75e05b.tar.xz |
powerpc/tm: Add commandline option to disable hardware transactional memory
Currently the kernel relies on firmware to inform it whether or not the
CPU supports HTM and as long as the kernel was built with
CONFIG_PPC_TRANSACTIONAL_MEM=y then it will allow userspace to make
use of the facility.
There may be situations where it would be advantageous for the kernel
to not allow userspace to use HTM, currently the only way to achieve
this is to recompile the kernel with CONFIG_PPC_TRANSACTIONAL_MEM=n.
This patch adds a simple commandline option so that HTM can be
disabled at boot time.
Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
[mpe: Simplify to a bool, move to prom.c, put doco in the right place.
Always disable, regardless of initial state, to avoid user confusion.]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'Documentation/admin-guide/index.rst')
0 files changed, 0 insertions, 0 deletions