[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230814105217.m5arvw36tytlda6c@linux.vnet.ibm.com>
Date: Mon, 14 Aug 2023 16:22:17 +0530
From: Srikar Dronamraju <srikar@...ux.vnet.ibm.com>
To: Laurent Dufour <ldufour@...ux.ibm.com>
Cc: linuxppc-dev@...ts.ozlabs.org, linux-arch@...r.kernel.org,
dave.hansen@...ux.intel.com, linux-kernel@...r.kernel.org,
mingo@...hat.com, bp@...en8.de, npiggin@...il.com,
tglx@...utronix.de, rui.zhang@...el.com
Subject: Re: [PATCH v4 09/10] powerpc: Add HOTPLUG_SMT support
* Laurent Dufour <ldufour@...ux.ibm.com> [2023-07-05 16:51:42]:
> From: Michael Ellerman <mpe@...erman.id.au>
>
> Add support for HOTPLUG_SMT, which enables the generic sysfs SMT support
> files in /sys/devices/system/cpu/smt, as well as the "nosmt" boot
> parameter.
>
> Implement the recently added hooks to allow partial SMT states, allow
> any number of threads per core.
>
> Tie the config symbol to HOTPLUG_CPU, which enables it on the major
> platforms that support SMT. If there are other platforms that want the
> SMT support that can be tweaked in future.
>
> Signed-off-by: Michael Ellerman <mpe@...erman.id.au>
> [ldufour: pass current SMT level to cpu_smt_set_num_threads]
> [ldufour: remove topology_smt_supported]
> [ldufour: remove topology_smt_threads_supported]
> [ldufour: select CONFIG_SMT_NUM_THREADS_DYNAMIC]
> [ldufour: update kernel-parameters.txt]
> Signed-off-by: Laurent Dufour <ldufour@...ux.ibm.com>
Looks good to me.
Reviewed-by: Srikar Dronamraju <srikar@...ux.vnet.ibm.com>
--
Thanks and Regards
Srikar Dronamraju
Powered by blists - more mailing lists