From nobody Sun Feb 8 05:35:08 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 39642EB64DC for ; Mon, 17 Jul 2023 12:57:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231190AbjGQM5E (ORCPT ); Mon, 17 Jul 2023 08:57:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230273AbjGQM46 (ORCPT ); Mon, 17 Jul 2023 08:56:58 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EE7F172E; Mon, 17 Jul 2023 05:56:26 -0700 (PDT) Date: Mon, 17 Jul 2023 12:56:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1689598572; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Mhe5ES5whgtkOTR4E5hxUtbSDZVzln4/4eHipoIvoVU=; b=NCtk3/OFFobB3/3UrgHq8T1Eeb00+EzlGnZOns3XnptovFqwDpldNnLce43NcAS6Gjzdr1 P878cM7A1HDxCwEQLS2oD2oB77cBAf6TKwy4L/6luS5TWGTc4Fy61cd6CR2q1DQj/JFP9m P3P3GfLI/tCxurJtxx+rvWjicndfH89G7eGJ5L6i1/qfcUrBHBOdfJ2aIfWAyJlHbBKw/M QrWv2iFiMbfXD6umQ/BZE/wJ1JVxTj/yQTCqzcCl3VzgNTXfT+g3+bO6qnTIL0+hk2Z39a JIHXwJDz1qKeQ6iO7G+UQU2cyGDBbsmt+InyZgWIlgZEOTfhOo07m0eh74Z+0w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1689598572; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Mhe5ES5whgtkOTR4E5hxUtbSDZVzln4/4eHipoIvoVU=; b=uLf2oNpPVNaUSZKJIwkk1Btuvscwf7/yiELtwukr75q8C+8w+biO06Jy5KBbyidt5IDbjy lBfMStO0+4rkzHCg== From: "tip-bot2 for Peter Zijlstra" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] x86/sched: Enable cluster scheduling on Hybrid Cc: "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Message-ID: <168959857149.28540.1815236085673081260.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the sched/core branch of tip: Commit-ID: 17953249bf02448efaed75b097aa2e9086ca7685 Gitweb: https://git.kernel.org/tip/17953249bf02448efaed75b097aa2e908= 6ca7685 Author: Peter Zijlstra AuthorDate: Sat, 08 Jul 2023 14:43:45 +02:00 Committer: Peter Zijlstra CommitterDate: Thu, 13 Jul 2023 15:21:53 +02:00 x86/sched: Enable cluster scheduling on Hybrid With the SMT vs non-SMT balancing issues sorted, also enable the cluster domain for Hybrid machines. Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/kernel/smpboot.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index e1aa2cd..4c31447 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -632,14 +632,9 @@ static void __init build_sched_topology(void) }; #endif #ifdef CONFIG_SCHED_CLUSTER - /* - * For now, skip the cluster domain on Hybrid. - */ - if (!cpu_feature_enabled(X86_FEATURE_HYBRID_CPU)) { - x86_topology[i++] =3D (struct sched_domain_topology_level){ - cpu_clustergroup_mask, x86_cluster_flags, SD_INIT_NAME(CLS) - }; - } + x86_topology[i++] =3D (struct sched_domain_topology_level){ + cpu_clustergroup_mask, x86_cluster_flags, SD_INIT_NAME(CLS) + }; #endif #ifdef CONFIG_SCHED_MC x86_topology[i++] =3D (struct sched_domain_topology_level){