Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3169536imu; Fri, 23 Nov 2018 23:12:47 -0800 (PST) X-Google-Smtp-Source: AFSGD/VeoZxxylDv8PP2binrtfqeygUoezEvK2wBKF3+LMih4LW2t3LM8D8UsL1TyNYWRpX5eIxn X-Received: by 2002:a63:c846:: with SMTP id l6mr16825625pgi.78.1543043567195; Fri, 23 Nov 2018 23:12:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543043567; cv=none; d=google.com; s=arc-20160816; b=jnqIKn/6h8IFolKklYdEkcaPV4KRWzMN242+o4QPae58FabM/LlDfOZQ+uLSiLqhTt KPtNXytTHRv2pa753sGgt3nbscSHZQpkYl4axCO2wEz3ysTv4B09q4xvKuEBT7Ie+g7j cnoXERxWCDo2HmvOtttm5+u9A+pEzun5f2JscIzfEFdle8waDXKMK5roWPBN4JpI14m4 rj5gHVe65mRpkHF0AjDSa4GAp/QpQK9V7svumvIsf62YxV58Vcz47eeF4m41jUcAaGQN q0mVEvNPt5NUpyefPgdjFWrSWAo0l8eCZxlBWuyfWDfD+lZBPl5xTasUwOcEeETSHNFi BLGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mAkOzn0kYsUOQ71qgrcvEiL38sVGUGg/ymftslkkTQY=; b=y9oaqhWkIwOOTLE6NAMsiNP7AJuyhYp5pQdYV6QC5LAMoywWZ5SBKFAGXBSWMxMA1z fD+ZB9/t91AAaiWQyDoxK91nsHN4J7YGK7I32GJtJzh3XWsOz+K+9e9OjRO7TJinkpW1 cfdOpuWvR+aWG6uvoQQBIt3nUKnoZq27M8B5gPIlxXbiNG2GmtwpLIzmwXijKXuzcbzl hTDR9Tx24hkK+hR85qz/XgeCW/qAYmEJdXDkr2t/7m6iATWhFcO7pyLD7G8z+LmyZV6F 2r0VGgH3G0mwNfMso5deA7NHn48ylFWaA2lM8sm8Ol6tFa43o3+DSR9L0R4Xrk51wsnY Uckg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=LKR+57LM; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f16si20899967pgg.173.2018.11.23.23.12.32; Fri, 23 Nov 2018 23:12:47 -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; dkim=pass header.i=@alien8.de header.s=dkim header.b=LKR+57LM; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387640AbeKWF13 (ORCPT + 99 others); Fri, 23 Nov 2018 00:27:29 -0500 Received: from mail.skyhub.de ([5.9.137.197]:59684 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729748AbeKWF13 (ORCPT ); Fri, 23 Nov 2018 00:27:29 -0500 Received: from zn.tnic (p200300EC2BDC9100898E5A1DF8FAB135.dip0.t-ipconnect.de [IPv6:2003:ec:2bdc:9100:898e:5a1d:f8fa:b135]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id BF6A91EC06CA; Thu, 22 Nov 2018 19:46:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1542912410; h=from:from: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:in-reply-to:in-reply-to: references:references; bh=mAkOzn0kYsUOQ71qgrcvEiL38sVGUGg/ymftslkkTQY=; b=LKR+57LMDux2pFVP5r21RKgfXnVIqeb7lSXz3TTkklUS4Sc7Xm+uQF5s0+C0/+i1/PTZ8S Bu+6RRaJHYKMPyOtz6ffhyje0/NqG8DuyiPRtKeTyrupktKi4a11A40MOfks0q3LotjrW+ yVZGm7TXaYsKlPbnhrLrzsuOOdeSql8= Date: Thu, 22 Nov 2018 19:46:44 +0100 From: Borislav Petkov To: "Moger, Babu" Cc: "tglx@linutronix.de" , "mingo@redhat.com" , "corbet@lwn.net" , "fenghua.yu@intel.com" , "reinette.chatre@intel.com" , "peterz@infradead.org" , "gregkh@linuxfoundation.org" , "davem@davemloft.net" , "akpm@linux-foundation.org" , "hpa@zytor.com" , "x86@kernel.org" , "mchehab+samsung@kernel.org" , "arnd@arndb.de" , "kstewart@linuxfoundation.org" , "pombredanne@nexb.com" , "rafael@kernel.org" , "kirill.shutemov@linux.intel.com" , "tony.luck@intel.com" , "qianyue.zj@alibaba-inc.com" , "xiaochen.shen@intel.com" , "pbonzini@redhat.com" , "Singh, Brijesh" , "Hurwitz, Sherry" , "dwmw2@infradead.org" , "Lendacky, Thomas" , "luto@kernel.org" , "joro@8bytes.org" , "jannh@google.com" , "vkuznets@redhat.com" , "rian@alum.mit.edu" , "jpoimboe@redhat.com" , "linux-kernel@vger.kernel.org" , "linux-doc@vger.kernel.org" Subject: Re: [PATCH v9 08/13] x86/resctrl: Rename config parameter INTEL_RDT to RESCTRL Message-ID: <20181122184644.GF10365@zn.tnic> References: <20181121202811.4492-1-babu.moger@amd.com> <20181121202811.4492-9-babu.moger@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181121202811.4492-9-babu.moger@amd.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 21, 2018 at 08:28:39PM +0000, Moger, Babu wrote: > Resource control feature is supported by both Intel and AMD. > So, rename the INTEL_RDT to vendor neutral RESCTRL. > > Now CONFIG_RESCTRL will be used for both Intel and AMD to enable > Resource Control support. Update the texts in config and condition > accordingly. > > Signed-off-by: Babu Moger > --- > arch/x86/Kconfig | 23 ++++++++++++++++------- > arch/x86/include/asm/resctrl_sched.h | 4 ++-- > arch/x86/kernel/cpu/Makefile | 2 +- > arch/x86/kernel/cpu/resctrl/Makefile | 4 ++-- > include/linux/sched.h | 2 +- > 5 files changed, 22 insertions(+), 13 deletions(-) > > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index 1a0be022f91d..36aad997caf8 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -445,16 +445,25 @@ config RETPOLINE > code are eliminated. Since this includes the syscall entry path, > it is not entirely pointless. > > -config INTEL_RDT > - bool "Intel Resource Director Technology support" > +config RESCTRL > + bool "Resource Control support" > default n > - depends on X86 && CPU_SUP_INTEL > + depends on X86 && (CPU_SUP_INTEL || CPU_SUP_AMD) > select KERNFS > help > - Select to enable resource allocation and monitoring which are > - sub-features of Intel Resource Director Technology(RDT). More > - information about RDT can be found in the Intel x86 > - Architecture Software Developer Manual. > + Select to enable Resource Control feature support. > + > + These features are intended to provide the support for the allocation > + and monitoring of the usage of certain system resources by one or more > + processors. > + > + Intel refers to this feature as Intel Resource Director Technology > + (Intel(R) RDT). More information about RDT can be found in the > + Intel x86 Architecture Software Developer Manual. > + > + AMD refers to this feature as AMD Platform Quality of Service(AMD QoS). > + More information about AMD QoS can be found in AMD64 Technology > + Platform Quality of Service Extensions manual. I've simplified this to: Enable Resource Control support. Provide support for the allocation and monitoring of system resources usage by the CPU. Intel calls this Intel Resource Director Technology (Intel(R) RDT). More information about RDT can be found in the Intel x86 Architecture Software Developer Manual. AMD calls this AMD Platform Quality of Service (AMD QoS). More information about AMD QoS can be found in the AMD64 Technology Platform Quality of Service Extensions manual. Say N if unsure. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.