Public bug reported:

Writing a schemata entry with an unknown domain ID returns EINVAL, but
/sys/fs/resctrl/info/last_cmd_status still reports 'ok', so it provides
no explanation for the rejected write.

To reproduce, mount resctrl, select an available resource such as L3,
and attempt a schemata write for that resource using a domain ID absent
from the current schemata. Read /sys/fs/resctrl/info/last_cmd_status
after the write fails.

The kernel should report the invalid domain ID in last_cmd_status while
continuing to return EINVAL and preserving the existing schemata.

The fix was validated on Vera with the Ubuntu 26.04 BOS kernel. The patch was 
posted upstream:
https://lore.kernel.org/r/[email protected]

** Affects: linux-nvidia-bos (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175155

Title:
  resctrl: Report unknown domain IDs in last_cmd_status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-nvidia-bos/+bug/2175155/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to