lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b53badc6-d020-9683-4365-fb49a269caa4@huawei.com>
Date: Thu, 29 Aug 2024 14:50:02 +0800
From: Yicong Yang <yangyicong@...wei.com>
To: Pierre Gondois <pierre.gondois@....com>
CC: <yangyicong@...ilicon.com>, <linuxppc-dev@...ts.ozlabs.org>,
	<bp@...en8.de>, <dave.hansen@...ux.intel.com>, <x86@...nel.org>,
	<mingo@...hat.com>, <linux-arm-kernel@...ts.infradead.org>,
	<mpe@...erman.id.au>, <peterz@...radead.org>, <tglx@...utronix.de>,
	<sudeep.holla@....com>, <will@...nel.org>, <catalin.marinas@....com>,
	<linux-kernel@...r.kernel.org>, <dietmar.eggemann@....com>,
	<gregkh@...uxfoundation.org>, <rafael@...nel.org>,
	<jonathan.cameron@...wei.com>, <prime.zeng@...ilicon.com>,
	<linuxarm@...wei.com>, <xuwei5@...wei.com>, <guohanjun@...wei.com>
Subject: Re: [PATCH v5 4/4] arm64: Kconfig: Enable HOTPLUG_SMT

On 2024/8/27 23:40, Pierre Gondois wrote:
> Hello Yicong,
> 
> Is it necessary to have an explicit dependency over SMP for arm64 ? Cf.
>   commit 4b3dc9679cf7 ("arm64: force CONFIG_SMP=y and remove redundant #ifdefs")

Thanks for the information. Then it's redundant to depend on CONFIG_SMP. Will drop it.

> 
> Regards,
> Pierre
> 
> On 8/6/24 10:53, Yicong Yang wrote:
>> From: Yicong Yang <yangyicong@...ilicon.com>
>>
>> Enable HOTPLUG_SMT for SMT control.
>>
>> Signed-off-by: Yicong Yang <yangyicong@...ilicon.com>
>> ---
>>   arch/arm64/Kconfig | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
>> index a2f8ff354ca6..bd3bc2f5e0ec 100644
>> --- a/arch/arm64/Kconfig
>> +++ b/arch/arm64/Kconfig
>> @@ -238,6 +238,7 @@ config ARM64
>>       select HAVE_KRETPROBES
>>       select HAVE_GENERIC_VDSO
>>       select HOTPLUG_CORE_SYNC_DEAD if HOTPLUG_CPU
>> +    select HOTPLUG_SMT if (SMP && HOTPLUG_CPU)
>>       select IRQ_DOMAIN
>>       select IRQ_FORCED_THREADING
>>       select KASAN_VMALLOC if KASAN
> 
> .

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ