Thread (7 messages) 7 messages, 4 authors, 2024-08-13

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

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help