Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10172366rwl; Wed, 11 Jan 2023 15:51:22 -0800 (PST) X-Google-Smtp-Source: AMrXdXvoucRFH87jrpSuZV1v0yAhEePIZYXc9Z6ZF9XN8HSzlkbTnPjVRSBKiQHQcMGSYeyxhhl0 X-Received: by 2002:aa7:cb4b:0:b0:491:3a5c:6e5 with SMTP id w11-20020aa7cb4b000000b004913a5c06e5mr28867750edt.1.1673481081865; Wed, 11 Jan 2023 15:51:21 -0800 (PST) Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x14-20020a05640226ce00b004687eebac58si17010165edd.458.2023.01.11.15.51.09; Wed, 11 Jan 2023 15:51:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=EktOz3e4; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231417AbjAKW4V (ORCPT + 50 others); Wed, 11 Jan 2023 17:56:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234200AbjAKW4T (ORCPT ); Wed, 11 Jan 2023 17:56:19 -0500 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D68AF20A; Wed, 11 Jan 2023 14:56:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673477777; x=1705013777; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=q9hllmj5+t+p/rkFxKzLgqbYKOvbZDqOt79/mh9tTYY=; b=EktOz3e4c7JEup9mqZTKRg+thIN1Qj/ovwYY99w/nIynfA/au2hFgeFo Ry/mIWp55+ZG8GMo86WT2EXZ/e9An0CRKl9cnxfwsD79QsFGJW1oPRShF lgI2B6MnAj8mWG1/N2gxngJ5Ik7RVK/yigtrVdMBoHxrHGqPboFJEkghz E7iCBUMvFWg37klMrLQgW2xqOdne3SmE/NnhvBtyQMqJ1pSjYnf1/yRSi vRRk5i/mc2x3DhsKI++MF8jIrQpSPIbrzRsHoKq95eCz2gq2+UQfFEnfA XLixPjg2qdZ+PcVvQ409fZVwAxxpOixHsRwMVAmDxpYEQR7asLi7rneqK g==; X-IronPort-AV: E=McAfee;i="6500,9779,10586"; a="307079588" X-IronPort-AV: E=Sophos;i="5.96,318,1665471600"; d="scan'208";a="307079588" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2023 14:56:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10586"; a="659552403" X-IronPort-AV: E=Sophos;i="5.96,318,1665471600"; d="scan'208";a="659552403" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga007.fm.intel.com with ESMTP; 11 Jan 2023 14:56:16 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 11 Jan 2023 14:56:16 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 11 Jan 2023 14:56:15 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Wed, 11 Jan 2023 14:56:15 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.173) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Wed, 11 Jan 2023 14:56:15 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EI0DL6J5iRz6oe0PCSjir/XF0DKkmBHeATQ7LM6cnekjkjiiXfSrSPrC3PQxpg/emrPBX26laB8r+hF7NoW5VoEsoKIN5rVXaEe6kCLcyLl27RKbNJxncAMSCswzqdGGcK00Lvd3Qwvv9qdFYtEUPpT6ZFL7l2qEvyCy/wECWb/diZ9Z2YYOHGiqyD2Ko/uwqwsK5RoPNp9xuQjG4fQ3JN3hF3P6nHAjd2rrZt167SRz3JETmavVKpmsNzt/2Qn2mrIvQSc6YF/gtuEzMCin1LzL+k58V+3GXNhUnxt9x+PNmWNz3LZQAs7/DxlNQ5bHv/LIrJxNi+b3T8BrBZ4yXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1OeeT0X/6DKKe8/K65pVcY08nkvqn/kPGuHY4Pjl+cM=; b=nm3KJzV/NUjOpsgtut4fsGZRIyGILhcw1Y/HO1mj/J66KRbGY7G8OMJ2tYeOnZYOeDntAyjPg836Xh7Y5cyK171mpGPvBi8VXElYP+MByuLS9ShFdSRCjHKAvwCNXTPYfgrXgDzJ/Ubs+sNt98VhKb3vaSGetaLvQ4Enqk9VsEfks3y3DGOt2qt0DyLifsE70WJ/LMVz7wrqsS53VN3ebZ0xQZfQ4bjUhvflrjytaAwJBHBJ//ZNu09SUk8GY+fBK/5+OeVXR6hPXudcdL9GSNjgEcrTcnbqQAZjpSc8y9stH8rgLzfU/tiM58+UAnfvM3mSXCI4gpk0Q2bkhVvfkw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from CY4PR11MB1862.namprd11.prod.outlook.com (2603:10b6:903:124::18) by DM4PR11MB6310.namprd11.prod.outlook.com (2603:10b6:8:a7::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Wed, 11 Jan 2023 22:56:07 +0000 Received: from CY4PR11MB1862.namprd11.prod.outlook.com ([fe80::a1f7:e4c4:e60:c5b3]) by CY4PR11MB1862.namprd11.prod.outlook.com ([fe80::a1f7:e4c4:e60:c5b3%6]) with mapi id 15.20.5986.018; Wed, 11 Jan 2023 22:56:07 +0000 Message-ID: <812a0d4d-dfb9-d351-9c9d-01d6943cd72b@intel.com> Date: Wed, 11 Jan 2023 14:56:02 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.6.1 Subject: Re: [PATCH v11 13/13] Documentation/x86: Update resctrl.rst for new features Content-Language: en-US To: "Moger, Babu" , "corbet@lwn.net" , "tglx@linutronix.de" , "mingo@redhat.com" , "bp@alien8.de" CC: "fenghua.yu@intel.com" , "dave.hansen@linux.intel.com" , "x86@kernel.org" , "hpa@zytor.com" , "paulmck@kernel.org" , "akpm@linux-foundation.org" , "quic_neeraju@quicinc.com" , "rdunlap@infradead.org" , "damien.lemoal@opensource.wdc.com" , "songmuchun@bytedance.com" , "peterz@infradead.org" , "jpoimboe@kernel.org" , "pbonzini@redhat.com" , "chang.seok.bae@intel.com" , "pawan.kumar.gupta@linux.intel.com" , "jmattson@google.com" , "daniel.sneddon@linux.intel.com" , "Das1, Sandipan" , "tony.luck@intel.com" , "james.morse@arm.com" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "bagasdotme@gmail.com" , "eranian@google.com" , "christophe.leroy@csgroup.eu" , "jarkko@kernel.org" , "adrian.hunter@intel.com" , "quic_jiles@quicinc.com" , "peternewman@google.com" References: <20230109164405.569714-1-babu.moger@amd.com> <20230109164405.569714-14-babu.moger@amd.com> From: Reinette Chatre In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SJ0PR03CA0130.namprd03.prod.outlook.com (2603:10b6:a03:33c::15) To CY4PR11MB1862.namprd11.prod.outlook.com (2603:10b6:903:124::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PR11MB1862:EE_|DM4PR11MB6310:EE_ X-MS-Office365-Filtering-Correlation-Id: 1c530698-a8a6-4acf-c474-08daf42705f0 X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6R/LC4/Jnp0LRW0NOa1qEc/vgaD/FCaM0E7Lp0iuVitquRns2br3jhdZyOIMl0yN244WQuMMETse3tS6YBKsZ8LP9hl8liZrrJ1QGu3xyA9P8MMBoq09TROxERE0emNN9UI9hHjhYKaJyXl3HmcBTzkw+ALa7QUfubnE8NPiA/N6cQgemM4RFHY8CPKBClZNalR8DVEyHyvxTfDQyWIHX7G/iOejEgUSt+ucFb9Mclj2OrjnAL4jEOnQxDboa6P/cV85npEG8O5l1q+kR2F//MJL+0NP9xOoZo0sk0Pi708aD3A8SYMGy6NYkXRCBRPhi/gm4V0LHzKgNS2Ed63HsB7DLQdwhJurkhjjV1G5kTCBhpmBPg/eFJKSPgOILIKqXPZ13z86utk7sPxt5suY/REZKp37aLkzNj6l3xEG1eMhnTaVX4e4DceQqlsurHpsqngNDVmRjG/A0ZWrSyXDH4lFvQbIvxq7Fu/M6f7OfllITtWNo1xF/hUAlN2AdIW5UKB7SObDwuWh/Xm1RmY5mpJaQDkeBW8Obwwidh3WtX37qGOmsFF/5ecvOIyBJOQcggeErcdXDF15i2RGWR90V0uEZgC3TKMuCpt9paSFW6bdQ4TDXlR967Nd5XASD2eSZG/pjBjjaS1HwPhEUvxQn+9iu9+te9V/r6jbjLYYunpMMfmbwEP3pUhwAWY/VbCJEG+fM51sx8+l3XXbvVBNsjwzb4Jxzjy8aGRCvbr7verSYHZMNwShuSp0eOew+eU9/ARKmBKvZxtmEcjfkpOuTKwSRx/w+A3T063b0TxH+L4= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR11MB1862.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(136003)(39860400002)(346002)(396003)(366004)(376002)(451199015)(7406005)(7416002)(5660300002)(15650500001)(8936002)(44832011)(41300700001)(31686004)(2906002)(66946007)(54906003)(83380400001)(8676002)(36756003)(66476007)(4326008)(66556008)(316002)(45080400002)(110136005)(186003)(6512007)(6506007)(86362001)(6666004)(966005)(6486002)(53546011)(26005)(31696002)(478600001)(2616005)(82960400001)(38100700002)(45980500001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YWZwQkVVcFo1QnhVaGF2bDBDOG15YkdxeGlrUDVnOHphSG1Wa3h4aDR2dVRV?= =?utf-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nBuaWwyNC9kMjgvblVJMW1pdmlPVG1VNFp1YzlZQ3VlcVZGZkt5ejVO?= =?utf-8?B?a2FMaFY2ajZWbE01anJNQU9CYnNNQ3d0bXZmNy9rdFl4YU5FVkR6b0VXS1Uy?= =?utf-8?B?VER0ZFE5RmYzcG5PdmFiVVVnR2M0anVOR0RZVU9XcDhOMHhjSzhwM04zTnJK?= =?utf-8?B?a2hsU3NVVGlBdk53OU9BVW9OakVHUjhMcEVMTU5JNDRNVFI2M3R1aEpqaUZD?= =?utf-8?B?azZJWGpNTkYwYXRRZTc2ZHFHY2d2dnVKOGVBNEdNYlRtMWwxREQ3YldQZHZB?= =?utf-8?B?WkgzL1M2L1FNQUV4UjBrcG8yM0d5MFV3UWUvRmlUaTJkMG9ENk5YMkI3cGxZ?= =?utf-8?B?Nmc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 1c530698-a8a6-4acf-c474-08daf42705f0 X-MS-Exchange-CrossTenant-AuthSource: CY4PR11MB1862.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2023 22:56:06.9487 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 490lnN/PTRSaHY9f9lfyWcxGk67+W5BWdW5ioK0yQAeTmwaZ+a8PD6rDc/h0Ucdx4CaG0ltsmipSiRbdqTrRx7XuaietQhDOIqgqWl8wImg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB6310 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Babu, On 1/11/2023 2:39 PM, Moger, Babu wrote: > [AMD Official Use Only - General] > > Hi Reinette, > >> -----Original Message----- >> From: Reinette Chatre >> Sent: Wednesday, January 11, 2023 4:07 PM >> To: Moger, Babu ; corbet@lwn.net; >> tglx@linutronix.de; mingo@redhat.com; bp@alien8.de >> Cc: fenghua.yu@intel.com; dave.hansen@linux.intel.com; x86@kernel.org; >> hpa@zytor.com; paulmck@kernel.org; akpm@linux-foundation.org; >> quic_neeraju@quicinc.com; rdunlap@infradead.org; >> damien.lemoal@opensource.wdc.com; songmuchun@bytedance.com; >> peterz@infradead.org; jpoimboe@kernel.org; pbonzini@redhat.com; >> chang.seok.bae@intel.com; pawan.kumar.gupta@linux.intel.com; >> jmattson@google.com; daniel.sneddon@linux.intel.com; Das1, Sandipan >> ; tony.luck@intel.com; james.morse@arm.com; >> linux-doc@vger.kernel.org; linux-kernel@vger.kernel.org; >> bagasdotme@gmail.com; eranian@google.com; christophe.leroy@csgroup.eu; >> jarkko@kernel.org; adrian.hunter@intel.com; quic_jiles@quicinc.com; >> peternewman@google.com >> Subject: Re: [PATCH v11 13/13] Documentation/x86: Update resctrl.rst for new >> features >> >> Hi Babu, >> >> On 1/9/2023 8:44 AM, Babu Moger wrote: >>> Update the documentation for the new features: >>> 1. Slow Memory Bandwidth allocation (SMBA). >>> With this feature, the QOS enforcement policies can be applied >>> to the external slow memory connected to the host. QOS enforcement >>> is accomplished by assigning a Class Of Service (COS) to a processor >>> and specifying allocations or limits for that COS for each resource >>> to be allocated. >>> >>> 2. Bandwidth Monitoring Event Configuration (BMEC). >>> The bandwidth monitoring events mbm_total_bytes and mbm_local_bytes >>> are set to count all the total and local reads/writes respectively. >>> With the introduction of slow memory, the two counters are not >>> enough to count all the different types of memory events. With the >>> feature BMEC, the users have the option to configure mbm_total_bytes >>> and mbm_local_bytes to count the specific type of events. >>> >>> Also add configuration instructions with examples. >>> >>> Signed-off-by: Babu Moger >>> --- >>> Documentation/x86/resctrl.rst | 142 >>> +++++++++++++++++++++++++++++++++- >>> 1 file changed, 140 insertions(+), 2 deletions(-) >>> >>> diff --git a/Documentation/x86/resctrl.rst >>> b/Documentation/x86/resctrl.rst index 71a531061e4e..2860856f4463 >>> 100644 >>> --- a/Documentation/x86/resctrl.rst >>> +++ b/Documentation/x86/resctrl.rst >>> @@ -17,14 +17,16 @@ AMD refers to this feature as AMD Platform Quality >> of Service(AMD QoS). >>> This feature is enabled by the CONFIG_X86_CPU_RESCTRL and the x86 >>> /proc/cpuinfo flag bits: >>> >>> -============================================= >> ================================ >>> +=============================================== >> ================================ >>> RDT (Resource Director Technology) Allocation "rdt_a" >>> CAT (Cache Allocation Technology) "cat_l3", "cat_l2" >>> CDP (Code and Data Prioritization) "cdp_l3", "cdp_l2" >>> CQM (Cache QoS Monitoring) "cqm_llc", >> "cqm_occup_llc" >>> MBM (Memory Bandwidth Monitoring) "cqm_mbm_total", >> "cqm_mbm_local" >>> MBA (Memory Bandwidth Allocation) "mba" >>> -============================================= >> ================================ >>> +SMBA (Slow Memory Bandwidth Allocation) "smba" >>> +BMEC (Bandwidth Monitoring Event Configuration) "bmec" >>> +=============================================== >> ================================ >>> >> >> I expect that you will follow Boris's guidance here and not make these flags >> visible in /proc/cpuinfo. That would imply that this addition will have no entries >> in the second column. Perhaps this could be made easier to parse by using >> empty quotes ("") in the second column to match syntax used in the existing >> flags as well as the cpufeatures.h change? > > Hmm.. I thought we dropped that idea for now. Did I miss understand that? I referred to the guidance in https://lore.kernel.org/lkml/Y7xjxUj+KnOEJssZ@zn.tnic/ Since the SMBA and BMEC features have never appeared in /proc/cpuinfo there cannot be a user space that expects these flags in /proc/cpuinfo and thus no risk of breaking user space. User space can get information about SMBA and BMEC from the info directory. Later that thread discussed removal of existing resctrl feature flags from /proc/cpuinfo - that is what I think we shouldn't do since there are user space consumers of those flags. I thus agree that the task described in https://lore.kernel.org/lkml/MW3PR12MB455384130AF0BDE3AF88BCF095FE9@MW3PR12MB4553.namprd12.prod.outlook.com/ can be dropped. I do not think this is a big change ... just add the empty quotes to the two cpufeatures.h patches and a new snippet to the resctrl documentation. Reinette