From patchwork Tue Nov 21 09:26:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yicong Yang X-Patchwork-Id: 167585 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2b07:b0:403:3b70:6f57 with SMTP id io7csp499854vqb; Tue, 21 Nov 2023 01:29:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IHwHTESBUEzQH7Qy5xwPWEL5aIiZCn4BlOvGhiUvZ13sT60/ivm2n9sEdp6tM8fHC2IBV0c X-Received: by 2002:a05:6808:302a:b0:3a7:8f94:743a with SMTP id ay42-20020a056808302a00b003a78f94743amr13010882oib.10.1700558977420; Tue, 21 Nov 2023 01:29:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700558977; cv=none; d=google.com; s=arc-20160816; b=sP7na/EDfOahDHY86auoy/dy1rmLv96XfPjOGW89Kd7ZsiZm/T4JAnrkTq/Q4oD845 Njk+b0GWt/6BEH2dGeNLUbzKTP8/WghtKaYF3IeitMwVNaoxcbMW5hQxg6yk75aqb+ZV tMtnttdKZpwX0z1X2RI/jg+H5fVUZS09l7Ednm2RuWRfhn0NPBVceTu5UmejvTPC7MKK ZqHwCB7fYa75rEsDQP6kO4zuv1mgmfcBK4Jkc8hlTHor2MDp2fm62WxQzOmrwXQCkuBE WR3ECYIoamxNNYaTnOhM/7qBeWZB+Lb6D9pgBzoKBeEHs8H0SrfI11i0CCknkNMOQhRu EDrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=xi5q7GySyYvE5kX2pNz1QQ2a129qDFSB/K0qNl1GHcc=; fh=3iB9MPM7gOV8iaw6nlpksJFY47xoJvfTkJIkOXUlBK4=; b=QXnS++PlxWqNEdtnHVGZUhbw2Arppb4STyWRR3z6zTy63quAhW87xrQLuZ5OCUA51s p0X6zUPjX3Sp9p6YZui1i1KDpvXsZN0TVyFL4zz04RBJCGBeiVinfb5k5kxmKEErZNpA LzX7v/fkVhs7W8KQtri1PJl6vERixphfea01q1o6VN6U/uXaI4jwNIAfPyQGkt3Ro8FC lD6hMArOUgu7DmbaRlb3MX60kpXx7sKJ2CXHHeFIUfhNvDPXFfFqdYwsFXF/19DobSJA ldplbizLP4zG49N9Hd/IBkVOGnWzl1SGcBGFfgICeCloqpIKAoXPK37B9qncTXEPo8l4 6k6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id 31-20020a63105f000000b005b882238681si10052572pgq.620.2023.11.21.01.29.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 01:29:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 443158098AE5; Tue, 21 Nov 2023 01:29:32 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231961AbjKUJ3d (ORCPT + 99 others); Tue, 21 Nov 2023 04:29:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232222AbjKUJ3c (ORCPT ); Tue, 21 Nov 2023 04:29:32 -0500 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A590E124 for ; Tue, 21 Nov 2023 01:29:24 -0800 (PST) Received: from canpemm500009.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4SZJwJ66JjzWhfF; Tue, 21 Nov 2023 17:28:48 +0800 (CST) Received: from localhost.localdomain (10.50.165.33) by canpemm500009.china.huawei.com (7.192.105.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 21 Nov 2023 17:29:20 +0800 From: Yicong Yang To: , , , CC: , , , , , , , Subject: [PATCH v4 4/4] arm64: Kconfig: Enable HOTPLUG_SMT Date: Tue, 21 Nov 2023 17:26:02 +0800 Message-ID: <20231121092602.47792-5-yangyicong@huawei.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20231121092602.47792-1-yangyicong@huawei.com> References: <20231121092602.47792-1-yangyicong@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.50.165.33] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To canpemm500009.china.huawei.com (7.192.105.203) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 21 Nov 2023 01:29:32 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783165330245424975 X-GMAIL-MSGID: 1783165330245424975 From: Yicong Yang Enable HOTPLUG_SMT for SMT control. Signed-off-by: Yicong Yang --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 7b071a00425d..9f3f4efc0375 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -233,6 +233,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