Re: [PATCH] fs/resctrl: Report unknown schemata domains

From: Reinette Chatre

Date: Tue Nov 24 2026 - 12:20:07 EST


Hi Nimroy,

On 11/18/26 12:58 PM, Nirmoy Das wrote:
> A schemata write to an unknown domain returns -EINVAL without setting
> last_cmd_status. The status buffer is cleared before parsing, so reading
> last_cmd_status after the failed write incorrectly reports "ok".
>
> Report the invalid domain before returning -EINVAL, matching the existing
> I/O allocation parser diagnostic.
>
> Fixes: c377dcfbee80 ("x86/intel_rdt: Add diagnostics when writing the schemata file")
> Signed-off-by: Nirmoy Das <nirmoyd@xxxxxxxxxx>
> ---

Thank you very much.

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

Reinette