From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: drm/msm: Allow CAP_PERFMON for setting SYSPROF Date: Wed, 27 May 2026 14:42:30 +1000 Message-ID: In-Reply-To: <20260526145137.160554-3-robin.clark@oss.qualcomm.com> References: <20260526145137.160554-1-robin.clark@oss.qualcomm.com> <20260526145137.160554-3-robin.clark@oss.qualcomm.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Patch Review ```c - if (!capable(CAP_SYS_ADMIN)) + if (!perfmon_capable()) ``` Correct. `perfmon_capable()` checks both `CAP_SYS_ADMIN` and `CAP_PERFMON`, matching what i915/xe do. This is a straightforward security improvement. --- Generated by Claude Code Patch Reviewer