Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp338802lqh; Fri, 31 May 2024 02:59:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW8SP0frOrdU3TKSW736GIZBQXjlTZtV1XVL2V8d8BAxnw2SK61mfE3xXdPHO7HE+Ylh7+cv3JqqsZLVip0sgl97UQS6H0ZX3g78R0aFA== X-Google-Smtp-Source: AGHT+IGlRftd+Run/UgMwoSMstw1vbGSi42KoKiMd8nNhmfndHbe1j0Qo6XtcklvS7E+VwC3eX3g X-Received: by 2002:a05:6214:5b85:b0:6ae:2654:be98 with SMTP id 6a1803df08f44-6aecd6c2714mr15449236d6.38.1717149594964; Fri, 31 May 2024 02:59:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717149594; cv=pass; d=google.com; s=arc-20160816; b=Hdly0LX7SgAzAH+9g9bk+RbY2OwunwbK72vaXWDCmcAZOgYNTEVAL46KnUpV0hd8y4 Xtn50/sYl+zx9S3aaBzV85/jR2JWvz7ZTdCyHXuqdDgUSVb/poOuDiCIckJNkIxWayPX SRhh1kN4EaZUiTlfmbG7J1jMnrpuBbwA3zWJ1vXnIoWEOt38es39XTjA2wS1/ZjNdLFK C1eTFg9E6XQUfMUADNcRQo/x2SVGADKLckjlFNzaCCLdUqj7YeYa2W1BZN9cCQX23YHQ XdNsNVflyL2F6GkiALm8QEte83QA5odUGW5Z9069FAzqMGthHBBjX1be867s5r3ElGH5 BTAQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=cTMVPF2GH7QajfvTeNubuoLs6K6kCrJH8oBiVsIrwks=; fh=b1KLHK/J/HUeoAMmncyXILWqp4jUsTeJiWk5FDEr1xU=; b=0+Mt23MD9E+3xcE8I0DZjF5ROS9+rTpNL9c3PYb5u1F+QYvQ6XM+f9h2sWNqLIhWA2 1aEBHYL/jZHMo9DYQUV1Yo843sjKtWHTcdkJ8LG1LQvoa3ZzJyyqekpTzDB4A+XSdVGk jWps7JnRURk6JN2kIMkpJzLMWxORMql0FXe/engZrBXnVof/g+jj/+jJynBmoSBVB2Ng AXAzhYuof/yC0Q3MTb7xHDAHjPo2DaFiezlZZ1VM06zNZYEw/kx5IAVe7guUxnHpcaTB 1lG4f4BY/Smdf2tG0xhhvTalt7CHaL9BUk7bTG/xMgx9Obj13+CFcPs045VcIhCbZIpb aMUw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=o+hOdA5I; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-196635-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196635-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6ae4a7423fdsi16907386d6.147.2024.05.31.02.59.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 02:59:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196635-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=o+hOdA5I; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-196635-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196635-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id ACA881C21EE4 for ; Fri, 31 May 2024 09:59:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 513C71422C7; Fri, 31 May 2024 09:59:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="o+hOdA5I"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="VzzTcxfl" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 24FBB140395; Fri, 31 May 2024 09:59:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717149588; cv=none; b=B/VQmPCfVdlySSFYPXdIah//WvK3r9bnG1jIu8bhOP1jd2f7WXWqhBOfljI9puypPH7nfIjWYZFt4OoKNLWzj9Z6gzaST3ZTompywQsgzcFPR1Ws8JxS+EqrwPc8VIouteaLzzdgd3K0A/IV4xkpeDMRu7F4eJ2L5c5IPWYjv7M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717149588; c=relaxed/simple; bh=5bkerezig87RZ5oi5fPwTc4JzitlAm+g+mlN/HPTKqQ=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=p+VcXV5yvDQkVwPCY/fK1fzj5aRjbq/i005S3UWeH3dMGJlNSd4PZwIdNJxh/F9Pqu48S++nNzNpp6rmyUBV1sqMBCOCDdRPSkOB0izpWbH5gKxxO7eDszX1EXkmi4UjgVXNfhF4BYTFjRnYtcu7Kn1+wEnuUWScfD4Ib6bsbVw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=o+hOdA5I; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=VzzTcxfl; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Fri, 31 May 2024 09:59:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1717149585; 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=cTMVPF2GH7QajfvTeNubuoLs6K6kCrJH8oBiVsIrwks=; b=o+hOdA5I26IzDrWf5GcqvdVy/X5NTdaRS2LiLA88hEsW3Kdcefo7VB7V/Hd9t1NRH+WixL IMDZanxymo1z24J+kie01c2cloADAXRjHvfP6aUQD5yZsFTQ2qJV/oNHQUiiQRD4BYtmW5 ih7xqSdTYmnh1XOMWUUMgsZBgL2+bBUJTCi3h9jDfFnkjaj40T/xUxrnS22RKhaD5P8Rt1 hbmsLHkw9dziM4Iv8ju7Dr+AlOqiE56EMLSvK15maLj7YQYHT8hqpYogTwlNT5lE76FN3V MSZbOaBCo9i9tgFrgztmds0kTIgRr7jNmXBspF+RN2geLYckgNeLloj0jlwXRw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1717149585; 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=cTMVPF2GH7QajfvTeNubuoLs6K6kCrJH8oBiVsIrwks=; b=VzzTcxflg6v3OsCZlPdpPAWLyuJqvfiCvC46GNLfn+HLJI1osmSpG9oWOT4Teo6JlVg3D6 y2EVWOqKXmnFWJDw== From: "tip-bot2 for Phil Auld" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/urgent] sched/x86: Export 'percpu arch_freq_scale' Cc: Phil Auld , Ingo Molnar , Peter Zijlstra , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240530181548.2039216-1-pauld@redhat.com> References: <20240530181548.2039216-1-pauld@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171714958509.10875.11912816904466913393.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the sched/urgent branch of tip: Commit-ID: d40605a6823577a6c40fad6fb1f10a40ea0389d7 Gitweb: https://git.kernel.org/tip/d40605a6823577a6c40fad6fb1f10a40ea0389d7 Author: Phil Auld AuthorDate: Thu, 30 May 2024 14:15:48 -04:00 Committer: Ingo Molnar CommitterDate: Fri, 31 May 2024 11:48:42 +02:00 sched/x86: Export 'percpu arch_freq_scale' Commit: 7bc263840bc3 ("sched/topology: Consolidate and clean up access to a CPU's max compute capacity") removed rq->cpu_capacity_orig in favor of using arch_scale_freq_capacity() calls. Export the underlying percpu symbol on x86 so that external trace point helper modules can be made to work again. Signed-off-by: Phil Auld Signed-off-by: Ingo Molnar Cc: Peter Zijlstra Link: https://lore.kernel.org/r/20240530181548.2039216-1-pauld@redhat.com --- arch/x86/kernel/cpu/aperfmperf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/cpu/aperfmperf.c b/arch/x86/kernel/cpu/aperfmperf.c index f9a8c7b..b3fa61d 100644 --- a/arch/x86/kernel/cpu/aperfmperf.c +++ b/arch/x86/kernel/cpu/aperfmperf.c @@ -345,6 +345,7 @@ static DECLARE_WORK(disable_freq_invariance_work, disable_freq_invariance_workfn); DEFINE_PER_CPU(unsigned long, arch_freq_scale) = SCHED_CAPACITY_SCALE; +EXPORT_PER_CPU_SYMBOL_GPL(arch_freq_scale); static void scale_freq_tick(u64 acnt, u64 mcnt) {