On Sun, Feb 22, 2026 at 07:13:18PM +0100, Boris Brezillon wrote:
> On Sat, 21 Feb 2026 09:09:23 +0000
> Alice Ryhl <[email protected]> wrote:
> 
> > On Wed, Feb 11, 2026 at 05:37:06PM -0800, Deborah Brouwer wrote:
> > > From: Boris Brezillon <[email protected]>
> > > 
> > > 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 <[email protected]>
> > > Co-developed-by: Deborah Brouwer <[email protected]>
> > > Signed-off-by: Deborah Brouwer <[email protected]>  
> > 
> > Reviewed-by: Alice Ryhl <[email protected]>
> > 
> > > +/// 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.
> 
> BTW, I think the max is 16 not 32.

Yeah, I double checked the architectural limit in the spec and it says the
Maximum number of address spaces is 16, so I will change this in v2.

Reply via email to