From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DAD94C43441 for ; Fri, 16 Nov 2018 20:54:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8DCCC2086B for ; Fri, 16 Nov 2018 20:54:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=amdcloud.onmicrosoft.com header.i=@amdcloud.onmicrosoft.com header.b="nqztWYis" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8DCCC2086B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amd.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730370AbeKQHIz (ORCPT ); Sat, 17 Nov 2018 02:08:55 -0500 Received: from mail-eopbgr680040.outbound.protection.outlook.com ([40.107.68.40]:47437 "EHLO NAM04-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730163AbeKQHIy (ORCPT ); Sat, 17 Nov 2018 02:08:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CNAdVvS0eseoxudrkXA/+m8NeNUn8fPkQoEZZk0dCEY=; b=nqztWYisHM4wNfP8gzUAw7wXDrtVo1y7TVSqtaNukbBVDBm8vovBqGE8C4E4xAykfg0hna/51vMT6k2mNLSAHfq1N8zsvr+dqZY2Fi/8a2WvLs27gJ7Hjc4ANP6G/vFKdi+c9kM7coaiokuwtqsjXSCPTf6uyxT5yMP5o7dBTrw= Received: from DM5PR12MB2471.namprd12.prod.outlook.com (52.132.141.138) by DM5PR12MB1788.namprd12.prod.outlook.com (10.175.91.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.30; Fri, 16 Nov 2018 20:54:39 +0000 Received: from DM5PR12MB2471.namprd12.prod.outlook.com ([fe80::4c23:f551:bc6a:554e]) by DM5PR12MB2471.namprd12.prod.outlook.com ([fe80::4c23:f551:bc6a:554e%4]) with mapi id 15.20.1294.045; Fri, 16 Nov 2018 20:54:39 +0000 From: "Moger, Babu" To: "tglx@linutronix.de" , "mingo@redhat.com" , "bp@alien8.de" , "corbet@lwn.net" , "fenghua.yu@intel.com" , "reinette.chatre@intel.com" , "peterz@infradead.org" , "gregkh@linuxfoundation.org" , "davem@davemloft.net" , "akpm@linux-foundation.org" CC: "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" , "Moger, Babu" , "linux-kernel@vger.kernel.org" , "linux-doc@vger.kernel.org" Subject: [PATCH v8 09/13] arch/resctrl: Update the RESCTRL config parameter Thread-Topic: [PATCH v8 09/13] arch/resctrl: Update the RESCTRL config parameter Thread-Index: AQHUfe6XZhXn+cShck2xKML8ztcZUw== Date: Fri, 16 Nov 2018 20:54:39 +0000 Message-ID: <20181116205407.10457-10-babu.moger@amd.com> References: <20181116205407.10457-1-babu.moger@amd.com> In-Reply-To: <20181116205407.10457-1-babu.moger@amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN6PR04CA0077.namprd04.prod.outlook.com (2603:10b6:805:f2::18) To DM5PR12MB2471.namprd12.prod.outlook.com (2603:10b6:4:b5::10) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Babu.Moger@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.78.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR12MB1788;20:l51bXz2w/hxgaCPWnLr5MduV0RuW6TiPMkLNrLIjEoYC4kl5QP2OePcdAzfHpAxzBv0ELfvRLnEtpbh6Hm5kXL1jEiGJRu5Qt1/MmeOHmiV4frYmYsHuZyKvrQzJmpqW4xq2lJyx5BVQc6kYtKtu4B0u17iCMyyLZavabByvNRbm1DaKuDYBs2p/S3SmsgrUm5jpRYfFoLPrKLZa7Bq5D6GpHWOENYB9lHqd4YPG1WDEdlOxJE0hyG5KJbrNKp+E x-ms-office365-filtering-correlation-id: d0e4c4a4-150a-42e8-7bcf-08d64c05b9a5 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:DM5PR12MB1788; x-ms-traffictypediagnostic: DM5PR12MB1788: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(72170088055959)(767451399110); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(823302103)(3231415)(944501410)(52105112)(93006095)(93001095)(3002001)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(201708071742011)(7699051)(76991095);SRVR:DM5PR12MB1788;BCL:0;PCL:0;RULEID:;SRVR:DM5PR12MB1788; x-forefront-prvs: 0858FF8026 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(1496009)(396003)(136003)(346002)(39860400002)(366004)(376002)(199004)(189003)(6486002)(7406005)(478600001)(316002)(7416002)(7736002)(53936002)(25786009)(3846002)(97736004)(6116002)(68736007)(6512007)(54906003)(14454004)(110136005)(71190400001)(6436002)(2201001)(106356001)(14444005)(1076002)(4326008)(72206003)(105586002)(71200400001)(66066001)(36756003)(305945005)(256004)(5660300001)(86362001)(81156014)(6506007)(52116002)(2906002)(11346002)(476003)(2616005)(486006)(76176011)(102836004)(26005)(386003)(99286004)(8676002)(186003)(2501003)(2900100001)(446003)(8936002)(81166006)(15650500001)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1788;H:DM5PR12MB2471.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 3RS8lZ6tBT0z/m3GpR4Cy7MU2wGAe86UUzcr/NHZdu17KDvAw0Km/B/suDquL8CjBh3ffXPNGbsANQxFgCQhVYpaLiyXJPbJLk3rAo77K7Iy7mEKD+T+uWFSiDJh2KC0BJdz1wYApm9NujFsjoWPdhtd1LwrbfqVHibGSVUPGIbDzQ9AlyOueTAkY1bA9M4hfFGghrxN2pCHxp/ryKkKr/ocRMsmJckLObQqFPwFhhdSDW4VqenAgbIpHzz1moukewqMbEIQlptarm3K5N7QFLbvoy1hAFiis+4uA5rCu1WryAg9/ZHQWznUnab7299RdigMU9wLioQyZfpdjXArGf7+XmYykoo0NcHJBxtdqTA= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: d0e4c4a4-150a-42e8-7bcf-08d64c05b9a5 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Nov 2018 20:54:39.5323 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1788 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CONFIG_RESCTRL will be used for both Intel and AMD to enable Resource Control feature. Update the details and condition accordingly. Signed-off-by: Babu Moger --- arch/x86/Kconfig | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 4aae7aba4d61..c5ef3afa89a6 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -448,13 +448,22 @@ config RETPOLINE config RESCTRL bool "Resource Control feature 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 the usage of certain system resources by one or more + processors. + + Intel refers 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 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. =20 Say N if unsure. =20 --=20 2.17.1