On 06/06/2025 18:48, Ayan Kumar Halder wrote: > Enable the helper functions defined in mpu/mm.c and asm/mpu.h for ARM32. > Define the register definitions for HPRBAR{0..31} and HPRLAR{0..31}. > One can directly access the first 32 MPU regions using the above registers > without the use of PRSELR. > > Also fix the register definition for HPRLAR. > > Signed-off-by: Ayan Kumar Halder <ayan.kumar.hal...@amd.com> It looks good apart from ... [snip] > @@ -98,7 +101,8 @@ static void prepare_selector(uint8_t *sel) > WRITE_SYSREG(cur_sel, PRSELR_EL2); > isb(); > } > - *sel &= 0xFU; > + *sel = *sel & 0xFU; this change. Why? Apart from that: Acked-by: Michal Orzel <michal.or...@amd.com> ~Michal
- [PATCH v2 0/3] Enable R52 support for the first chunk of... Ayan Kumar Halder
- [PATCH v2 3/3] arm/mpu: Provide access to the MPU r... Ayan Kumar Halder
- Re: [PATCH v2 3/3] arm/mpu: Provide access to t... Orzel, Michal
- Re: [PATCH v2 3/3] arm/mpu: Provide access to t... Luca Fancellu
- Re: [PATCH v2 3/3] arm/mpu: Provide access ... Luca Fancellu
- Re: [PATCH v2 3/3] arm/mpu: Provide access ... Ayan Kumar Halder
- [PATCH v2 1/3] arm/mpu: Introduce MPU memory region... Ayan Kumar Halder
- Re: [PATCH v2 1/3] arm/mpu: Introduce MPU memor... Orzel, Michal
- [PATCH v2 2/3] arm/mpu: Provide and populate MPU C ... Ayan Kumar Halder
- Re: [PATCH v2 2/3] arm/mpu: Provide and populat... Orzel, Michal
- Re: [PATCH v2 2/3] arm/mpu: Provide and pop... Ayan Kumar Halder
- Re: [PATCH v2 2/3] arm/mpu: Provide and... Julien Grall
- Re: [PATCH v2 2/3] arm/mpu: Provid... Ayan Kumar Halder