Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp902316imm; Fri, 5 Oct 2018 13:56:45 -0700 (PDT) X-Google-Smtp-Source: ACcGV63bOzivKQKknK5qrRuN9XebV99G8XtF7V6EdGrPjbkw2AG5DBf0i7pbv0Gp+BRB0AWzJvvp X-Received: by 2002:a62:18a:: with SMTP id 132-v6mr13692162pfb.207.1538773005678; Fri, 05 Oct 2018 13:56:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538773005; cv=none; d=google.com; s=arc-20160816; b=east+gFwlD90YDlR3zBn8OH8RMLkIbeFq3aue+URdFQbmkhPQVV7GaSt+PvuFVEsot afMcVXLYRKiRABfOWm2uV4BLVFdhOSsvpmqIYZrySXZgAAJ2aOC0SA2lXgfKUFUWaEeK f9vsqnoW6qoR7D5asnKXQClIgx2eQZ3H1yQx5aaSzybeLfCApMmUwYa0+Ki5dzWKwK0x C1mf0iI5aZ/3BfwwfBjw1OB+dXqg/Y9Mu6kbCVDMqmnUL6u9BhiM4cBlCV4eNXFuwb2G zadrT5NWtcysDVwGxMoBGCc2QYpdUZD3oispwhu++sYEYIc0mKDYEH26wwHfntNETcak kLrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=6yeiyWFz4+t14IssR+IULHoul0BuHuFxthkiyKm7tZQ=; b=whsOD76dZCVZvgJnNzhVskRXL0oCR0fJNWB9Tl+UohWdxPCShYZN3epgQMXleLCgws e5VJXhdpRR6WVVikygS7Y2tBYRMSe6BoK6zC4aq6G0QqEa1V90YV+912UodkRfjh6JLL t3OO5OtoEBa4dQhqhXO7gg984jy2TVahB7XMFVOcEKJrmKSvCYX59ftlgC7sMZFqsP5T KZRt2Kov7lX/WHCrqYgRKh/m7wQxBSJ+++cM5TTktm0ScnXtyvCPHPm5CHTOd79EnRPr KwgZ3U75H8pN5/rSECYOHpBzL9iCV9GM4vvb17TGoGImuOX2LkuoUFlaurICV/3Ku9sN GJlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=V0LrxyQf; 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 e73-v6si9506259pfb.98.2018.10.05.13.56.30; Fri, 05 Oct 2018 13:56:45 -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; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=V0LrxyQf; 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 S1729424AbeJFD41 (ORCPT + 99 others); Fri, 5 Oct 2018 23:56:27 -0400 Received: from mail-eopbgr720067.outbound.protection.outlook.com ([40.107.72.67]:58176 "EHLO NAM05-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729252AbeJFD40 (ORCPT ); Fri, 5 Oct 2018 23:56:26 -0400 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=6yeiyWFz4+t14IssR+IULHoul0BuHuFxthkiyKm7tZQ=; b=V0LrxyQf0TKlB2226hcS4EP2nV6fkCZ/EOjg6OIkwx/FTF/TQWUhT/CZkqyBRQe1QYkCYGMhMC7EwJ1Rs29h/r8IEhKrSkgIumy1x8NUkoBv6CsMMd5hg49UpNHHRfx2kwo/NFAA9jlSlGfq4X3TwHzzVtSaCGesqFUMG36Xhhc= Received: from DM5PR12MB2471.namprd12.prod.outlook.com (52.132.141.138) by DM5PR12MB2504.namprd12.prod.outlook.com (52.132.141.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.23; Fri, 5 Oct 2018 20:55:52 +0000 Received: from DM5PR12MB2471.namprd12.prod.outlook.com ([fe80::bd60:9d30:b818:b828]) by DM5PR12MB2471.namprd12.prod.outlook.com ([fe80::bd60:9d30:b818:b828%2]) with mapi id 15.20.1207.024; Fri, 5 Oct 2018 20:55:52 +0000 From: "Moger, Babu" To: "tglx@linutronix.de" , "mingo@redhat.com" , "hpa@zytor.com" , "reinette.chatre@intel.com" , "fenghua.yu@intel.com" , "james.morse@arm.com" , "vikas.shivappa@linux.intel.com" , "tony.luck@intel.com" CC: "x86@kernel.org" , "peterz@infradead.org" , "Moger, Babu" , "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" Subject: [PATCH v2 05/11] arch/x86: Introduce a new config parameter PLATFORM_QOS Thread-Topic: [PATCH v2 05/11] arch/x86: Introduce a new config parameter PLATFORM_QOS Thread-Index: AQHUXO3NYiuml7rHkUCNdHQ4oovnFA== Date: Fri, 5 Oct 2018 20:55:52 +0000 Message-ID: <20181005205512.29545-6-babu.moger@amd.com> References: <20181005205512.29545-1-babu.moger@amd.com> In-Reply-To: <20181005205512.29545-1-babu.moger@amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BN6PR2001CA0018.namprd20.prod.outlook.com (2603:10b6:404:b4::28) 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;DM5PR12MB2504;20:j3rIPW0HFVpktB6uc+vi/GVzkZ/JbdpQfvc5cQWKBySAfiGZ6IDccyWKk2R7eipXx0iCQnkBsTGqa/VP3DnglSTA1sOdWdMnnsJKPmYLhCql4sGdqoXgE7iWIfkRFxYSI/g47yXTP/6ptI6Vcm7WR0jqX60sPU0QPpZzYmNY14rPiCSktrp5+WGpm/kFZmJBvod1Zy/sNyPjFQQ26yBUOTYPzl0V38qwDemShdR4dRIYuhifL+Afc76Gioxss4PW x-ms-office365-filtering-correlation-id: e6134bc2-85ea-4898-4d4e-08d62b04efb0 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:DM5PR12MB2504; x-ms-traffictypediagnostic: DM5PR12MB2504: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(767451399110); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(823302102)(93006095)(93001095)(3002001)(10201501046)(3231355)(944501410)(52105095)(6055026)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123564045)(20161123558120)(201708071742011)(7699051);SRVR:DM5PR12MB2504;BCL:0;PCL:0;RULEID:;SRVR:DM5PR12MB2504; x-forefront-prvs: 0816F1D86E x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(346002)(376002)(136003)(366004)(396003)(189003)(199004)(110136005)(2201001)(256004)(36756003)(72206003)(102836004)(54906003)(14444005)(6512007)(305945005)(52116002)(25786009)(14454004)(53936002)(386003)(8936002)(478600001)(68736007)(105586002)(6506007)(66066001)(99286004)(86362001)(106356001)(2900100001)(575784001)(7416002)(4326008)(476003)(486006)(8676002)(6116002)(76176011)(3846002)(7736002)(71190400001)(71200400001)(316002)(2906002)(186003)(11346002)(2501003)(81156014)(81166006)(446003)(5660300001)(5250100002)(6486002)(6436002)(2616005)(97736004)(26005)(1076002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB2504;H:DM5PR12MB2471.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: lVrg9M7UsE/1606OMuX3DU1HfIXoEtG/54WG/XOxj0OLBdKEDu7fTt+bR7BiL+JxkMdyklMIYDbT0HJQ8BElEcOQ5R721G6LChQHJM/PLC3LaEV8S1DI55p5yeOML2CR0MqcmfUNupqGBt8GaAGfZxAiq/aAMHn0E4Q8JP/VRfWB86pfOu6k1FK/tJHT/15j+oBp5BashXyb043VuYcXn0x5kc+4kDxzPFG3yRxJFJRU1gHDVMmw095ASqyifDmIUEwYoCgCe7cL0Wm3HbMQovOAD5UBv67Xf8QVTODI1gVNVhABGhUg5ZSor7ikQnzumcMgGpSnZ3h6Jvk4r7Qz+luUtGOkW7IDN29c0U6C3es= 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: e6134bc2-85ea-4898-4d4e-08d62b04efb0 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Oct 2018 20:55:52.5363 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB2504 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Introduces a new config parameter PLATFORM_QOS. This will be used as a common config parameter for both Intel and AMD. Each vendor will have their own config parameter to enable RDT feature. One for Intel(INTEL_RDT) and one for AMD(AMD_QOS). It can be enabled or disabled separately. The new parameter PLATFORM_QOS will be dependent on INTEL_RDT or AMD_QOS. Signed-off-by: Babu Moger --- arch/x86/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 1a0be022f91d..7f2da780a327 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -458,6 +458,10 @@ config INTEL_RDT =20 Say N if unsure. =20 +config PLATFORM_QOS + def_bool y + depends on X86 && INTEL_RDT + if X86_32 config X86_BIGSMP bool "Support for big SMP systems with more than 8 CPUs" --=20 2.17.1