Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2155386ybz; Thu, 23 Apr 2020 12:34:44 -0700 (PDT) X-Google-Smtp-Source: APiQypINb7ppH65ZE1ERYgqXZP06Yzff5pPQ+qg6N668ar0nvJ7hT64G+nWrvMtDp0y9e7HsQ15V X-Received: by 2002:aa7:d504:: with SMTP id y4mr4071163edq.295.1587670484285; Thu, 23 Apr 2020 12:34:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587670484; cv=none; d=google.com; s=arc-20160816; b=rkscyipLBEPnIq1uiZ8f6HfSazWbZRksiNVgAFh6K7XyDWh8+ZYUylfjDxggo31ap1 3YMKwzsBrJoSD+TTbNd8dNl2dnaIzWOseMRyMfJS3ojL3u7lG6XuyYDFw7MkllTWavws AOnKk36NloAIebb6LC0tZNyjfNx0v7ZvA0PH4+zCXYMo+xtwC7wHkhuAXwwaLPa3oPXW xqA5AiIKu9nnL2Xvd1cOLvijJcjEakrMx02dvLLuxDFKB89qfVIZ6SBWwPZWt8PdVxs0 apHlSNKBSwXWnw+9vG6h5o9ch3CEOY3pR8PPT59TRWdNvyBUPNtypNWD4oWOKTaOXa1v VZoA== 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:ironport-sdr:ironport-sdr; bh=DzYBtffQS6oNND5jj1WMi8uH2rk4XSPTgqUwsP5vBE4=; b=Hcw6vSF3aQcWXkMiVuNHJWNnBEkLDHEImC3mjBpbAk+uy6CQKl2M7ElHdDIyVjFG76 qLj6pOIMN5YiTAek+8cir88SF0/C22M6FAR/GS5BlkcLIs4lMMCsqqamYF00zze8Qb4d O7dZH6NoDwNnpf91KcZP1sZYuzd4fbgrPUytXP7HYV0kgQPlsorDwYnGrSWAviAhtM4O y7fCm1MCcc9DF4d+NTOGd06MvqC75JIHA4P1pAk3B4++u5IYt22sDT6834r6jxQSFF1Y isfIGYxBlyiE8M4+uBzZFcl0YtJq90ArpGwcIDv7bVYSSyLlWWhMNpWPrIfVNFUCdXe/ DJKw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bs10si1687153edb.429.2020.04.23.12.34.20; Thu, 23 Apr 2020 12:34:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729700AbgDWQka (ORCPT + 99 others); Thu, 23 Apr 2020 12:40:30 -0400 Received: from mga01.intel.com ([192.55.52.88]:63456 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729690AbgDWQka (ORCPT ); Thu, 23 Apr 2020 12:40:30 -0400 IronPort-SDR: Y7ST5mk+gOS7WLDxLzZzkCfqCUEeRXhthLaO+DEsriSFoTsjDvumnBYq/98xogwPOXXK8KwCRe j/Og6LLNxn4A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2020 09:40:29 -0700 IronPort-SDR: RvtqLlC+SPSst880mSvesTs0je541inKc3w5VF7v7avh8diVfRiHu11gpSKeoqjZ88XibKYtfi ZTBCyarl8PWg== X-IronPort-AV: E=Sophos;i="5.73,307,1583222400"; d="scan'208";a="430386003" Received: from rchatre-mobl.amr.corp.intel.com (HELO [10.254.72.195]) ([10.254.72.195]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2020 09:40:29 -0700 Subject: Re: [PATCH 0/2] x86/resctrl: Support wider MBM counters To: tglx@linutronix.de, fenghua.yu@intel.com, bp@alien8.de, tony.luck@intel.com Cc: kuo-lang.tseng@intel.com, mingo@redhat.com, babu.moger@amd.com, hpa@zytor.com, x86@kernel.org, linux-kernel@vger.kernel.org References: From: Reinette Chatre Message-ID: Date: Thu, 23 Apr 2020 09:40:27 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: 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 Thomas and Borislav, On 4/1/2020 10:51 AM, Reinette Chatre wrote: > Memory Bandwidth Monitoring (MBM) is an Intel Resource Director > Technology (RDT) feature that tracks Total and Local bandwidth > generated which misses the L3 cache. > > The original Memory Bandwidth Monitoring (MBM) architectural > definition defines counters of up to 62 bits and the first-generation > MBM implementation uses 24 bit counters. Software is required to poll > at 1 second or faster to ensure that data is retrieved before a counter > rollover occurs more than once under worst conditions. > > As system bandwidths scale the software requirement is maintained with > the introduction of a per-resource enumerable MBM counter width. > > This series adds support for the new enumerable MBM counter width. > > Details about the feature can be found in Chapter 9 of the most > recent Intel ISE available from > https://software.intel.com/sites/default/files/managed/c5/15/architecture-instruction-set-extensions-programming-reference.pdf > > Reinette Chatre (2): > x86/resctrl: Maintain MBM counter width per resource > x86/resctrl: Support CPUID enumeration of MBM counter width > > arch/x86/include/asm/processor.h | 1 + > arch/x86/kernel/cpu/common.c | 5 +++++ > arch/x86/kernel/cpu/resctrl/ctrlmondata.c | 8 ++++--- > arch/x86/kernel/cpu/resctrl/internal.h | 15 ++++++++++--- > arch/x86/kernel/cpu/resctrl/monitor.c | 27 ++++++++++++++++------- > arch/x86/kernel/cpu/resctrl/rdtgroup.c | 2 +- > 6 files changed, 43 insertions(+), 15 deletions(-) > Would it be possible to consider this for inclusion in v5.8? Thank you Reinette ps. Upon your consideration I am planning to follow up with same the question for the next resctrl new feature series available at:https://lore.kernel.org/lkml/cover.1586801373.git.reinette.chatre@intel.com/ You could view outstanding resctrl changes at branch resctrl/next of https://github.com/rchatre/linux.git