Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp640709imm; Fri, 5 Oct 2018 09:20:58 -0700 (PDT) X-Google-Smtp-Source: ACcGV60WH4sO5EdDNvacWFSvbWEyqdaJKwmnaih11gOrfmBteIXe9Ji8VjhtB3ZQgGJ6r0b6JrLu X-Received: by 2002:a62:9605:: with SMTP id c5-v6mr12663749pfe.26.1538756458488; Fri, 05 Oct 2018 09:20:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538756458; cv=none; d=google.com; s=arc-20160816; b=qA/PFrtGA9nhdgYZA+hGB/r3c7o11h7HuD5N+LQHlmcV7fWdgxHMkHU/AIWu82kKyF L33ovjqVPzynatLNP7eyQqMEUyOu9R9dDDi8Iyv+ftTET09Q5cdhoE9AbeeYR804tWxO wy0ohbbdLuBL2RGCZ9f9p9MubZ9A2HWJdHRhcYKW70MVive4n4dnRCSuYYn3cUO79QWa HKYPH+egSbaFmMz056l5znjiKP7LdfNNLYpSDMVh7UBtfkkBSaFPuTmTjmWzg38jvtw3 E+RZ2cA93o+mO80OX0DQJ6Dqo0wSdVK3nRSfL74yiNZwpp7QYUoWPZqto0QNmJ+de0R9 4shw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=/etN32A1LSwCmYZ5PQ5h7OTv83k4vNMJDnG6gZ2JM+4=; b=m+gyqt2MR+Ey/EH03rT+3nB1HHN7/qt/CkokA4+jdBkyxivHfT85JGUQplucIUx+aN x5bMQS2nOfP4nRhWkX9iavIfFPwMnjJ7m5dnDmD86iwEmH18I/dWn4LO5CoVbJx5H+Z6 PCo8xeya2syiME4GWblhtbwL0sR3l3P5dK+lKoIEdI+QEn4XG5zaSIjO08C9w0DPOcLB 4DXBMCv6FysLEmUrJejMTH+5fMeHEZQKQkvBOzBjgT6/e8aniBaXzEbd4t1BTewsRvdD 6WadhVJL3VEkYue0rHphy4Not+LnYIe1zrteUC+V2xU8d3IEP7Tnjegu9xx4EKYQ1oex 4OvA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q10-v6si8704458pgl.522.2018.10.05.09.20.42; Fri, 05 Oct 2018 09:20:58 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730203AbeJEXTQ (ORCPT + 99 others); Fri, 5 Oct 2018 19:19:16 -0400 Received: from foss.arm.com ([217.140.101.70]:54700 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728967AbeJEXTP (ORCPT ); Fri, 5 Oct 2018 19:19:15 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0E2F780D; Fri, 5 Oct 2018 09:19:51 -0700 (PDT) Received: from [10.4.12.81] (melchizedek.emea.arm.com [10.4.12.81]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id ADFEB3F5D3; Fri, 5 Oct 2018 09:19:45 -0700 (PDT) Subject: Re: [RFC PATCH 00/10] arch/x86: AMD QoS support To: "Moger, Babu" , Fenghua Yu Cc: "tglx@linutronix.de" , "mingo@redhat.com" , "hpa@zytor.com" , "reinette.chatre@intel.com" , "tony.luck@intel.com" , "x86@kernel.org" , "peterz@infradead.org" , "pombredanne@nexb.com" , "gregkh@linuxfoundation.org" , "kstewart@linuxfoundation.org" , "bp@suse.de" , "rafael.j.wysocki@intel.com" , "ak@linux.intel.com" , "kirill.shutemov@linux.intel.com" , "xiaochen.shen@intel.com" , "colin.king@canonical.com" , "Hurwitz, Sherry" , "Lendacky, Thomas" , "pbonzini@redhat.com" , "dwmw@amazon.co.uk" , "luto@kernel.org" , "jroedel@suse.de" , "jannh@google.com" , "dima@arista.com" , "jpoimboe@redhat.com" , "vkuznets@redhat.com" , "linux-kernel@vger.kernel.org" References: <20180924191841.29111-1-babu.moger@amd.com> <20181002170655.GA92941@romley-ivt3.sc.intel.com> <20181002184614.GC92941@romley-ivt3.sc.intel.com> <2549597a-440c-ab77-2c35-01a648703b9f@amd.com> <20181003185209.GA98542@romley-ivt3.sc.intel.com> <874cdcfb-26fa-2bdb-095d-b1b5a88250b9@amd.com> From: James Morse Message-ID: <9500445c-019d-9b77-0b51-48922bf47007@arm.com> Date: Fri, 5 Oct 2018 17:19:44 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <874cdcfb-26fa-2bdb-095d-b1b5a88250b9@amd.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi guys, On 03/10/18 21:09, Moger, Babu wrote: > On 10/03/2018 01:52 PM, Fenghua Yu wrote: >> On Tue, Oct 02, 2018 at 07:16:23PM +0000, Moger, Babu wrote: >>> On 10/02/2018 01:46 PM, Fenghua Yu wrote: >>>> I don't see the name 'RDT' (Resource Director Technology) in the >>>> spec "AMD64 Technology Platform Quality of Service Extensions". >>>> Does AMD use the same name 'RDT' as Intel? >>> >>> No. AMD uses the word "Platform Quality of Service"(or in short QoS) to >>> refer this feature. >> >> Hi, Thomas, Babu, and James, >> >> Can we use "resctrl" to replace "intel_rdt" and "rdt" in kernel? "resctrl" >> is a neutral name and has been used in user interface already. Hopefully >> "resctrl" can be acceptable by ARM, AMD, and Intel. We only use "intel_rdt", >> "amd_qos", or "arm mpam" for vendor specific code. > > Yes. resctrl seems like a reasonable name. > >> Can we move all of Intel RDT, AMD QoS, and ARM MPAM code into a generic all? Hmmm... I wanted to keep anything with an ABI implication under /fs/ so its definitely the same. Obviously some things are definitely arch specific, e.g. writing msr-s in intel_rdt_sched_in(). >> place fs/resctrl where both ARM and X86 code can stay? > > Looking at the James patches, I thought he is going in the same(or > similar) direction eventually. Yes, I was trying to name stuff 'resctrl' if its moving to /fs/, and resctrl_arch if its arch specific, thus stays where it is. (and the existing names if I didn't need to touch it). The struct names all have rdt in them, I thought it too noisy to change them. Thanks, James