commit | 954e6da54b2f3a5e2634312db800bc1395c509ee | [log] [tgz] |
---|---|---|
author | Nathan Fontenot <nfont@austin.ibm.com> | Thu Aug 05 07:42:11 2010 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Aug 24 15:26:30 2010 +1000 |
tree | 9d5d7e9bab899e694abdc5af716ee878e148351c | |
parent | 1afb56cf977ab41bff4fc6bf9e5864770b19b880 [diff] |
powerpc: Correct smt_enabled=X boot option for > 2 threads per core The 'smt_enabled=X' boot option does not handle values of X > 2. For Power 7 processors with smt modes of 0,1,2,3, and 4 this does not work. This patch allows the smt_enabled option to be set to any value limited to a max equal to the number of threads per core. Signed-off-by: Nathan Fontenot <nfont@austin.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>