From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: gpu: nova-core: mm: Add PRAMIN aperture self-tests Date: Fri, 27 Feb 2026 14:25:33 +1000 Message-ID: In-Reply-To: <20260224225323.3312204-26-joelagnelf@nvidia.com> References: <20260224225323.3312204-1-joelagnelf@nvidia.com> <20260224225323.3312204-26-joelagnelf@nvidia.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Patch Review Good coverage of alignment, byte-order, window repositioning, and error rejection. The misalignment rejection test (Test 5) is valuable for verifying MMIO access safety. --- **Summary of actionable items:** - Fix mbox patch ordering to match the cover letter's logical sequence - Consider squashing patches 1+2 - `VirtualAddress::level_index()` L5 returning `l4_index()` needs clarification/verification - `AperturePte::from(u8)` catch-all silently defaulting to `VideoMemory` is risky - `Cell` pattern in `Gpu::new()` is fragile; consider refactoring - `ensure_pte_path()` per-VFN O(N*depth) walk could be optimized - `execute_map()` drains all prepared pages -- document serialization constraint - `FbLayout::set_usable_vram()` should error on overflow rather than saturating --- Generated by Claude Code Patch Reviewer