Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp245273lqo; Thu, 9 May 2024 20:18:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV+XwGxT028uoSRwCeJEK3WqO6XQxc7ECai46TGBQ4IVqWbK4BC/nJNibkDVID8YMMOPOyaPdNvxkdeanT33VgOaYmKsdCV0zCllC18cw== X-Google-Smtp-Source: AGHT+IFdpdHutJaHW5VL59BjGbdBqJvjIdi0ub43jvdB2IT6L673zwcWfPOIFi845XvTCvMeJg/P X-Received: by 2002:a05:6402:2071:b0:572:aaaf:c349 with SMTP id 4fb4d7f45d1cf-573327883b9mr3567229a12.11.1715311097832; Thu, 09 May 2024 20:18:17 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c36e876si1374343a12.575.2024.05.09.20.18.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 20:18:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175240-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jkzhqL1j; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-175240-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175240-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6019E1F22376 for ; Fri, 10 May 2024 03:18:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7ECA4148FED; Fri, 10 May 2024 03:18:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="jkzhqL1j" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) (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 C469D33CD1; Fri, 10 May 2024 03:18:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=198.175.65.17 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715311088; cv=fail; b=MbwXEm/GFZ20DhrQKUNITmOw6tFTVq/EycWvPuc4vzYfnjZbu0GYdg4MLs1wVj50MGm55z3RlyCjzC4IjMT4wY0/wrXcFTyT5pcZHFAngt2Vol1zamR9Rve4BVMI+boKK3qNKiZY9DSkX+TmmzlyMhdHnMg3pH92XApYgYt+WCk= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715311088; c=relaxed/simple; bh=PFz9OxVxdYaH0FJcslainkusmsgWT3oDxfuIlbA+eB4=; h=Message-ID:Date:Subject:To:CC:References:From:In-Reply-To: Content-Type:MIME-Version; b=rigQWzEQi17n7eJqu5G0Zby7s/bM+HvysythN7mznJjeP9OQ/Tm5GTICvXRm55rX0+kQLWqytJqqQKgtlti4rX9dq1j45ObdS5RifeIFuqGdn8uYYuywaHPxs66SzWIrc4bCXLExCdPPlUEyI+ophuc2chR+T3foBdkUkno+AEw= 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=jkzhqL1j; arc=fail smtp.client-ip=198.175.65.17 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=1715311087; x=1746847087; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=PFz9OxVxdYaH0FJcslainkusmsgWT3oDxfuIlbA+eB4=; b=jkzhqL1jefQRzSHxG/r+Du3j1TUn8JXCUEB67oV9CZ9NfVuS0TnJFdgI aFEyow7khCEGpSRcOLA4daunGDL4CrMO6vt7M2CrvfMhUaExaTJFS1A4k ZDAtFY82Occk9shYh0Y4Gb2vCyUqhqcehrgPcD/o4wbkICBXmxF4tP+aa 3zxuOxuXUXHDMSeyqGIsAt231S6GzChwrXjtOFx6bJtparPHWYTGM5wns oROrfRnUUDYS9OoR95L6Yr1HWZiGV/rMORiQBbWrPDohrjneaSGQF/HFu tX7UUBW8tx19ysN+Kl1AaUoXiTg79blY+RnFtkQl/pfIDTNmp0B1aLQGE Q==; X-CSE-ConnectionGUID: G4sd217RTiGfkmZcxrKZfg== X-CSE-MsgGUID: UCKar3onSr6KHcXutb76rw== X-IronPort-AV: E=McAfee;i="6600,9927,11068"; a="11402026" X-IronPort-AV: E=Sophos;i="6.08,149,1712646000"; d="scan'208";a="11402026" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 May 2024 20:18:07 -0700 X-CSE-ConnectionGUID: +U0doEKJQD+xQFd0VBLS0g== X-CSE-MsgGUID: s3rowKUWT6q5zYTuB2WXXg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,149,1712646000"; d="scan'208";a="34123030" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orviesa003.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 09 May 2024 20:18:07 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 9 May 2024 20:18:05 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 9 May 2024 20:18:05 -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.35 via Frontend Transport; Thu, 9 May 2024 20:18:05 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) 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.35; Thu, 9 May 2024 20:18:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mQzJTuMfs1GXwH6QPe2ngaGB+JNQx4B//sUPg5JnTB/B9VKndBDPda/9kwrZwJ6U6jriyE8630VYKzD5cPjtVgVsg1CsrV3TxQgFoXXTcs2keNkvGXCtVKZw0Za7qNaG/PR12dwBjGpN9SisJ1+0sCMM8UImy5r7abmnVRwMjGCFebZavKL2a3KLXD24eJ4jhVpOMX3hvGJIBWET5xr65WC4/qMVBWKfTIzxmiEfA28mG7dBC3O/1SCQ16bUgzfhy8HDGe62CAHeO0C3mvtJ7tNf/NmO54HJ9Mr6dFnh2Gmwqp1AQ8hjhmKAdaI4WXDMV+K06JQU9WYyZaG2rAVZTg== 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=e1MKvT0RPpKwRrykzUQImmmXZ7WAKnHIVNnknQumuR8=; b=Hzl517h6LcjnA9BSF3sTeYjCUsASGkh7h9jvregNTAIomaeAD5haEpd13ymuabYpypQ11yrFw4U5A8wLtyD/aqocjZ+cXCSj1eMYS2PEc9D86LiuteiHnQD5roTUO2TiMjUJxraKIebBe/17fkW7kytP/COv362xnWuCWhDS7VGUVWZeyHdt9gP7QtpDVGenVpyyj4Ub2QqjShY7M5+UgKD/TdQC8y57NSJxSBuyQjc2EpPhFw+ZNpS2iF7zLSGHTDKGSGCGnGOwINPH4whl0SXfKnjTzIVsL4QzJXikrOwMAUeg4vxA/aI/dTRmJTch7b3Zu2dD2jH0D/JXmdLcgg== 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 MN2PR11MB4663.namprd11.prod.outlook.com (2603:10b6:208:26f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.43; Fri, 10 May 2024 03:18:03 +0000 Received: from SJ2PR11MB7573.namprd11.prod.outlook.com ([fe80::b394:287f:b57e:2519]) by SJ2PR11MB7573.namprd11.prod.outlook.com ([fe80::b394:287f:b57e:2519%4]) with mapi id 15.20.7544.046; Fri, 10 May 2024 03:18:03 +0000 Message-ID: <50d006e0-8488-4579-ab4e-701e1a8f410a@intel.com> Date: Thu, 9 May 2024 20:18:00 -0700 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH v3 03/17] x86/resctrl: Detect Assignable Bandwidth Monitoring feature details To: , , , , , , CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , References: <63134ddf18208bbd11bcec0ec75c33ef6e5635b2.1711674410.git.babu.moger@amd.com> <80b33bc6-7b70-4853-92a0-718c2d8728d3@amd.com> <753844b6-b68d-4b05-89b0-3ac36e1c8564@intel.com> Content-Language: en-US From: Reinette Chatre In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MW4PR04CA0130.namprd04.prod.outlook.com (2603:10b6:303:84::15) 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_|MN2PR11MB4663:EE_ X-MS-Office365-Filtering-Correlation-Id: 9a06c4dd-48a8-4918-4b97-08dc709fcd77 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:13230031|376005|1800799015|7416005|366007; X-Microsoft-Antispam-Message-Info: =?utf-8?B?ME5pby9qUU9uNXFzdzlIV2lLQVUyQ2dOTXV0Z2hnU3ZCTmdjTkw2S3Q0NUVZ?= =?utf-8?B?Nk9haTdsblYzZzlTWVNPTC9yTXl5azZ6YThUNnJaOWl0YlZZOUhuMmQwQ3F1?= =?utf-8?B?RzF2d1ltdVovejZ2WmprM0dOVUFJN0pSM3ZMQ0ZCbGZZUHJVNFFpVklvMXVT?= =?utf-8?B?SG1iUjBjbllNcGZpMFZNMXhOeTJ3MThIYm1tOGN0K3c1SmcvNkJXQVFFMEd6?= =?utf-8?B?RWE1WTlDUzdjR1R6eExySktKNmZNc09WU2pPWk94bVdTZ0RFUjVUd3A3NTcv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oMG5WZHVTMVlF?= =?utf-8?B?amI5ZDJ1SkFjZ2lBcFhhZGtLL1NPUVhhdEFmZzc1U21HcVQvL3RwS1ZLbEpB?= =?utf-8?B?MmhzRDJpY3dZYUgySWtZWnVUSnVnWUZtTEcrdStNcWFjdFhiM3lNZjVPNDBq?= =?utf-8?B?eitYSlhJMTdIam9xWDFUYVZBNzhRQTFtZ053WkdUWkRpdjZaQXJsbTBMTGdm?= =?utf-8?B?Z0NOeVdadXMvV1M5RVFncEdEL29CZC9PQldjR3BpT0hmSTZBVC9DV3RqMGw4?= =?utf-8?B?M2VFTGZDMmN6V2llN2xaelVYMHZpd3pYUFJQamxML1A1Yk5FcE9SWlpUc1NT?= =?utf-8?B?OTBQT0ZIeDBjNUM0V2c5Z0IweVpNd3pxN2xuWDh3bVB6dENJeGVZUEJzb1Fz?= =?utf-8?B?Rk5pRE9aODVZMzM2K3NYVXZDemlBNHkzVHZyVGdTaXZyOThXaHhGV25ZeUQ1?= =?utf-8?B?aHo4Z2I4RkM3L0dKOVowNXE2UEVXODB3RW9Qck0rMDBaSnI5NGVnSEJ2bHgw?= =?utf-8?B?Y1RQR1ordHZ5bTdMb3dsR2FYRXpDbVk2RWFWSDlTVlpmbm95VTQ2dVlRPT0=?= 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:(13230031)(376005)(1800799015)(7416005)(366007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VUZyamRpZ29seU10UnkzUG1oMGRucnRNNFE3cmJqU1cybm1KYmFyTDZCeFpx?= =?utf-8?B?OExMSGlBVU51S0crVFBEVVVuaGpZSnEyWUhWbXlMMmxuaWZDRVQ5MnVLVVZN?= =?utf-8?B?S3d0VFRFdjZSSWYxeEFSaFpzTE42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FZnZlR1T2g1dVJqK2FNTXMvNTJDdEFSTVZNQUd4?= =?utf-8?B?aU1XemltL3dLYzhtVmg5ZVFocjNuSE53M1UxY1VGUk5xS1lSRE1YREZUUzRw?= =?utf-8?B?TnlHdEhJcnNBNU1RdllTbDNKMkxzODhYSWlMTExkWnQ0Y1BrdDZTUHVKclVL?= =?utf-8?B?bFl1UFB4NmdaRGtCOC9nVm9lZk1sWU9uRmtrVXRhRWd4cTNqWFFCS0hqcnFM?= =?utf-8?B?SHc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 9a06c4dd-48a8-4918-4b97-08dc709fcd77 X-MS-Exchange-CrossTenant-AuthSource: SJ2PR11MB7573.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2024 03:18:03.0387 (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: x31T/elYjMgcGe4Y6D1fRRktfCQpaPMiSiyBSc4PEWrJh0bHjEmVHny4wGoOh60Ca8GzDkxyfPzTEfmAGRqVKjNZNJm/Oj8EJF/l8TcTZmk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4663 X-OriginatorOrg: intel.com Hi Babu, On 5/9/2024 3:34 PM, Moger, Babu wrote: > Hi Reinette, > > On 5/7/24 15:27, Reinette Chatre wrote: >> Hi Babu, >> >> On 5/6/2024 12:09 PM, Moger, Babu wrote: >>> On 5/3/24 18:26, Reinette Chatre wrote: >>>> On 3/28/2024 6:06 PM, Babu Moger wrote: >> >> ... >> >>>>> + * @mbm_assign_cntrs: Maximum number of assignable counters >>>>> */ >>>>> struct rdt_resource { >>>>> int rid; >>>>> @@ -188,6 +198,8 @@ struct rdt_resource { >>>>> struct list_head evt_list; >>>>> unsigned long fflags; >>>>> bool cdp_capable; >>>>> + bool mbm_assign_capable; >>>>> + u32 mbm_assign_cntrs; >>>>> }; >>>> >>>> Please check tabs vs spaces (in this whole series please). >>> >>> Sure. Will do. >>> >>>> >>>> I'm thinking that a new "MBM specific" struct within >>>> struct rdt_resource will be helpful to clearly separate the MBM related >>>> data. This will be similar to struct resctrl_cache for >>>> cache allocation and struct resctrl_membw for memory bandwidth >>>> allocation. >>> >>> Did you mean to move all the fields for monitoring to move to new struct? >>> >>> Struct resctrl_mbm { >>> int num_rmid; >>> bool mbm_assign_capable; >>> u32 mbm_assign_cntrs; >>> }: >>> >> >> Indeed, so not actually MBM specific but monitoring specific as you state (with >> appropriate naming?). This is purely to help organize data within struct rdt_resource >> and (similar to struct resctrl_cache and struct resctrl_membw) not a new >> structure expected to be passed around. I think evt_list can also be a member. > > How about this? > > Lets keep assign_capable in main structure(like we have mon_capable) and > move rest of them into new structure. > > Struct resctrl_mon { > int num_rmid; > struct list_head evt_list; > u32 num_assign_cntrs; > }: This looks like a good start. It certainly supports ABMC. I do not yet have a clear understanding about how this will support MPAM and soft-RMID/ABMC since the current implementation has an implicit scope of one counter per event per monitor group. It thus seem reasonable to have a new generic name of "cntrs". Reinette