From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.48.20 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796225474; b=Y5rZEAhpReV+mCVvxcgA7ZPx8gTvbCzP1jNGwgavnlBF8g64L0Jm33UVPeaU4MXRxOiw eE6jalpHT8wvN2ZWjwG4p4bs5+hU4u2olMQPWs8fbGrtJj/byKsWpBlVCHr5tCg1fT9z9 s//Ad/cj7efhlvjSvkkgJBGbLD+8okvCUJalfZjtTNf3oxNEMYA2Bs24yjnjPesLAlOa0 y19CLPo/I1fk0ZSolsk5jssJM8h8GKiZCPSgBuH1vQ9ppo8BQA60lczRQD/q7iQVMKIpv BMF552Z3vbjwjQnbrOXoE97ez8Wju/0H3B+49OQ3044wvVsHWA8ZueUV/7PVk2B/bJQ== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796225474; h=DMARC-Filter:DKIM-Signature:Received:Received:Message-ID:Date: User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To: Content-Type:Content-Transfer-Encoding:X-ClientProxiedBy:MIME-Version: X-MS-PublicTrafficType:X-MS-TrafficTypeDiagnostic: X-MS-Office365-Filtering-Correlation-Id:X-MS-Exchange-SenderADCheck: X-MS-Exchange-AntiSpam-Relay:X-Microsoft-Antispam: X-Microsoft-Antispam-Message-Info:X-Forefront-Antispam-Report: X-MS-Exchange-AntiSpam-MessageData-ChunkCount: X-MS-Exchange-AntiSpam-MessageData-0:X-OriginatorOrg: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-CrossTenant-Id:X-MS-Exchange-CrossTenant-MailboxType: X-MS-Exchange-CrossTenant-UserPrincipalName: X-MS-Exchange-Transport-CrossTenantHeadersStamped; bh=JkxxikjwUrT9fe0zTvFnL1/+MJoHEqKj88Ww7jv9WRc=; b=W+t5TZPo7UHv8wmT33WcU77YjGHjsdAxd59gb6dx9waEuHUTPgpH+wLas8c13nihil0d RUz/uhrdwx/9p9SnfVPr+EMrkaqo5LPzfzBwyE3elZm9GP2AZx2TPIW8SdSf4+jJpocNS 9f0/P1eS3BtpV/uOIB62E1NDheYUImXCoXggXgebEdDH24QDv6qRgAm4qHS74KO/LeBFW dwPXhVazO49P7RvpbBcpDUS+PY/QnqomxaPxFhdjIiTs2ard+PAlSSAOqtluZxlff4W27 nGj+h+AhyDiEuLxigGm0ItVytmwQWg2J/DUK3Yq0r9nOAR67suE4W157xitajFvBSkQ== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b="qWqspc/Y"; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.48.20 Received: from MW6PR02CU001.outbound.protection.outlook.com (mail-westus2azon11012020.outbound.protection.outlook.com [52.101.48.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B13DA606A31A for ; Wed, 2 Dec 2026 15:31:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B13DA606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=qWqspc/Y ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=AnsDfV5fNszlX5zyfQ7WT1p9Pad7vbvoI26uSDot5grslhsnkGlr0vt1AigJzNdC0KH0+dz9beHoM/fBTgWaP1noIXyclhpg1FicgiXmM2mYwtN02qQO5kbU/HlKJ6PA/9Rd4NwJGczlXGSDo8ohJX8zf7dm0ZjA1n3KDqGPpisjIyIzvKGks0v0SRsnVZodK6bsLkH4dXUyPfxb2ybmIjUIa71R1OcBcvpSkypoyf8t6rZJcA/Jgk7iOLYcHjwU+NbBD1/HhklyjhIP4it5QTOnkN1+7BUhGeFMOAKjUHNw+ZXTn/MOxf/lg8FahG1jgLD6Dc29rFIWDjBsSXicog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=JkxxikjwUrT9fe0zTvFnL1/+MJoHEqKj88Ww7jv9WRc=; b=xBMzcVHF49AFFX7ZSHg8Ex0nP5JzHAP9Cc5loPZN1MzxOmEHkLbe5x0BzOZa/Vwz0zGJQHTAN7D80GsIjWXwUJerHhl4QgLaDCcC3T6wuiXK+PRpFQ0yvRKHUGtemt27R9mSyDPVuYWPdsuomIH37IIOwS6nSUYVoO07PS/yzbzuoSwnkUw92o9VqrIk70U/YZoO8A3RgSG9uYmK+me0hubxhnsd6Zu+7TB6MviMbqzZJzNJ28QQQo89VU1PGSA3VRNwgKa3Z2XuC+PFnuZq00qpjLveu+4uHlRcMX0YhJieKpdi6nvvWGsu9M3k2ZFtVysfZjlmHv1F/OvR3FMhoA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JkxxikjwUrT9fe0zTvFnL1/+MJoHEqKj88Ww7jv9WRc=; b=qWqspc/YUTwUbe9kIASgNepa+7srkGK1jFcTnSXIlBgx2OkfZ0r/waVjkWI/M3ajSTqdVkJWfjezTwtoog905udTeH29ThXCVVSSDjhxOgNid7OivRe/5LfJD4zqUBr0i00HcvpxuGoXZ4wr9OsKnbWOg29DVV+MFgUo3AOyXkk= Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BL1PR12MB5320.namprd12.prod.outlook.com (2603:10b6:208:314::17) by PH8PR12MB8606.namprd12.prod.outlook.com (2603:10b6:510:1ce::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.10; Wed, 2 Dec 2026 15:31:07 +0000 Received: from BL1PR12MB5320.namprd12.prod.outlook.com ([fe80::1876:4a6d:2cf5:b8d1]) by BL1PR12MB5320.namprd12.prod.outlook.com ([fe80::1876:4a6d:2cf5:b8d1%5]) with mapi id 15.21.0688.010; Wed, 2 Dec 2026 15:31:06 +0000 Message-ID: Date: Wed, 2 Dec 2026 09:31:04 -0600 User-Agent: Mozilla Thunderbird Subject: Re: [RFC v3] arm,x86,fs/resctrl: Generic schema description Proof of Concept To: Reinette Chatre , Tony Luck , Ben Horgan , James Morse , Dave Martin , Drew Fustini , Fenghua Yu , Chen Yu , Jinjie Ruan Cc: Borislav Petkov , Thomas Gleixner , Dave Hansen , Peter Newman , "x86@kernel.org" , "linux-kernel@vger.kernel.org" References: Content-Language: en-US From: Babu Moger In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: CH5P221CA0005.NAMP221.PROD.OUTLOOK.COM (2603:10b6:610:1f2::29) To BL1PR12MB5320.namprd12.prod.outlook.com (2603:10b6:208:314::17) X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL1PR12MB5320:EE_|PH8PR12MB8606:EE_ X-MS-Office365-Filtering-Correlation-Id: 35fe0e2e-1db2-4f93-a686-08df5089485a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|366016|1800799024|23010399003|10067099003|260925021311599003|260925021911599003|260925022911599003|11063799006|56012099006|261021121427099003|261009223027099003|261021123027099003|261102123227099003|261028144727099003|261022075727099003|261026121527099003|261022105027099003|261026140227099003|22082099003|18002099003|6133799003|3023799007; X-Microsoft-Antispam-Message-Info: 6Z943crNnbBNFmVb930HL8SRDj9Ma7yXQkAy0M13PGfXbfnhSZgNVSRSkDuqZ3K8zhYs6GqBxqubWQtseskpTNb90OnYsbtVaRekmFZVxmcnAra7c2I/wdELjy3jIOfG2ab8085RNhaO1v1zgi4LuwfEvADM6m1IWQMsyfDKWaMEMAWiG9zAizz+8FN+NtjHE/eB18ZRTC8J0E/AGo1ojbKmA1FLaln3hwDZ9T10eLbZXHu+P3r8d8M6Hoy93upRYWtEvnz09tloVd4z0kSB6B3+PEw2Hdi+otgWs1Ban8+r4zZjxck/otZYAf0ID31YQr9u2DaB78gpJf39GwykgvC/Jcg+4CJX5lu6y0hIo0ltd0J4SPcX92o58s4P/0nJevQgdLd+BXU8W3dKc4lp2PzetrayNvpZUGPKDw/WvzH7qHw6JZSE4V0/mGf87f4x4Op/NL22NWDDzzYepaCgTwqYFc2RghWl55/ZBXOCaxnAj/Cjz9pBTPAf6xCLhOAiV9eCmHA3UaotZdkl4XbS2GYM3X9yYQDsDA0zb/1uRW0Ue5OvsF9aWKLNZ00vb+1n+lQum1TTXJcLGGp3rVS64B49E5k5tL3QdD+Vwke6GL7CjmfvjqGxd5YfwsSfIN+H X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL1PR12MB5320.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(376014)(366016)(1800799024)(23010399003)(10067099003)(260925021311599003)(260925021911599003)(260925022911599003)(11063799006)(56012099006)(261021121427099003)(261009223027099003)(261021123027099003)(261102123227099003)(261028144727099003)(261022075727099003)(261026121527099003)(261022105027099003)(261026140227099003)(22082099003)(18002099003)(6133799003)(3023799007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?MFVUSU9ZOWtpS25mYmlDc0R3cEI5MjZzYy92d0xLZTFuT2hjb0UvSzFqSDZB?= =?utf-8?B?cFpud1RQODdFeitaUTRYbngza3NDNi8xT1I1bDJCUVVlbTVPZmVEVnZGL2VS?= =?utf-8?B?SnBNR3l6R1ZQS0RDKzhXSEhiaVI5aXNCalhYNDQ5U1RSY29jOS90Wlp4Ujdr?= =?utf-8?B?ZVJFb2s5TTh5M0g3bXgzNGJ4b3FERzhhMmpXRW5OQ1grcEN3dlRvNFR5Z2lT?= =?utf-8?B?M2t6MVBudXZXOHZWWk56VmU4QlRqVTJtSXBsZzQrK3hDTmpjVE9PQWxyQXhm?= =?utf-8?B?K0djeGRMM2R1aFZtUHpnWWVOOElHdFp3S2d1U1lobm5ieGl0ZW51RG9lOVFx?= =?utf-8?B?RjdobE9INWRqUVRSamw1SGJXNGZxN1dpNTZxN1FmQ3JXZnZDNEFodlZ6REM0?= =?utf-8?B?eU95SXZYMkhvMzlobENmYmJSUkcxTC9BbnhZMUwzTVh0aUpJR2hZc3ExbFpI?= =?utf-8?B?OUc1ZGludjdGc01ldE53d3Z2cTlLZkVqNFdwMkpaOW1haG5iRmdzR3FkdjJU?= =?utf-8?B?K2tXOExzeC9WdHNVK3Fx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Message-Id: 35fe0e2e-1db2-4f93-a686-08df5089485a X-MS-Exchange-CrossTenant-AuthSource: BL1PR12MB5320.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Dec 2026 15:31:06.7057 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: //cOVK05mAQCfxpFUKUQWVvXfq+S/T9OvVs+NKNsn5vmFdhqpl99HN6IjpnBdlej X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB8606 Hi Reinette, Thanks for the patches. Few comments below. On 11/19/26 23:04, Reinette Chatre wrote: > Hi Everybody, > > I believe that discussions around resctrl's upcoming support for multiple > controls are starting to settle. This RFC aims to capture all the remaining > items in implementation as well as documentation. Please point out to me if > there is anything I missed. > > RFC v3 of this PoC can be found at: > git://git.kernel.org/pub/scm/linux/kernel/git/reinette/linux.git branch resctrl/controls_rfc_v3 > > Please refer to the documentation patch for an overview of the planned interface > changes as well as user space contracts/expectations: > > https://git.kernel.org/pub/scm/linux/kernel/git/reinette/linux.git/commit/?h=resctrl/controls_rfc_v3&id=95ff9ff7430095cb7264946c944c750315db73d9 > > Remaining opens: > --------------- > - Ben: I do have a question about the formula used to determine the size of > a scalar cache control. Please see patch changelog of: > https://git.kernel.org/pub/scm/linux/kernel/git/reinette/linux.git/commit/?h=resctrl/controls_rfc_v3&id=8695aab0997d5aa60e104374fae9701f51156c18 > - MPAM only compile tested. > - The same x86 "SAMPLE" code as RFC v2 to demonstrate emulated controls. > - Add relationships between controls. For example, cannot set "MIN" control > value to be larger than "MAX. Unclear how to do this in resctrl fs when > considering that the relationship may span between emulated and backing > controls. This is potentially something that needs to be managed by architecture > and thus potentially without a consistent failure to user space. > > Changes since RFC v2: > -------------------- > RFC v2: https://lore.kernel.org/lkml/d258a32f-12d5-464d-abe9-4720fb3e44b3@intel.com/ > git://git.kernel.org/pub/scm/linux/kernel/git/reinette/linux.git branch resctrl/controls_rfc_v2 > > User visible changes: > - Make scope a property of the control again, now in addition to a separate > allocation scope of the resource. Expose the control scope via a new > per-control "scope" file (L2, L3, or NODE) that tells user space what a > domain ID in the schemata file represents. Needed to support AMD's GLBE > and CPU-less memory bandwidth allocation. (Ben and Babu) > - Name controls according to the scheme agreed during RFC v2 discussions: > __, with the control > scope dropped when it matches the resource scope. MB and SMBA carry their > L3 scope only implicitly, so their new controls show it explicitly, for > example MB_L3_MAX, or MB_L3NODE for a default control at NODE scope. > https://lore.kernel.org/all/bccb1249-e722-451a-9c75-8aa846713045@intel.com/ > - Report "max" per domain in preparation for systems with resource > instances of different capacity. A bitmap's "max" no longer has a "0x" > prefix. (Drew and Tony) > - Drop the "min_bits" file. The "min" file of a bitmap control now reports > the minimum number of consecutive bits. > - Only offer, and only allow switching to, "native" control mode when the > resource has emulated controls. (Ben) > - Only allow cache pseudo-locking via the default cache control. > - Display the "size" of scalar cache controls. (Ben) > - Stop reporting scalar control parsing errors as being about "MB". (Ben) > - Document the control naming, the "scope" file, that control values may be > reset on a control mode switch, that legacy info files return no content > in "native" mode, and that non-legacy resources need not have a default > control. > > Other changes: > - Require a control and the controls it is emulated by to have the same > scope. > - Require only legacy resources to start in legacy control mode. > - Generate control schema suffix once during initialization. > - Fix initialization of the list of emulating controls (Ben), clearing of > staged configurations of backing controls (Chenyu), and Haswell control > initialization (Chenyu). > - Reword changelogs about CDP, allocation size and the bitmap control so > they no longer suggest resctrl will only ever support one cache control. > - Fix checkpatch.pl issues, subject prefixes and changelog typos. > > Series structure: > - Rebase on: > - x86/cache branch of tip that is based on v7.4-rc1 with the queued > resctrl cleanups > - MPAM domain separation that was extracted from RFC v2 and submitted > separately: > https://lore.kernel.org/lkml/cover.1794283825.git.reinette.chatre@intel.com/ > - Squash four patches into the patches they support: > - "fs/resctrl: Provide control to cache allocation" > - "x86,fs/rectrl: Provide control when requesting arch to update a single > domain", which also keeps MPAM building at every patch in the series. > - "fs/resctrl: Expose bitmap properties via new files in schemata folder" > - "fs/resctrl: Include emulated controls when determining control field > width" > - New patch from Ben: "fs/resctrl: Display size for scalar cache controls". > - Move IO allocation control selection, and the helpers that display the > new control properties, earlier in the series. > > Any feedback is appreciated. > I compiled your code on my machine. The system booted successfully, and I was able to see the new control parameters and their values. Here is the output. . ./L3 ./L3/bit_usage: 0=SSSSSSSSSSSSSSSS;1=SSSSSSSSSSSSSSSS;2=SSSSSSSSSSSSSSSS;3=SSSSSSSSSSSSSSSS ./L3/cbm_mask: ffff ./L3/control_mode: [legacy] ./L3/io_alloc: disabled cat: ./L3/io_alloc_cbm: Invalid argument ./L3/io_alloc_cbm: ./L3/min_cbm_bits: 0 ./L3/num_closids: 16 ./L3/schemata ./L3/schemata/L3 ./L3/schemata/L3/max: 0=ffff;1=ffff;2=ffff;3=ffff ./L3/schemata/L3/min: 0 ./L3/schemata/L3/scope: L3 ./L3/schemata/L3/type: bitmap sparse ./L3/shareable_bits: 0 ./L3/sparse_masks: 1 . ./last_cmd_status: ok ./MB ./MB/bandwidth_gran: 1 ./MB/control_mode: [legacy] ./MB/delay_linear: 0 ./MB/min_bandwidth: 0 ./MB/num_closids: 16 ./MB/schemata ./MB/schemata/MB ./MB/schemata/MB/max: 0=8192;1=8192;2=8192;3=8192 ./MB/schemata/MB/min: 0 ./MB/schemata/MB/resolution: 8 ./MB/schemata/MB/scale: 1 ./MB/schemata/MB/scope: L3 ./MB/schemata/MB/tolerance: 0 ./MB/schemata/MB/type: scalar ./MB/schemata/MB/unit: GBps ./SMBA ./SMBA/bandwidth_gran: 1 ./SMBA/control_mode: [legacy] ./SMBA/delay_linear: 0 ./SMBA/min_bandwidth: 0 ./SMBA/num_closids: 16 ./SMBA/schemata ./SMBA/schemata/SMBA ./SMBA/schemata/SMBA/max: 0=8192;1=8192;2=8192;3=8192 ./SMBA/schemata/SMBA/min: 0 ./SMBA/schemata/SMBA/resolution: 8 ./SMBA/schemata/SMBA/scale: 1 ./SMBA/schemata/SMBA/scope: L3 ./SMBA/schemata/SMBA/tolerance: 0 ./SMBA/schemata/SMBA/type: scalar ./SMBA/schemata/SMBA/unit: GBps 14 directories, 49 files I noticed that only the max values are exposed on a per-domain basis: but min is displayed only once. ./SMBA/schemata/SMBA ./SMBA/schemata/SMBA/max: 0=8192;1=8192;2=8192;3=8192 ./SMBA/schemata/SMBA/min: 0 Is that intentional? Also, I was expecting the x86 msr_update implementation to be converted into a generic handler, as we discussed earlier: https://lore.kernel.org/lkml/6e440b7f-66db-4c4e-a6ac-2cb418739bad@amd.com/ Do you have any plans to address that in this series? I haven't ported my GLBE code on top of this series yet. I'll let you know if I encounter any issues, but from what I've seen so far, the porting effort looks fairly straightforward looking at the sample code. Thanks, Babu