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.56.71 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1792536050; b=1OMr7p5n3ofTnr6QcnrRIj4KtjMys+no9dF/38iIhkI/OES+I+qb5VovTQ8tA1paYLUk 6VZXKh8KGYe+Up8LHq6aw3Be3wqmXpUTwxF5ON9vWpUMvElUro2nXXSFqUvyb4j6iINlp PCpBjdaTIzCYgycPf46hLWRa5WFCj32SBwp+I6P8ol010mJ0xlP0Popyt4qViruc0OfEo kUm7sR7jUUMJWQv68H1m4wlvCK/h9HwSiRZ0YJvSwce4rJI0jDNOOhq1RXePbFiQTeSGs zX+De9SSrp6jhsRpSfyasb5ZzCn+Telq51S1eE7f4VhKe2cYKyixBmBavVLA4yd+EKA== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792536050; 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=8mczsWQvOYQQl4XsxFFWW00i62Jcr04cpalkveEBTlc=; b=tOIssjp74Wy5/eh55FbPxaVUjaFYaoGqeiZzQ/BrHuJEh3D5KY4t4Jo5ZnQANmew2rjb oOeozz0h/YAHPvuX3PWTJFlCBVsaVFqhBwp9JUmCoVQQ+sBdPpty2lbU6XYQXLM8FoQki c54R8wcKevn41RjS0IjJpE6kAvj+LkfLKSbf/84LTdHmn49ssp5HkklLRD9OM9yHOHyW+ 3svB8jDxah7aN5+uld7LgWSeBpg+SZ2XDsRzyoG25nM45TgTRas5xUz13Na86KN6tyyXn 708VRqpMUuyvreL86OIS2FAZ82xUGFhKDXls3G4vEl1fVlioZXQ4WZT0CnOaPnxjDOg== 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=Q6rTptpR; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.56.71 Received: from BN1PR04CU002.outbound.protection.outlook.com (mail-eastus2azon11010071.outbound.protection.outlook.com [52.101.56.71]) (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 A2EC2606A321 for ; Tue, 20 Oct 2026 22:40:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A2EC2606A321 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=Q6rTptpR ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=uOziGpDIHR+qJzpbB70Jdvgh/4DN/ZJFZlCLZ8cR0kRYYTku3vICEqyF7V9q5EfQseRVwceDJQBRocg9Ole8b4Ag7Z6jpV9ibSbZa3XgsLzOGRTvSSemdASzQa1gOOebzNI34EwqWweq+dJdkK+n6PIe0IqHaMT5vDFFj4RQG9ecgIcFSffh56DS4Ow6ecIJaRTfoxa8P7rJFwod3OMIDCxaZRI4ZJA7cI8RcEjvPtJrDK0GQouha5HUKRyaugEh6/8SNGGv5QO1gu+a8G/SL5FFsbh3uugc7TCZzIXFsCvc85Owj4CnG9v6QmNN0PsKdr4mDenaVs/dZUQTdECKvQ== 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=8mczsWQvOYQQl4XsxFFWW00i62Jcr04cpalkveEBTlc=; b=ROpvYu+s3u+z+zO7I4LB2FcOE8XqRJRO5/ai1ED6l4dSYzZSkyeG6I1fPMKJYzBFAAjAjUo1WcYyi/eNNq/FAcF368xj13mMMQ5mb4kcOyy2ZI2fHfnv6577S9qzymqk05JjsxxZDrbqBW5U+aAUWB/JIxX3LxmN/lv6kz9KONu3CvWL25Z9mGBtL+HEB2QigLoIGJZQjV6L7OQfSOoEYPQ5zmwxawvt5HU352/dQ/U9lCH+pVHMJ/HrN5N09PyLogogKub9P0ZZVerLOrih23axbW1f2e2yTQvvn/6hOPkd6hKm+jaF/YKTC25+3I2YH89BiMeb+fitM8l7GayQGA== 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=8mczsWQvOYQQl4XsxFFWW00i62Jcr04cpalkveEBTlc=; b=Q6rTptpRn1iyQcxYU6qDdIr0uzH6qSPnpjisHRd5Z/wtvxDgKDfj3ap07Vxyq1M4wsp8kBPiiNbwRYSIhX5m/6lVyC4ULAM01UogGOrg1aghzAEaXYkiLHHenjI181Nh1R7KaIpArflawzMwwMNT7HuMbN3BOIVvAaiCGLaazUY= 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 PH7PR12MB5901.namprd12.prod.outlook.com (2603:10b6:510:1d5::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.522.19; Tue, 20 Oct 2026 22:40:39 +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.0546.012; Tue, 20 Oct 2026 22:40:39 +0000 Message-ID: Date: Tue, 20 Oct 2026 17:40:35 -0500 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 03/18] x86/resctrl: Add PLZA configuration definitions and data structures To: Reinette Chatre , Babu Moger , tony.luck@intel.com, bp@alien8.de, ben.horgan@arm.com Cc: corbet@lwn.net, skhan@linuxfoundation.org, rdunlap@infradead.org, x86@kernel.org, Dave.Martin@arm.com, james.morse@arm.com, tglx@kernel.org, mingo@redhat.com, dave.hansen@linux.intel.com, hpa@zytor.com, fenghuay@nvidia.com, kas@kernel.org, rick.p.edgecombe@intel.com, akpm@linux-foundation.org, rppt@kernel.org, dapeng1.mi@linux.intel.com, elver@google.com, enelsonmoore@gmail.com, jlayton@kernel.org, kuba@kernel.org, ebiggers@kernel.org, seanjc@google.com, ewanhai-oc@zhaoxin.com, binbin.wu@linux.intel.com, peterz@infradead.org, ashish.kalra@amd.com, superm1@kernel.org, chang.seok.bae@intel.com, prathyushi.nangia@amd.com, kim.phillips@amd.com, ackerleytng@google.com, elena.reshetova@intel.com, naveen@kernel.org, darwi@linutronix.de, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-coco@lists.linux.dev, kvm@vger.kernel.org, eranian@google.com, peternewman@google.com References: <608876cedf5eece3f8b9297bcf21663a86a6380d.1790867441.git.babu.moger@amd.com> <7f14a2b1-2d95-4606-9242-eba62afeb856@intel.com> Content-Language: en-US From: "Moger, Babu" In-Reply-To: <7f14a2b1-2d95-4606-9242-eba62afeb856@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: DS1PR07CA0005.namprd07.prod.outlook.com (2603:10b6:8:456::9) To BL1PR12MB5320.namprd12.prod.outlook.com (2603:10b6:208:314::17) X-Mailing-List: linux-coco@lists.linux.dev 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_|PH7PR12MB5901:EE_ X-MS-Office365-Filtering-Correlation-Id: 5fc32949-5b80-4ff8-e7dd-08df2efb2a6e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|23010399003|366016|376014|1800799024|7416014|6133799003|22082099003|18002099003|4143699003|11063799006|10067099003|56012099006; X-Microsoft-Antispam-Message-Info: X7wCmYecz93wS5xsdDKh4fHktvzdWLR8d5KFF+uo3snIh8U9R1TzUqrngKqg8ye3Y8D2d5Fsi9QVtBmhu4YGrsPbQutFd1bhttCwiePSxvlSZl2GfB+o/0+P8XVytQzjyfQ8jqwgVxouigSuk7DuFxctwfvmRbKNeXpgEf88X05PI5SHfve53Hl7s7uphk6pBaxL0BMz9T5GK7zAi2yjP5BPH52+RwBGCQkzrh62vWUR/wHmJXjHc0tq1mBBUxKCiYBB7HQ2xf3SSu5j6taJSElVIt96rumdOf9XYLtFtCUBl4tduZmtRgpq1s2HxRI1PnOEmwJKb6dl7ZRlcrf/Dlq6zZWTqc0dG4YjsVrBI7foMdRj1kj1qKfzFYnLRuskbYMgOq+BtJj1+LZHQyULDP+4NjVWnvx10YTsDp6KVI7NOxuvzV4A3mWOuLkAvBtMIWTrE8aFsG3KIYrQw0OzfZUc6V16TNjVPW7tzB+/Bt2SlY0WYp2hdGgi2q5fG3Gx9zuOstXu2ssiRYRJ1l6HH0pTFObrh4rJsnBqQGPXzqdM1NGhAyeGT0Tv2dn++s8grnGMkoWqW/UzjDTK7epnZKoRsDHWeozDqw0JsOYZ6eM8c0lxi9gLUxktIzUwQa1+Yhe1K2bto+Ss21hh/3splBi9MGxSb44uToDQKzdLiMc= 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)(23010399003)(366016)(376014)(1800799024)(7416014)(6133799003)(22082099003)(18002099003)(4143699003)(11063799006)(10067099003)(56012099006);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Si8yQXYzM3FZY25WQW9zTFRSbHRMNUFGUjlneXgvVmJUREpqVDNUSnRaR0Vm?= =?utf-8?B?WUUwRTM3eVdqd2tCdHAvY0NodFlzYVdQVG5HaE8zKy9jTXJzbnlhNit6Nytu?= =?utf-8?B?U05pL3RBaXZ2U3hpd09kOE5Nci9mQWFUc3FWQ0dCa0NZdEVoc29Oc3lvLy9p?= =?utf-8?B?bXlPcnQ5QTFlQ1dVc1VkcExzVDQvY0hqTk1SZnc5SnRuTm0wR25qaVFYeW0x?= =?utf-8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TV1Z5bUJpOTNYcTJacWMrS0puMjlqUUV6Z1pSUnJ5?= =?utf-8?B?WmJBRm5UMm5vL0JoR1JiWVpNNGRuK1d4UEM3VDQyVTNTNXFSdEp2UTlVcnNn?= =?utf-8?B?cUlJTEgreC9FRTVvZU4wLzBZVTc2dmNoZVllMC9PUjVGaHZEcEZzdFpndkx0?= =?utf-8?B?MmFXSlhHUFMyc0tVZFFDeFdHd0k2c09VMGt0NVE1d29tc3JzUllsTWI2NGdW?= =?utf-8?B?WFhOUjArSE9DaWR5UFd5MGxQMlhKbGF0QUdTN092NTYwRFlTNGtrNTFhTVJG?= =?utf-8?Q?Z8Kkc6MN/OirSpOWPx?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5fc32949-5b80-4ff8-e7dd-08df2efb2a6e X-MS-Exchange-CrossTenant-AuthSource: BL1PR12MB5320.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Oct 2026 22:40:39.6093 (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: m8Ndp0HUSMhs7E9/NAzltjts6ACXgnA+N1Zg558/QoFDa8ui1P5L97jqYaZgVcCV X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB5901 Hi Reinette, On 10/20/2026 4:47 PM, Reinette Chatre wrote: > Hi Babu, > > On 10/20/26 11:02 AM, Babu Moger wrote: >> On 10/19/26 11:16, Reinette Chatre wrote: >>> On 10/15/26 4:07 PM, Babu Moger wrote: >>>> On 10/15/26 09:22, Reinette Chatre wrote: >>>>> On 10/1/26 8:10 AM, Babu Moger wrote: >>>>>> Privilege Level Zero Association (PLZA) enables the kernel to switch to >>>>>> a different CLOSID and/or RMID than those used in user mode when entering >>>>>> kernel mode. CLOSID and RMID selection are independent and can be >>>>>> configured separately. >>>>> >>>>> That CLOSID and RMID are independent on x86 is clear to me. That they can be >>>>> configured separately is not clear to me in this context. What does this >>>>> "separate configuration" refer to? Looking at the later patches kernel >>>>> mode allocation and monitoring associations are always configured together >>>>> and written to same MSR at the same time? >>>> >>>> >>>> Good point. Its confusing.  What I meant is that allocation (CLOSID) >>>> and monitoring (RMID) associations are independent PLZA features and >>>> can be enabled independently in hardware. For example, a platform >>>> may enable kernel mode CLOSID association without enabling kernel >>>> mode RMID association, or vice versa. >>>> >>>> Yes. The kernel interface configures both together because they are carried in the same IA32_PQR_ASSOC MSR update. >>>> >>>> How about? >>>> >>>> Privilege Level Zero Association (PLZA) enables the kernel to use a >>>> different CLOSID and/or RMID in kernel mode than in user mode. >>>> Allocation (CLOSID) and monitoring (RMID) associations are >>>> independent PLZA features and may be enabled independently by >>>> hardware. >>> >>> Which CLOSID (MSR_IA32_PQR_PLZA_ASSOC.closid) and/or RMID (MSR_IA32_PQR_PLZA_ASSOC.rmid) >>> is used in kernel mode is different from whether the CLOSID (MSR_IA32_PQR_PLZA_ASSOC.closid_en) >>> and/or RMID (MSR_IA32_PQR_PLZA_ASSOC.rmid_en) is used in kernel mode. >>> >>> This series uses the high level "allocation and monitoring association" term >>> interchangeably for both of these meanings and doing so causes confusion. >>> >>> Please pick specific terms to refer to the CLOSID/RMID assigned to kernel mode vs >>> whether the CLOSID/RMID assignment is enabled and use it throughout the series. >>> >> >> Another attempt to capture all the details: >> >> "Privilege Level Zero Association (PLZA) enables the kernel to use a >> different CLOSID and/or RMID than those used in user mode when >> executing in kernel mode. CLOSID and RMID selection can be >> configured independently. > > First sentence already contains "and/or" so I think the last sentence can just > be dropped. > ok. >> >> The kernel mode CLOSID and RMID are specified by >> MSR_IA32_PQR_PLZA_ASSOC.closid and MSR_IA32_PQR_PLZA_ASSOC.rmid, >> respectively. plza_en activates the PLZA operation, while closid_en >> and rmid_en independently control whether the corresponding kernel >> mode CLOSID or RMID is used. > > Please aim to provide higher level description than what can be seen > from the patch. > Ack. >> >> Make the register and its field layout available so kernel mode >> allocation (CLOSID) and monitoring (RMID) selection can be >> configured independently." > > Apologies but I really do not understand why the "independently" > distinction is needed since these values are always programmed together. No problem. This looks good. > > Here is an attempt, but it is written without knowing which terms you have > picked to stick with: > > x86/resctrl: Add PLZA MSR definition and field layout > > Privilege Level Zero Association (PLZA) enables a CPU to use a different > CLOSID and/or RMID when executing in kernel mode than those used in user > mode. > > PLZA is programmed per CPU through MSR_IA32_PQR_PLZA_ASSOC, which contains > the kernel mode CLOSID and RMID, an enable bit for each, and a bit that > enables PLZA on the CPU. All fields except the PLZA enable bit must be > programmed identically on every CPU in a domain. > > Make the register and its field layout available in preparation for resctrl > support of kernel mode allocation and monitoring. > thanks Babu