Re: [PATCH v2 1/2] cpu/SMT: Enable SMT only if a core is online

From
Thomas Gleixner <hidden>
Date
2024-07-31 10:27:49
Also in
lkml
Reply to
Nysal Jan K.A., 2024-07-31
On Wed, Jul 31 2024 at 08:31, Nysal Jan K. A. wrote:
If the user has decided to offline certain cores, enabling SMT should
not online CPUs in those cores. This patch fixes the issue and changes
the behaviour as described, by introducing an arch specific function
topology_is_core_online(). It is currently implemented only for PowerPC.

Fixes: 73c58e7e1412 ("powerpc: Add HOTPLUG_SMT support")
Reported-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Closes: https://groups.google.com/g/powerpc-utils-devel/c/wrwVzAAnRlI/m/5KJSoqP4BAAJ
Signed-off-by: Nysal Jan K.A <redacted>
Assuming this goes through the PPC tree:

  Reviewed-by: Thomas Gleixner [off-list ref]

Michael: If I should route it through my tree, let me know.

Thanks,

        tglx
Thread (7 messages) 7 messages, 4 authors, last reply 2024-08-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help