Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1217634ybj; Tue, 5 May 2020 15:39:12 -0700 (PDT) X-Google-Smtp-Source: APiQypJau+1KU1dB9LNP5vACK8RsekpTbPh/QvTtXL5qqwJFWSJg/CnhMnqd6zEDk7UIKQq+2cKO X-Received: by 2002:a17:907:b11:: with SMTP id h17mr4924523ejl.371.1588718352094; Tue, 05 May 2020 15:39:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588718352; cv=none; d=google.com; s=arc-20160816; b=cbGcEO4t8WPYmbnrfgZ4ABd8fwdUgYgye1MMo+jjGE5wgFtTrtcmjNPlgA+J82aB7R tT/TPYHom5wsKeM7NwFz6jachYu7YB92L/tILRXutwgkVzp+RmLgekvRrk5qdXrXlA/8 SA+BVVQjPFnRgikxdze1dkybQhoJ8G8XXdLn6X2ozOozTNrzKHHbccP77TKEuk6U8Bgq I2Ujr58zQp5uitPaV2KXY0dhM80U2T6ddBs3yEgML5MQ9+1/F4MmR9AToUY52j455MTA g35xTiX81QS3PxfGHAcLqp3bVqPos9NSCF0M2N/O315TKfqiaXn1QHnKy/QXjVYRqXpV Kafw== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=W9bZPR2bixSXhNlt5bAe/HXNDWpxSTms5x+Xa+0nPQ0=; b=dTNFezM9SdLyYh0ig+Qa2Cx2XQdqAuUFiLfeGamJU6k4Yaabn9jgcgKOEDkAmlV+S8 e7Cr4ZqlsRO11XNexVz2UEiDGbQdk6uI0X4JcNCvApXZYmI5SOs/tUCtq1sTjML3+W04 EReKCrpXvSJ9oSoqHr0eD/91bYleHyWtSDyTqr0+Mz1qqwqHkhm+wEZiJpV5o2ZpZNMO +NPaN+ZVD4onZzZMoAwmwKwJbbwvlpfkB38WqT+cUOI6oWuPX+PdFvab5mj2WfY/gDAz Iiw8EsrkJd0unGLPS0Mb7S+DhrKMIWvF8MFBmqu6s8GSSPBCRKwYSAF7Tj2LBvrPvAnj Mw9Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s10si60238ejf.121.2020.05.05.15.38.48; Tue, 05 May 2020 15:39:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729336AbgEEWgp (ORCPT + 99 others); Tue, 5 May 2020 18:36:45 -0400 Received: from mga09.intel.com ([134.134.136.24]:41848 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728642AbgEEWgo (ORCPT ); Tue, 5 May 2020 18:36:44 -0400 IronPort-SDR: c0HpQGf4B60MGmI9z3kIexyVDNtAUKuKzbaySfOVj7GmRbAJFjxWWL7IRw8jW9N6fL+decH1it d34L/dlQxA2g== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2020 15:36:44 -0700 IronPort-SDR: Fi7+BuLSZn4pswOV9XXmFz31Skwvg9hiV7SQckA9RHhPuWnpeyr1Xb2PY9QEoc1Gv3napjGPNM bp7SjizYj01g== X-IronPort-AV: E=Sophos;i="5.73,357,1583222400"; d="scan'208";a="284410824" Received: from rchatre-s.jf.intel.com ([10.54.70.76]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2020 15:36:43 -0700 From: Reinette Chatre To: tglx@linutronix.de, fenghua.yu@intel.com, bp@alien8.de, tony.luck@intel.com Cc: kuo-lang.tseng@intel.com, mingo@redhat.com, babu.moger@amd.com, hpa@zytor.com, x86@kernel.org, linux-kernel@vger.kernel.org, Reinette Chatre , Borislav Petkov Subject: [PATCH V2 1/7] x86/resctrl: Rename asm/resctrl_sched.h to asm/resctrl.h Date: Tue, 5 May 2020 15:36:12 -0700 Message-Id: <6914e0ef880b539a82a6d889f9423496d471ad1d.1588715690.git.reinette.chatre@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org asm/resctrl_sched.h is dedicated to the code used for configuration of the CPU resource control state when a task is scheduled. Rename resctrl_sched.h to resctrl.h in preparation of additions that will no longer make this file dedicated to work done during scheduling. No functional change. Suggested-by: Borislav Petkov Signed-off-by: Reinette Chatre --- MAINTAINERS | 2 +- arch/x86/include/asm/{resctrl_sched.h => resctrl.h} | 6 +++--- arch/x86/kernel/cpu/resctrl/core.c | 2 +- arch/x86/kernel/cpu/resctrl/pseudo_lock.c | 2 +- arch/x86/kernel/cpu/resctrl/rdtgroup.c | 2 +- arch/x86/kernel/process_32.c | 2 +- arch/x86/kernel/process_64.c | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) rename arch/x86/include/asm/{resctrl_sched.h => resctrl.h} (96%) diff --git a/MAINTAINERS b/MAINTAINERS index 2926327e4976..ecfb07ab49b0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14227,7 +14227,7 @@ M: Reinette Chatre L: linux-kernel@vger.kernel.org S: Supported F: Documentation/x86/resctrl* -F: arch/x86/include/asm/resctrl_sched.h +F: arch/x86/include/asm/resctrl.h F: arch/x86/kernel/cpu/resctrl/ F: tools/testing/selftests/resctrl/ diff --git a/arch/x86/include/asm/resctrl_sched.h b/arch/x86/include/asm/resctrl.h similarity index 96% rename from arch/x86/include/asm/resctrl_sched.h rename to arch/x86/include/asm/resctrl.h index f6b7fe2833cc..99b5728e441d 100644 --- a/arch/x86/include/asm/resctrl_sched.h +++ b/arch/x86/include/asm/resctrl.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_RESCTRL_SCHED_H -#define _ASM_X86_RESCTRL_SCHED_H +#ifndef _ASM_X86_RESCTRL_H +#define _ASM_X86_RESCTRL_H #ifdef CONFIG_X86_CPU_RESCTRL @@ -90,4 +90,4 @@ static inline void resctrl_sched_in(void) {} #endif /* CONFIG_X86_CPU_RESCTRL */ -#endif /* _ASM_X86_RESCTRL_SCHED_H */ +#endif /* _ASM_X86_RESCTRL_H */ diff --git a/arch/x86/kernel/cpu/resctrl/core.c b/arch/x86/kernel/cpu/resctrl/core.c index d8cc5223b7ce..6f38c88226af 100644 --- a/arch/x86/kernel/cpu/resctrl/core.c +++ b/arch/x86/kernel/cpu/resctrl/core.c @@ -22,7 +22,7 @@ #include #include -#include +#include #include "internal.h" /* Mutex to protect rdtgroup access. */ diff --git a/arch/x86/kernel/cpu/resctrl/pseudo_lock.c b/arch/x86/kernel/cpu/resctrl/pseudo_lock.c index d7623e1b927d..4bd28b388a1a 100644 --- a/arch/x86/kernel/cpu/resctrl/pseudo_lock.c +++ b/arch/x86/kernel/cpu/resctrl/pseudo_lock.c @@ -24,7 +24,7 @@ #include #include -#include +#include #include #include "../../events/perf_event.h" /* For X86_CONFIG() */ diff --git a/arch/x86/kernel/cpu/resctrl/rdtgroup.c b/arch/x86/kernel/cpu/resctrl/rdtgroup.c index 5a359d9fcc05..6276ae015945 100644 --- a/arch/x86/kernel/cpu/resctrl/rdtgroup.c +++ b/arch/x86/kernel/cpu/resctrl/rdtgroup.c @@ -29,7 +29,7 @@ #include -#include +#include #include "internal.h" DEFINE_STATIC_KEY_FALSE(rdt_enable_key); diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c index 954b013cc585..538d4e8d6589 100644 --- a/arch/x86/kernel/process_32.c +++ b/arch/x86/kernel/process_32.c @@ -52,7 +52,7 @@ #include #include #include -#include +#include #include #include "process.h" diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index 5ef9d8f25b0e..0c169a5687e1 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c @@ -52,7 +52,7 @@ #include #include #include -#include +#include #include #include #ifdef CONFIG_IA32_EMULATION -- 2.21.0