Hi Ayan, > On 28 Oct 2024, at 12:45, Ayan Kumar Halder <[email protected]> wrote: > > After the regions have been created, now we enable the MPU. For this we > disable > the background region so that the new memory map created for the regions take > effect. Also, we treat all RW regions as non executable and the data cache is > enabled. > > As enable_mpu() is invoked from enable_boot_cpu_mm(), one needs to save and > restore the lr. > > Signed-off-by: Ayan Kumar Halder <[email protected]> > --- >
It looks good to me: Reviewed-by: Luca Fancellu <[email protected]>
