Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6903171ybf; Fri, 6 Mar 2020 06:45:17 -0800 (PST) X-Google-Smtp-Source: ADFU+vsQNBzMm/pBsHi3UvTW2LIB9f0jtPDAEf3IuyCyZ0HSIAk0ZIKqrcSUWB2leMO4xTcwiXzl X-Received: by 2002:aca:f1c6:: with SMTP id p189mr2891005oih.159.1583505917255; Fri, 06 Mar 2020 06:45:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583505917; cv=none; d=google.com; s=arc-20160816; b=VqSSF4oGddZ7K/ek6y39LqB3yBp0K9ad8LDXuZxN58rzYmrOgUyTyHU+RGOX9aqmcy bdt2LTfjRas5jZ5tjQ+aG9SJipSQ/u730IyqfCjnH9dr0ND8eh8ghJL24Ee6JRsBerDT 1QAGxRYLwRX88jPs1lpZhmxZLOc0bbVmdlkEkOxdHqPde5wFSloS8vGXR9QwxROGYqB3 RHVgi4aBKfFUGXOZsAbXvycmnzq5twd4fcD1S+zLYrWtOZe+NgqqjOkHUSyFm3gSBlgG 37cFwBn2ST0RmNJbfMGaPmY+bQjRqSlRMPVcr/6B6dd9BHpLlzxzAkEkeyJ0DPPTSao4 e3tg== 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=qSvQe01jixdqOqCa2ZI359Exu0GzKRS+cOKTX4ICtl4=; b=BpAi55jhud4Qcn/dAH+0591T5GV9Q4txYI8HsuzClRuUn1/TYv5Wfy+DpHh/n0mnyJ b0UePPGWMFq76cAjMk6lR/Rm8zuA+NmbFTDpRT8S8LmFV1jXo39rr/Qlg0QMzSb1ez/t ta5RPtQ3y8y2yPC0m7MUduM2C4FuGH1P08pzdQU/r8FmtoJBIpf2u9ly88FGK2THSBUX Gu5WqV/a97gbKZDixgq1LsmdAsL+T1eAW8suTX3cZ8ADn6Ut/y+hrGx/DOWQzIZCINxM NYcz1aQzP71Z9aGz9iwD3Z8V4KjUnhYLUFzmINW4BLN0wPaxBbilIfxCIRlKF52TFRIy MwNA== 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 a25si1328514oia.84.2020.03.06.06.45.05; Fri, 06 Mar 2020 06:45:17 -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 S1727541AbgCFOnV (ORCPT + 99 others); Fri, 6 Mar 2020 09:43:21 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:53823 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727186AbgCFOmT (ORCPT ); Fri, 6 Mar 2020 09:42:19 -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 1jAEB5-0006O2-Ce; Fri, 06 Mar 2020 15:42:15 +0100 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id 1FEE11C21D3; Fri, 6 Mar 2020 15:42:10 +0100 (CET) Date: Fri, 06 Mar 2020 14:42:09 -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] arm/topology: Populate arch_scale_thermal_pressure() for ARM platforms Cc: Thara Gopinath , "Peter Zijlstra (Intel)" , Ingo Molnar , x86 , LKML In-Reply-To: <20200222005213.3873-6-thara.gopinath@linaro.org> References: <20200222005213.3873-6-thara.gopinath@linaro.org> MIME-Version: 1.0 Message-ID: <158350572977.28353.13198992770282457742.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: 8eab879c5463d1a16a314790764c4c9d6c74c64c Gitweb: https://git.kernel.org/tip/8eab879c5463d1a16a314790764c4c9d6c74c64c Author: Thara Gopinath AuthorDate: Fri, 21 Feb 2020 19:52:09 -05:00 Committer: Ingo Molnar CommitterDate: Fri, 06 Mar 2020 12:57:19 +01:00 arm/topology: Populate arch_scale_thermal_pressure() for ARM 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-6-thara.gopinath@linaro.org --- arch/arm/include/asm/topology.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/include/asm/topology.h b/arch/arm/include/asm/topology.h index 8a0fae9..435aba2 100644 --- a/arch/arm/include/asm/topology.h +++ b/arch/arm/include/asm/topology.h @@ -16,6 +16,9 @@ /* 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 + #else static inline void init_cpu_topology(void) { }