Re: [PATCH v10 04/10] x86,fs/resctrl: Implement "io_alloc" enable/disable handlers

From: Reinette Chatre
Date: Fri Oct 24 2025 - 19:40:13 EST


Hi Babu,

On 10/21/25 4:54 PM, Babu Moger wrote:
> "io_alloc" is the generic name of the new resctrl feature that enables
> system software to configure the portion of cache allocated for I/O
> traffic. On AMD systems, "io_alloc" resctrl feature is backed by AMD's
> L3 Smart Data Cache Injection Allocation Enforcement (SDCIAE).
>
> Introduce the architecture-specific functions that resctrl fs should call
> to enable, disable, or check status of the "io_alloc" feature. Change
> SDCIAE state by setting (to enable) or clearing (to disable) bit 1 of
> MSR_IA32_L3_QOS_EXT_CFG on all logical processors within the cache domain.
>
> The SDCIAE feature details are documented in APM [1] available from [2].
> [1] AMD64 Architecture Programmer's Manual Volume 2: System Programming
> Publication # 24593 Revision 3.41 section 19.4.7 L3 Smart Data Cache
> Injection Allocation Enforcement (SDCIAE).
>
> Signed-off-by: Babu Moger <babu.moger@xxxxxxx>
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=206537 # [2]
> ---

Reviewed-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>

Reinette