[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 2/5] arm/mpu: Implement setup_mm for MPU systems



Hi,

On 28/08/2025 12:12, Hari Limaye wrote:
From: Luca Fancellu <luca.fancellu@xxxxxxx>

Implement `setup_mm` for MPU systems. This variant doesn't need to set
up the direct map.

If this is the only difference, then why do we duplicate the rest of the code? Why can't we instead setup the directmap helper or make it optional?

In fact, in the future we will want to initially have the directmap optional on Arm with MMU, but ultimately will be removed.

Cheers,

--
Julien Grall




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.