Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp506892lqs; Thu, 13 Jun 2024 17:58:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWpy73Lg8ydUlLagxDp5CsZYZaM2eEAhY8yjKGxlShdx88THiabHagO4d6YRFxvL9FZ+mJa3PMhS32YQKgl0/jJV6DOJOpGyZnNgv/f3g== X-Google-Smtp-Source: AGHT+IG/8hxeK53WQ8SWmxjPbL0Cjw+XHZHLChCtNvX/AGUNkdBbs1nJsh/I4M5mTwbrL9KhwbJM X-Received: by 2002:a17:90a:4a8c:b0:2c2:c799:eb20 with SMTP id 98e67ed59e1d1-2c4db34e8c1mr1539840a91.23.1718326704948; Thu, 13 Jun 2024 17:58:24 -0700 (PDT) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c4c46002c9si2592501a91.36.2024.06.13.17.58.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 17:58:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-214163-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Gb+RQJ1q; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-214163-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-214163-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 55F9EB224C7 for ; Fri, 14 Jun 2024 00:58:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C73D54A21; Fri, 14 Jun 2024 00:58:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Gb+RQJ1q" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 013C217D2; Fri, 14 Jun 2024 00:57:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=198.175.65.21 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718326679; cv=fail; b=qAH7aKRvezRaY3vFPG6WjKuXOteg5XvGShXb6YWR0trJ5jsgC8onMm0MTPESJiIUec5lOv1GJza2fG4CQG6TBQOLYHCIgs8eGhyqvyLMkToCckEyb8YsXN7oGmsDq9LmmeY5PV6yGNfYIYyDeS/eI59f9yAp+A2AE75Uwr7pVaI= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718326679; c=relaxed/simple; bh=Vk/74QDHfoOriYie35fB6qGLbkcshG3Rz+R3Y+r60r0=; h=Message-ID:Date:Subject:To:CC:References:From:In-Reply-To: Content-Type:MIME-Version; b=kR+7mK5kr8uV4jRfZXsBgnhsHv8nxJFf8UWPiZdgps63iGMEoqK36PSHcZMP8Y/WKG2crIVXDO7eTTTyKzkTApd6S6Y2eqkqjySsv4j4RPC+xsT0R3T2M2BsYf4F8K/fZCX5HFIuEA5cxYL7xrriJEFd6qsClA/fKwVcPtfBbZA= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Gb+RQJ1q; arc=fail smtp.client-ip=198.175.65.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718326678; x=1749862678; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=Vk/74QDHfoOriYie35fB6qGLbkcshG3Rz+R3Y+r60r0=; b=Gb+RQJ1qJgDnJRRioUkOGWEA8EkrbAB+WujDFe6xEw58MkiN/sp+Ycd4 PKnKDlBexBuH0AL6EhHiCG4zmj1aGgMQhuZ6Ben3xuNG0JqGw2Le8b+3d Pne1TDadjIOzpsM7zv+yZMjqtaf3fOuXvglEYtsKGSq6W3G/GujrZFq8h o5WMnzd1NdbGMT500jJhJ73dcGUuYF34Kiyu/O3lB2wQEBVyPgfUkcSyg LwzMvwWbCMqB1F67oHC2hi58IH92Bxet3naqC7m+KvxjSw2d5A+o6xMgM c+ioa2Jg1aulW2wvc6Vrxcm8bfPd/VP5uLGDQ8uDrwkKQXMZuYUkuuJ+j Q==; X-CSE-ConnectionGUID: Wtqf8O3ySm+SN4MO8RR6gA== X-CSE-MsgGUID: EISW3Zq2SteR+D6bm/Edpw== X-IronPort-AV: E=McAfee;i="6700,10204,11102"; a="15166992" X-IronPort-AV: E=Sophos;i="6.08,236,1712646000"; d="scan'208";a="15166992" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jun 2024 17:57:58 -0700 X-CSE-ConnectionGUID: NZ3yPV7ARkynVYUz/fEkjQ== X-CSE-MsgGUID: GxsdtOT5Q1G/Qjm6kGuwpg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,236,1712646000"; d="scan'208";a="40829776" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orviesa006.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 13 Jun 2024 17:57:57 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 13 Jun 2024 17:57:57 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Thu, 13 Jun 2024 17:57:57 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.40) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Thu, 13 Jun 2024 17:57:56 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M/Wi7DQM48+TEoOQiKAs16hmzSj1gcfr/Ag0KuIFCIMYxsVqHbVDNsuusNtwpzWKmeQIAdASsz3rP19slTL6nKAF9agYR+qt8mNDGc16+sTRTMxh6uMB+CgTc1E32mZEn1kUzDhmiMyfEyfOs/JK4JxDP0aimlG53V/RN5ZxixY1bJu8ckDnqoP0OZdTCuQhWS9YymR6be4Kg1vZTnr4u60tchPlQVOlagLPpKaOyEU7HPsTD5Q04MeaoV2CNt3cQEsVaMCggMuSKSfVEb1eQNASJbPzAGdUFy7be0dqaxQMd2wYJzzYMfTJsnWKvAx6v8jDQDV4WEKsN9u8jbdCmQ== 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=AiMXCNFLkVk9hxhhJuAlsqqzqlM873EwAzOdjBJyDQ8=; b=USCBnekot4fZw1i9jRqSR+9yiwjT8ngyE5S3luKptgwLg4+Q6DaP1rX+0WIXTdmlxSG2qtRs5uX8QRfGxcGfK5UuO2AssiyMMUzssx51413JScxRVJ7q7oHWxbH1/xKwxyG58v8T73uH5eIsLegMo6i2XSamik4G6TCjAl+QrDuKE3bXXImdxTgOdSEe4x/avvgblJgO8xt4CXERlbwSzSojAKaNoTtdI6bz/uXl+IRflPEmEjr0ca4l/CyTf/WgXRgSV3DGhhm2cmZDzbB3qso5xRQDF9cfk57oFRuQqE9C5JLt2k8b8dFKo4JgbtEfnP0+GKE0vNx5hhzszt9jbw== 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 SJ2PR11MB7573.namprd11.prod.outlook.com (2603:10b6:a03:4d2::10) by SJ2PR11MB8567.namprd11.prod.outlook.com (2603:10b6:a03:568::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.25; Fri, 14 Jun 2024 00:57:55 +0000 Received: from SJ2PR11MB7573.namprd11.prod.outlook.com ([fe80::61a:aa57:1d81:a9cf]) by SJ2PR11MB7573.namprd11.prod.outlook.com ([fe80::61a:aa57:1d81:a9cf%3]) with mapi id 15.20.7677.019; Fri, 14 Jun 2024 00:57:54 +0000 Message-ID: <23aa42c1-6b55-4d29-8995-29fbddf98ed4@intel.com> Date: Thu, 13 Jun 2024 17:57:51 -0700 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 06/19] x86/resctrl: Introduce interface to display number of ABMC counters To: Babu Moger , , , , , , CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , References: <6fdb1c3df8960a9d634a7a904421c63406b1a4b7.1716552602.git.babu.moger@amd.com> From: Reinette Chatre Content-Language: en-US In-Reply-To: <6fdb1c3df8960a9d634a7a904421c63406b1a4b7.1716552602.git.babu.moger@amd.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MW4PR04CA0239.namprd04.prod.outlook.com (2603:10b6:303:87::34) To SJ2PR11MB7573.namprd11.prod.outlook.com (2603:10b6:a03:4d2::10) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR11MB7573:EE_|SJ2PR11MB8567:EE_ X-MS-Office365-Filtering-Correlation-Id: e440f6d2-3944-4329-42f9-08dc8c0d0625 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;ARA:13230035|1800799019|7416009|366011|376009; X-Microsoft-Antispam-Message-Info: =?utf-8?B?VlRlSVZXVVJLNDZxTmVJTnUxMTY2eVQ5K2h1aktHREFmaUltNmtLY3pnVndh?= =?utf-8?B?OGdaSjhRVTNOSzFrenhmZHFoS2swVWZ2ZGVseGlFeFh0eUlQdHd6NTZoYklz?= =?utf-8?B?UFZwSUh0RjFwb29OZ2xzWFNBUTNTeFV4NkFuT2JlMXNkdEthYXV0Z2RMWXln?= =?utf-8?B?ZHRsNDBVZlZCTm41SkNPekpuOTVpYVBYczBUOFRncXZ3R21EMXE5d3llYUlR?= =?utf-8?B?NzNKckl4M3FETjhsTWMwdlVBS1ptb0phazNuV1VHeklHaHhKS3hXdDV1SzM2?= =?utf-8?B?QkQzbjEvb0hJRkFoWnhhN2Q1aml4ckkveWRTUTNLUElGa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t0bEVyeWxXUkt2Uk9KaFQ1L2hVYnlRZ1BZQjBj?= =?utf-8?B?dkNRanVLKzBpN3B1RWVtU0c4K0tDdHZ5TmU2ZWRUdEZ2blp4MW5yYzNUQ3JB?= =?utf-8?B?dmc1ZGYxbkg5K0JBRjAvZFJtdGI3T1l6RVl6a1BqaTN5eUNpVU4vTDA5Wmdk?= =?utf-8?B?K2VyK0ZIT1ZYcFNUN0xVMkRzemQ2bjJwdW5zNjJ5VHVORmovdUt5ZENqamlN?= =?utf-8?B?S2RDaVREbmw1SVNkQW1uZmtjOXJrRUFhR29udlVYbnRMeWpTbFBycTZwQU5y?= =?utf-8?B?ZnQrSnhUUitKRlFFOTZZMWc4NWpyTk00eGZEQW9sUnZzazJpV0V3eG0vOEdz?= =?utf-8?B?ZTlia3ZVMHNMSGk1RWd3WTJvUGs5aVk2aDRlODF2YXR1T0NXTXdvRW5ydW9S?= =?utf-8?B?Zmx2aE5EeWV2NHo2TWNUaC82cXRKTlBiNkZvYlNvcnhmbmNXcyszYkhWY1Zn?= =?utf-8?B?d1A0N0gwZENiU2F2bzM4OWJzTkxuTXhWaGkzYVJmRmRvNGhIUW8xb2h0VGFP?= =?utf-8?Q?wFoNOhKb7twpp7119Rf6skADyrEki88pcl0aG1b?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ2PR11MB7573.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230035)(1800799019)(7416009)(366011)(376009);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UWUrZVk4YkdWR0gzK2xNZlpBM1phRjBkU2tZbVhXSG1UUmZKa25EaUVQRWdJ?= =?utf-8?B?amo4THk3VTZaelp3QzJVQ2RubzQ4VUUzQXNUL3c0Mk14R0JVbkFYOUxUVmZx?= =?utf-8?B?RjlDQlpNQVV3c1RM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NHWk1n?= =?utf-8?B?UllycUJHTFUzbFA2RWU1Qi9iRzdmQ20wTDRROTJRZVhUUTNQWjFtWUFjS3Fi?= =?utf-8?B?WTg5OW5VTlozeFRyelhsYTNmRFYxTnVqbUl4RWhZR0FMRGw5ZVB3b2RkQTNX?= =?utf-8?B?WlBiZlY2dllQK1EvbFkzWGFFY1c5N1g5VWJEMGRxYlFub0dQMk9OaWtFZ3Jh?= =?utf-8?B?U0hJamJ4V2xlOE5CRmg4Vit0SUJlelZVM0hKNDdlY1Blem13K0VSaGl1bGhv?= =?utf-8?B?L1E9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: e440f6d2-3944-4329-42f9-08dc8c0d0625 X-MS-Exchange-CrossTenant-AuthSource: SJ2PR11MB7573.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2024 00:57:54.6386 (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: DSkC5k0bwiGCQzH953Hhk10KbvKGzdMmBP8IBoRg5m2CjVH3VpauI2kpmQgLxP+UBvX4Ic+wgWZoy7qgEVMSnXz8m6gXBB5YsRtz49pabuU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR11MB8567 X-OriginatorOrg: intel.com Hi Babu, On 5/24/24 5:23 AM, Babu Moger wrote: > The ABMC feature provides an option to the user to assign a hardware > counter to an RMID and monitor the bandwidth as long as the counter > is assigned. Number of assignments depend on number of ABMC counters > available. Take care that this interface will not just be used by ABMC. I assumed that when the user switches to "soft-RMID" then the value of "num_cntrs" will change? > > Provide the interface to display the number of ABMC counters supported. > > Signed-off-by: Babu Moger > --- > v4: Changed the counter name to num_cntrs. And few text changes. > > v3: Changed the field name to mbm_assign_cntrs. > > v2: Changed the field name to mbm_assignable_counters from abmc_counters. > --- > Documentation/arch/x86/resctrl.rst | 4 ++++ > arch/x86/kernel/cpu/resctrl/monitor.c | 1 + > arch/x86/kernel/cpu/resctrl/rdtgroup.c | 16 ++++++++++++++++ > 3 files changed, 21 insertions(+) > > diff --git a/Documentation/arch/x86/resctrl.rst b/Documentation/arch/x86/resctrl.rst > index 02790efaabcc..7ab8172ef208 100644 > --- a/Documentation/arch/x86/resctrl.rst > +++ b/Documentation/arch/x86/resctrl.rst > @@ -257,6 +257,10 @@ with the following files: > # cat /sys/fs/resctrl/info/L3_MON/mbm_local_bytes_config > 0=0x30;1=0x30;3=0x15;4=0x15 > > +"num_cntrs": > + Available when ABMC feature is supported. The number of ABMC counters > + available for configuration. This can only be understood by folks already familiar with AMD's ABMC feature. There is no information about what "ABMC feature" is, what an "ABMC counter" is and what "configuration" can be done with it. Do you think this num_cntrs will only be used by ABMC? What will happen when user enables "soft-RMID" or some other mode? Reinette