Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6902257ybf; Fri, 6 Mar 2020 06:44:14 -0800 (PST) X-Google-Smtp-Source: ADFU+vsoFmwGG0tROoHEnnh9oyroijOya3UI04GHwbraMa9zo+c39qqcmFvvHp1gZL7985qbGA4G X-Received: by 2002:a9d:6058:: with SMTP id v24mr2686336otj.115.1583505854556; Fri, 06 Mar 2020 06:44:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583505854; cv=none; d=google.com; s=arc-20160816; b=LOwlcMStgXdcehsiXMqKmpJXex1kNVvnO2GAMZEXTrOkYUFgDANnybhsYA1nbTaQ5+ EU0vBFeZ6P2mgHHrstNJljeolBMp24l/7j2VhGYaM3duq92SoTlayi4ZT0T8Tj+8fyBS P68LQqrJOQPqQq9Zy5r/7eLl3cp4w/20L49N4PrzsTKSV4g6VOgHCfjubvTXgnVmaYD1 AsQvrx39TUxQUV48iwYpb0rrTkyxeuGmfq7Blryk6Nfl41I2EZDkJ9yi4Gjt0sWIXJkH 25mW3l0wOq/2dF+fiAS3HHTym69DgNuI+U2NcGEO48jaanzsNylmeIpZ+z+nGX1td4Rx id4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=bQjkOp5oaZSDcDHvIrMaMelZPwRoc8kpZB/NmOuxUdo=; b=bo1e6UaEQw7yT9DAuFxgQWvGTu7gLWmjb3tbSrJnRFoRr22b2Odr0oNUNJMLUaGCnP Ng92oya214R6aEpq7R6AiL40okcuZBjYWrA3SLGdZUvrsRQvhVLDzPzSvK7P70K39/9k SGFU5d1mjY5Is97Wef/tiOZsQhxXKRyd7tUXTPnjbHdYUwv80h/CdSKR8YVxmqRZ+PzE VuuCPUCsGW7NmLpJ7oB+Jhj69xGkzr6n1K+VQM4gMsfqXr7kGFHE3SDuWqmBMlxNRtVg RTXyNA1ixctojVVcXBX+sqwEzyeSYYEbuJy9NM4U8uskVzilEla8etUJh9SiWOUKVwB5 B7yQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x14si1547096oto.221.2020.03.06.06.44.01; Fri, 06 Mar 2020 06:44:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727531AbgCFOnP (ORCPT + 99 others); Fri, 6 Mar 2020 09:43:15 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:53832 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727201AbgCFOmU (ORCPT ); Fri, 6 Mar 2020 09:42:20 -0500 Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jAEB6-0006OA-3G; Fri, 06 Mar 2020 15:42:16 +0100 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id 7A7431C21D4; Fri, 6 Mar 2020 15:42:10 +0100 (CET) Date: Fri, 06 Mar 2020 14:42:10 -0000 From: "tip-bot2 for Thara Gopinath" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] arm64/topology: Populate arch_scale_thermal_pressure() for arm64 platforms Cc: Thara Gopinath , "Peter Zijlstra (Intel)" , Ingo Molnar , x86 , LKML In-Reply-To: <20200222005213.3873-5-thara.gopinath@linaro.org> References: <20200222005213.3873-5-thara.gopinath@linaro.org> MIME-Version: 1.0 Message-ID: <158350573019.28353.350404434656839771.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org 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: ae1677c0bbe23fe30d634ac0d9f5c147ee4adbc1 Gitweb: https://git.kernel.org/tip/ae1677c0bbe23fe30d634ac0d9f5c147ee4adbc1 Author: Thara Gopinath AuthorDate: Fri, 21 Feb 2020 19:52:08 -05:00 Committer: Ingo Molnar CommitterDate: Fri, 06 Mar 2020 12:57:19 +01:00 arm64/topology: Populate arch_scale_thermal_pressure() for arm64 platforms Hook up topology_get_thermal_pressure to arch_scale_thermal_pressure thus enabling scheduler to retrieve instantaneous thermal pressure of a CPU. Signed-off-by: Thara Gopinath Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Ingo Molnar Link: https://lkml.kernel.org/r/20200222005213.3873-5-thara.gopinath@linaro.org --- arch/arm64/include/asm/topology.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/include/asm/topology.h b/arch/arm64/include/asm/topology.h index a4d945d..cbd70d7 100644 --- a/arch/arm64/include/asm/topology.h +++ b/arch/arm64/include/asm/topology.h @@ -25,6 +25,9 @@ int pcibus_to_node(struct pci_bus *bus); /* Enable topology flag updates */ #define arch_update_cpu_topology topology_update_cpu_topology +/* Replace task scheduler's default thermal pressure retrieve API */ +#define arch_scale_thermal_pressure topology_get_thermal_pressure + #include #endif /* _ASM_ARM_TOPOLOGY_H */