Re: [PATCH v10 1/4] cpu/SMT: Provide a default topology_is_primary_thread()

2024-12-26 Thread Yicong Yang
On 2024/12/26 15:18, Shrikanth Hegde wrote: > > > On 12/20/24 13:23, Yicong Yang wrote: >> From: Yicong Yang >> >> Currently if architectures want to support HOTPLUG_SMT they need to >> provide a topology_is_primary_thread() telling the framework which >> thread in the SMT cannot offline. Howeve

Re: [PATCH v10 1/4] cpu/SMT: Provide a default topology_is_primary_thread()

2024-12-25 Thread Shrikanth Hegde
On 12/20/24 13:23, Yicong Yang wrote: From: Yicong Yang Currently if architectures want to support HOTPLUG_SMT they need to provide a topology_is_primary_thread() telling the framework which thread in the SMT cannot offline. However arm64 doesn't have a restriction on which thread in the SMT

Re: [PATCH v10 1/4] cpu/SMT: Provide a default topology_is_primary_thread()

2024-12-24 Thread Yicong Yang
On 2024/12/24 0:34, Jonathan Cameron wrote: > On Fri, 20 Dec 2024 15:59:27 +0800 > Yicong Yang wrote: > >> On 2024/12/20 15:53, Yicong Yang wrote: >>> From: Yicong Yang >>> >>> Currently if architectures want to support HOTPLUG_SMT they need to >>> provide a topology_is_primary_thread() telling

Re: [PATCH v10 1/4] cpu/SMT: Provide a default topology_is_primary_thread()

2024-12-23 Thread Jonathan Cameron
On Fri, 20 Dec 2024 15:59:27 +0800 Yicong Yang wrote: > On 2024/12/20 15:53, Yicong Yang wrote: > > From: Yicong Yang > > > > Currently if architectures want to support HOTPLUG_SMT they need to > > provide a topology_is_primary_thread() telling the framework which > > thread in the SMT cannot o

Re: [PATCH v10 1/4] cpu/SMT: Provide a default topology_is_primary_thread()

2024-12-19 Thread Yicong Yang
On 2024/12/20 15:53, Yicong Yang wrote: > From: Yicong Yang > > Currently if architectures want to support HOTPLUG_SMT they need to > provide a topology_is_primary_thread() telling the framework which > thread in the SMT cannot offline. However arm64 doesn't have a > restriction on which thread i

[PATCH v10 1/4] cpu/SMT: Provide a default topology_is_primary_thread()

2024-12-19 Thread Yicong Yang
From: Yicong Yang Currently if architectures want to support HOTPLUG_SMT they need to provide a topology_is_primary_thread() telling the framework which thread in the SMT cannot offline. However arm64 doesn't have a restriction on which thread in the SMT cannot offline, a simplest choice is that