From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AEF19C61DDA for ; Sat, 21 Feb 2026 09:09:27 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0D79110E0B0; Sat, 21 Feb 2026 09:09:27 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="udegqlaM"; dkim-atps=neutral Received: from mail-wm1-f73.google.com (mail-wm1-f73.google.com [209.85.128.73]) by gabe.freedesktop.org (Postfix) with ESMTPS id A609510E0B0 for ; Sat, 21 Feb 2026 09:09:25 +0000 (UTC) Received: by mail-wm1-f73.google.com with SMTP id 5b1f17b1804b1-4836cf00787so36494115e9.1 for ; Sat, 21 Feb 2026 01:09:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1771664964; x=1772269764; darn=lists.freedesktop.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=tjL3co8gOybFESLAf7giPjhwsqQeHlhhnyGU8ZVONRI=; b=udegqlaMNG/N4vZGhgyvES096Pk94kaF32iXW3VIZvEVNmrwuR1cYo2OO+0zp1M0X0 t5ewq3oF8pNsnZleduIbqkHrHKkx2nMnOm11FtD9GgerYdLyy/nOGs7rAEUr5vKuUrZM DsHJbBLRr7WfDsXIEr2m8uGE/Z8ADirciyTEKyi5P6RSNrrPsgOY6JiNSQk2JLf05L+D ibzp1vFF3AEIOuHA3OdxyGs1aLBDohk6tX5afGCGGFWJtkF9F5Gs66OF8W+tMATNHgf1 xEPHWnmmo3IxbLLg+/6UfDXM8GrEdF7YXrWyGDpIeP4QQtxGO1pbbz8e7JtRHTSrRYmx V9zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771664964; x=1772269764; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tjL3co8gOybFESLAf7giPjhwsqQeHlhhnyGU8ZVONRI=; b=wC99SGTvO4c8LDnIOp12sLCnG6oVfZO3u4hWCgLIUdp/T57yswdTbgXNOWr2l4gMdQ vGgACYCIXjZo9Upw1YZWeRCnFp3llE5wXVO3idmnVE5MDeBupO3pgx3FhcO1gi6vfXjK FcevNOPTVDcuCTw7nunV5nlxOSa2wMLAToqhf0sVvysCm80I4b4ostZ0EZ57yxtjIS/G vz5QoiU3NfMHfSJCu5ZnYi2+ch9P8leaTQUf0CHNCgvzcwBlbTTdfXIgw/7gEI4Uoqle zk8gvHVfA1jBd1TGUz0J1lml9h5XL6VHi8MJCpRjFEc21z/PNA1Ieg3JWvZqSQNQYSOD hq/A== X-Gm-Message-State: AOJu0YwNS32VY2HK8h/n4uY/yAz5XKpO0lFEwYR2RzqRgCLmmPvys36c 6BghoRYsEiej6RzDM66bXv9diAFjgpSCASab6AlJZfvYlEGLzgfA1ei37Ck9A/gWWb4x2Joq48P l7QecjGztmvavZEpk3A== X-Received: from wmpz1.prod.google.com ([2002:a05:600c:a01:b0:483:8b61:16bd]) (user=aliceryhl job=prod-delivery.src-stubby-dispatcher) by 2002:a05:600c:358c:b0:47e:e59c:67c5 with SMTP id 5b1f17b1804b1-483a94a0b4fmr44283405e9.8.1771664964168; Sat, 21 Feb 2026 01:09:24 -0800 (PST) Date: Sat, 21 Feb 2026 09:09:23 +0000 In-Reply-To: <20260212013713.304343-6-deborah.brouwer@collabora.com> Mime-Version: 1.0 References: <20260212013713.304343-1-deborah.brouwer@collabora.com> <20260212013713.304343-6-deborah.brouwer@collabora.com> Message-ID: Subject: Re: [PATCH 05/12] drm/tyr: add MMU address space registers From: Alice Ryhl To: Deborah Brouwer Cc: dri-devel@lists.freedesktop.org, rust-for-linux@vger.kernel.org, daniel.almeida@collabora.com, boris.brezillon@collabora.com, beata.michalska@arm.com, lyude@redhat.com Content-Type: text/plain; charset="utf-8" X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wed, Feb 11, 2026 at 05:37:06PM -0800, Deborah Brouwer wrote: > From: Boris Brezillon > > Add register definitions and constants for managing MMU address space, > including: > - Address space translation configuration (page table format, attributes) > - Memory attributes (cacheability, shareability) > - Address space commands (update, lock, flush) > - AsRegister helper for per-AS register access > > These will be used by the MMU/VM manager to configure page tables and > control address space operations. > > Signed-off-by: Boris Brezillon > Co-developed-by: Deborah Brouwer > Signed-off-by: Deborah Brouwer Reviewed-by: Alice Ryhl > +/// Maximum number of hardware address space slots. > +/// The actual number of slots available is usually much lower. > +pub(crate) const MAX_AS_REGISTERS: usize = 32; Not necessarily a problem, but this constant is not present in Panthor's header file. Alice