Skip to content

[26.04_linux-nvidia-7.3-next] fs/resctrl: Report unknown schemata domains - #723

Draft
nirmoy wants to merge 1 commit into
NVIDIA:26.04_linux-nvidia-7.3-nextfrom
nirmoy:codex/nvbug-7080254-7.3
Draft

nirmoy wants to merge 1 commit into
NVIDIA:26.04_linux-nvidia-7.3-nextfrom
nirmoy:codex/nvbug-7080254-7.3

Conversation

@nirmoy

@nirmoy nirmoy commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

A schemata write naming an unknown domain returns EINVAL, but last_cmd_status reports ok because parse_line() does not record a diagnostic. Report the invalid domain ID while preserving the error return and staged-configuration cleanup.

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: c377dcf ("x86/intel_rdt: Add diagnostics when writing the schemata file")
Signed-off-by: Nirmoy Das <[email protected]>
(backported from https://lore.kernel.org/r/[email protected])
Signed-off-by: Nirmoy Das <[email protected]>
@nirmoy

nirmoy commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator Author

BaseOS Kernel Review

Tip

✅ Review passed

No issues found across the reviewed commits.

Findings: none

🔍 Review artifacts

📦 Build checks — 🟢 4/4 passed

Install the PR kernel with APT

Published for reviewed head dfa4b4058577: noble/amd64, resolute/arm64. Requires the NVIDIA network.

curl -fsS https://baseos-reviewer-66d7b9.gitlab-master-pages.nvidia.com/install.sh | bash -s -- install pr-723
Manual installation

Manual setup · signing fingerprint DF52E10C47F28AC221DA19ED6D25A5DFC6686DFC

Manual commands for Ubuntu 26.04 Resolute / arm64, on the NVIDIA network:

(
set -euo pipefail
work=$(mktemp -d)
trap 'rm -rf -- "$work"' EXIT
curl -qfsS --proto '=https' -o "$work/archive-keyring.gpg" https://baseos-reviewer-66d7b9.gitlab-master-pages.nvidia.com/archive-keyring.gpg
curl -qfsS --proto '=https' -o "$work/baseos-internal-tools.crt" https://baseos-reviewer-66d7b9.gitlab-master-pages.nvidia.com/baseos-internal-tools.crt
sudo install -d -m 0755 /etc/apt/keyrings
sudo install -m 0644 "$work/archive-keyring.gpg" /usr/share/keyrings/baseos-pr-kernels.gpg
sudo install -m 0644 "$work/baseos-internal-tools.crt" /etc/apt/keyrings/baseos-pr-https.crt
printf '%s\n' \
  'Acquire::https::baseos-internal-tools.nvidia.com::CaInfo "/etc/apt/keyrings/baseos-pr-https.crt";' \
  'Acquire::https::baseos-internal-tools.nvidia.com::Verify-Peer "true";' \
  'Acquire::https::baseos-internal-tools.nvidia.com::Verify-Host "true";' | \
  sudo tee /etc/apt/apt.conf.d/90baseos-pr-kernels >/dev/null
printf '%s\n' 'deb [arch=arm64 signed-by=/usr/share/keyrings/baseos-pr-kernels.gpg] https://baseos-internal-tools.nvidia.com:4001/reviews/apt/NVIDIA/NV-Kernels/723/resolute/arm64 resolute main' | \
  sudo tee /etc/apt/sources.list.d/nv-kernels-pr723.list >/dev/null
sudo apt update --error-on=any
sudo apt install --no-remove nv-kernels-pr-723
)

For Ubuntu 24.04 Noble / amd64, use the same flow with this source line:

deb [arch=amd64 signed-by=/usr/share/keyrings/baseos-pr-kernels.gpg] https://baseos-internal-tools.nvidia.com:4001/reviews/apt/NVIDIA/NV-Kernels/723/noble/amd64 noble main

The repository remains configured. Later apt update and apt install nv-kernels-pr-723 pick up newly published builds; APT verifies signed metadata with the shown Signed-By key.

Note

Build reports and debs are retained for 10 days after the PR closes.

  • 🔴 PR Illustrated: failed — Published explanation could not be verified.
Review metadata
  • Reviewed head: dfa4b4058577
  • Overall status: passed
  • Build checks: 4/4 passed

This comment is maintained by BaseOS Reviewer and updated when the GitHub watcher publishes a newer review.

@github-actions

Copy link
Copy Markdown
Contributor

PR Validation Report

Patchscan ✅ No Missing Fixes

All cherry-picked commits checked — no missing upstream fixes found.

PR Lint ❌ Errors found

Details
Checking 1 commits...

Cherry-pick digest:
┌──────────────┬──────────────────────────────────────────────────────────────────┬────────────┬─────────┬───────────────────────────┐
│ Local        │ Referenced upstream / Patch subject                              │ Patch-ID   │ Subject │ SoB chain                 │
├──────────────┼──────────────────────────────────────────────────────────────────┼────────────┼─────────┼───────────────────────────┤
│ dfa4b4058577 │ fs/resctrl: report unknown schemata domains                      │ match      │ found   │ ok, backporter: nirmoyd   │
└──────────────┴──────────────────────────────────────────────────────────────────┴────────────┴─────────┴───────────────────────────┘

Lint: all checks passed.

PR metadata:
E: PR targets 26.04_linux-nvidia-7.3-next but body has no https://bugs.launchpad.net/... link

@nvmochs

nvmochs commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

Confirmed this is the same fix as in #709

Acked-by: Matthew R. Ochs <[email protected]>

@jamieNguyenNVIDIA

Copy link
Copy Markdown
Collaborator

Acked-by: Jamie Nguyen <[email protected]>

@clsotog

clsotog commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

Acked-by: Carol L Soto <[email protected]>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants