From patchwork Wed May 10 13:49:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 92141 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp3641867vqo; Wed, 10 May 2023 06:55:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ78/2QOgxn9rV9KJd6C3DSDBEqW+YCSPLKn4gDPeazsu35naAggaYYDyaMxSPtPVEo89wXY X-Received: by 2002:a17:902:ea09:b0:1ac:4e32:738e with SMTP id s9-20020a170902ea0900b001ac4e32738emr22267002plg.42.1683726954200; Wed, 10 May 2023 06:55:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683726954; cv=none; d=google.com; s=arc-20160816; b=w3Nh43sb7OPfPom2alBYrCPse0U4W5Tf2N+BI74bYB/pcxnBLdiMeL2yfGQyJVZ5x6 Q4liYtq26utjv1fZ22o/G0/7jPGWynUnZZqMsmqI/UlD7SeZUaMPJARtfNrsoMjeoM0Q oFqudEqYR00+Ngd/KeDcULQThlAKnz3Q0xYg6SRvCUCk0spclCOQtjtbeQAMnuOlRyU3 i+tZ2wrLKrarfxk6WXKMhtIiSbhIzOdk3Zwv2rTzAqHHPiGClbLkdZtKZX54Bxu0mCx5 leLpM+JWLmJ+cQNMYFfiTKU7AolE807YqX02qcnkGg8U0P8pMIoJzyTcKcxhGdCsjLqx Nu/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=v3CUVMRHP/ypNgb8JPhTrDX1Fy7uqajPDfdvFNptxK8=; b=qB+gk+aGMlym3Jfwm0y1Wh7A3Agjw0KhXESEvkirich0g5f0XNFNzjhL4OX1IBMfry MvW0JwNmuAoDZmhA43qaVpMBfGvRI6sxUm2fiJBFj8jnOlTGMpD4NmxAytxJGfeb9fNt jNFeLB7nvPGapK1ywZPQ6v1o/4lAkGQUmhhbmuOmergb1DsCx1qmD1i/KgEup5X30FHq 1olMNyOXtmdPZW07oKX9zSESl147NImJlE/JXuGABvHYjUHj0jwiZnNpDD2mf2u6HtV1 ADKQHbQWJqyKekO1U3nxAmMvN+GK001b8ZusOQhAp4V8wURWzzpsiW0xohZKXHuHnTsB hDnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=afQZlGc7; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=aEMEgFV8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e6-20020a17090301c600b001a1faee77fesi4443946plh.302.2023.05.10.06.55.39; Wed, 10 May 2023 06:55:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=afQZlGc7; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=aEMEgFV8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237307AbjEJNtf (ORCPT + 99 others); Wed, 10 May 2023 09:49:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237234AbjEJNtT (ORCPT ); Wed, 10 May 2023 09:49:19 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE1F049D9; Wed, 10 May 2023 06:49:11 -0700 (PDT) Date: Wed, 10 May 2023 13:49:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1683726550; 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: in-reply-to:in-reply-to:references:references; bh=v3CUVMRHP/ypNgb8JPhTrDX1Fy7uqajPDfdvFNptxK8=; b=afQZlGc7k86PSie8RsYEHgo4OhO6gT2JAgL9h2K3hj/EandjRv7FLjbwK7OpA9MQxPsOdd /bcmzmsEOIKnFM9Vt5YfRJiTVf1Zx64uWjN8cA6uTXRycqtokT2v7mKMlRbjxdeppD7hUt X4+hZmGRvRs3tlyauTU6xIMeeTjeKqjj7fjGQO8rfqg98uhVeENQW6JcHhUWLhUGzFW7uO xBJ5E89M5H6W2/i/GHE57N/Aw8ah7t+1x4ViZodYxATp6R+O1+jS5zOAffXmZDDvjQaTA4 dUzL6k4i3lD+nvYXyuhKZhHNzhPylP0TwNyMneKuIyNWeUb47+hUqA4hXyL7RA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1683726550; 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: in-reply-to:in-reply-to:references:references; bh=v3CUVMRHP/ypNgb8JPhTrDX1Fy7uqajPDfdvFNptxK8=; b=aEMEgFV8FFa/aYOdgsymqSz8KzJwB0IPxmCCzoUVtDf1vMkVrza9q5On3P6zZRYvg8NWNc U0I+b+tqt0RJcgCQ== From: "tip-bot2 for Chen Yu" 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: Add the SD_ASYM_PACKING flag to the die domain of hybrid processors Cc: Ricardo Neri , Chen Yu , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230406203148.19182-13-ricardo.neri-calderon@linux.intel.com> References: <20230406203148.19182-13-ricardo.neri-calderon@linux.intel.com> MIME-Version: 1.0 Message-ID: <168372655018.404.15652276815766387273.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762462303917679638?= X-GMAIL-MSGID: =?utf-8?q?1765515674608825887?= The following commit has been merged into the sched/core branch of tip: Commit-ID: 044f0e27dec6e30bb8875a4a12c5f2594964e93f Gitweb: https://git.kernel.org/tip/044f0e27dec6e30bb8875a4a12c5f2594964e93f Author: Chen Yu AuthorDate: Thu, 06 Apr 2023 13:31:48 -07:00 Committer: Peter Zijlstra CommitterDate: Mon, 08 May 2023 10:58:38 +02:00 x86/sched: Add the SD_ASYM_PACKING flag to the die domain of hybrid processors Intel Meteor Lake hybrid processors have cores in two separate dies. The cores in one of the dies have higher maximum frequency. Use the SD_ASYM_ PACKING flag to give higher priority to the die with CPUs of higher maximum frequency. Suggested-by: Ricardo Neri Signed-off-by: Chen Yu Signed-off-by: Peter Zijlstra (Intel) Link: https://lore.kernel.org/r/20230406203148.19182-13-ricardo.neri-calderon@linux.intel.com --- arch/x86/kernel/smpboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index a335abd..34066f6 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -583,7 +583,7 @@ static struct sched_domain_topology_level x86_hybrid_topology[] = { #ifdef CONFIG_SCHED_MC { cpu_coregroup_mask, x86_core_flags, SD_INIT_NAME(MC) }, #endif - { cpu_cpu_mask, SD_INIT_NAME(DIE) }, + { cpu_cpu_mask, x86_sched_itmt_flags, SD_INIT_NAME(DIE) }, { NULL, }, };