From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on archive.lwn.net X-Spam-Level: X-Spam-Status: No, score=-6.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham autolearn_force=no version=3.4.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by archive.lwn.net (Postfix) with ESMTP id 411527D089 for ; Mon, 12 Nov 2018 17:56:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728119AbeKMDuf (ORCPT ); Mon, 12 Nov 2018 22:50:35 -0500 Received: from mail.skyhub.de ([5.9.137.197]:52732 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727185AbeKMDuf (ORCPT ); Mon, 12 Nov 2018 22:50:35 -0500 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (blast.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ZAf4JIMm6mJ9; Mon, 12 Nov 2018 18:56:16 +0100 (CET) Received: from zn.tnic (p200300EC2BE56F00329C23FFFEA6A903.dip0.t-ipconnect.de [IPv6:2003:ec:2be5:6f00:329c:23ff:fea6:a903]) (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 B2FEA1EC0266; Mon, 12 Nov 2018 18:56:16 +0100 (CET) Date: Mon, 12 Nov 2018 18:56:10 +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 v7 02/13] arch/x86: Rename the RDT functions and definitions Message-ID: <20181112175610.GI8167@zn.tnic> References: <20181109205153.14811-1-babu.moger@amd.com> <20181109205153.14811-3-babu.moger@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181109205153.14811-3-babu.moger@amd.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Fri, Nov 09, 2018 at 08:52:27PM +0000, Moger, Babu wrote: > As AMD is starting to support RDT(or QOS) features, rename > the RDT functions and definitions to more generic names. > > Replace intel_rdt to resctrl where applicable. > > Signed-off-by: Babu Moger > --- > arch/x86/include/asm/resctrl_sched.h | 24 ++++++++++++------------ > arch/x86/kernel/cpu/resctrl.c | 26 +++++++++++++------------- > arch/x86/kernel/cpu/resctrl.h | 2 +- > arch/x86/kernel/cpu/resctrl_monitor.c | 11 ++++++----- > arch/x86/kernel/cpu/resctrl_rdtgroup.c | 10 +++++----- > arch/x86/kernel/process_32.c | 2 +- > arch/x86/kernel/process_64.c | 2 +- > 7 files changed, 39 insertions(+), 38 deletions(-) As with patch 1, pls fix subject prefix. > @@ -637,10 +637,11 @@ int rdt_get_mon_l3_config(struct rdt_resource *r) > * > * For a 35MB LLC and 56 RMIDs, this is ~1.8% of the LLC. > */ > - intel_cqm_threshold = boot_cpu_data.x86_cache_size * 1024 / r->num_rmid; > + resctrl_cqm_threshold = boot_cpu_data.x86_cache_size * 1024 / > + r->num_rmid; No need to break that line here. With that addressed and FWIW: Reviewed-by: Borislav Petkov -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.