x86/resctrl: Rename and move rdt files to a separate directory
authorBabu Moger <Babu.Moger@amd.com>
Wed, 21 Nov 2018 20:28:25 +0000 (20:28 +0000)
committerBorislav Petkov <bp@suse.de>
Thu, 22 Nov 2018 19:16:18 +0000 (20:16 +0100)
commitfa7d949337ccad32c76740c88e0e0351c349053b
tree1126c416e1b9fd00a9c8bd892570c70de211c701
parent9ff01193a20d391e8dbce4403dd5ef87c7eaaca6
x86/resctrl: Rename and move rdt files to a separate directory

New generation of AMD processors add support for RDT (or QOS) features.
Together, these features will be called RESCTRL. With more than one
vendors supporting these features, it seems more appropriate to rename
these files.

Create a new directory with the name 'resctrl' and move all the
intel_rdt files to the new directory. This way all the resctrl related
code resides inside one directory.

 [ bp: Add SPDX identifier to the Makefile ]

Suggested-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Babu Moger <babu.moger@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Brijesh Singh <brijesh.singh@amd.com>
Cc: "Chang S. Bae" <chang.seok.bae@intel.com>
Cc: David Miller <davem@davemloft.net>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Dmitry Safonov <dima@arista.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jann Horn <jannh@google.com>
Cc: Joerg Roedel <jroedel@suse.de>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Kate Stewart <kstewart@linuxfoundation.org>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: <linux-doc@vger.kernel.org>
Cc: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Philippe Ombredanne <pombredanne@nexb.com>
Cc: Pu Wen <puwen@hygon.cn>
Cc: <qianyue.zj@alibaba-inc.com>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Reinette Chatre <reinette.chatre@intel.com>
Cc: Rian Hunter <rian@alum.mit.edu>
Cc: Sherry Hurwitz <sherry.hurwitz@amd.com>
Cc: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Thomas Lendacky <Thomas.Lendacky@amd.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Vitaly Kuznetsov <vkuznets@redhat.com>
Cc: <xiaochen.shen@intel.com>
Link: https://lkml.kernel.org/r/20181121202811.4492-2-babu.moger@amd.com
20 files changed:
arch/x86/include/asm/intel_rdt_sched.h [deleted file]
arch/x86/include/asm/resctrl_sched.h [new file with mode: 0644]
arch/x86/kernel/cpu/Makefile
arch/x86/kernel/cpu/intel_rdt.c [deleted file]
arch/x86/kernel/cpu/intel_rdt.h [deleted file]
arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c [deleted file]
arch/x86/kernel/cpu/intel_rdt_monitor.c [deleted file]
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c [deleted file]
arch/x86/kernel/cpu/intel_rdt_pseudo_lock_event.h [deleted file]
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c [deleted file]
arch/x86/kernel/cpu/resctrl/Makefile [new file with mode: 0644]
arch/x86/kernel/cpu/resctrl/core.c [new file with mode: 0644]
arch/x86/kernel/cpu/resctrl/ctrlmondata.c [new file with mode: 0644]
arch/x86/kernel/cpu/resctrl/internal.h [new file with mode: 0644]
arch/x86/kernel/cpu/resctrl/monitor.c [new file with mode: 0644]
arch/x86/kernel/cpu/resctrl/pseudo_lock.c [new file with mode: 0644]
arch/x86/kernel/cpu/resctrl/pseudo_lock_event.h [new file with mode: 0644]
arch/x86/kernel/cpu/resctrl/rdtgroup.c [new file with mode: 0644]
arch/x86/kernel/process_32.c
arch/x86/kernel/process_64.c