On 15/07/2025 10:51, Hari Limaye wrote: > Hi Michal. > >>> + if ( base >= limit ) >> Given that limit is exclusive, to prevent empty regions, you would need to >> check >> for base >= (limit - 1), even though it's not really possible because today >> we >> require page aligned addresses (limit must be at least bigger or equal than >> base >> + PAGE_SIZE). That said, it can change one day, so I would suggest to modify >> the >> check. With that: >> >> Reviewed-by: Michal Orzel <michal.or...@amd.com> >> >> ~Michal >> > > I think that this one is maybe also fine as-is? Yes. ~Michal
- [PATCH v3 0/6] Second series for R82 MPU Support Hari Limaye
- [PATCH v3 1/6] arm/mpu: Find MPU region by range Hari Limaye
- Re: [PATCH v3 1/6] arm/mpu: Find MPU region by rang... Orzel, Michal
- Re: [PATCH v3 1/6] arm/mpu: Find MPU region by ... Hari Limaye
- Re: [PATCH v3 1/6] arm/mpu: Find MPU region... Orzel, Michal
- Re: [PATCH v3 1/6] arm/mpu: Find MPU r... Hari Limaye
- Re: [PATCH v3 1/6] arm/mpu: Find M... Orzel, Michal
- [PATCH v3 3/6] arm/mpu: Populate a new region in Xen MP... Hari Limaye
- Re: [PATCH v3 3/6] arm/mpu: Populate a new region i... Orzel, Michal
- Re: [PATCH v3 3/6] arm/mpu: Populate a new regi... Hari Limaye
- Re: [PATCH v3 3/6] arm/mpu: Populate a new ... Orzel, Michal
- [PATCH v3 5/6] arm/mpu: Implement early_fdt_map support... Hari Limaye
- Re: [PATCH v3 5/6] arm/mpu: Implement early_fdt_map... Orzel, Michal
- Re: [PATCH v3 5/6] arm/mpu: Implement early_fdt... Hari Limaye
- Re: [PATCH v3 5/6] arm/mpu: Implement early... Orzel, Michal
- Re: [PATCH v3 5/6] arm/mpu: Implement ... Luca Fancellu
- [PATCH v3 2/6] xen/arm: Introduce flags_has_rwx helper Hari Limaye
- [PATCH v3 4/6] arm/mpu: Destroy an existing entry in Xe... Hari Limaye
- Re: [PATCH v3 4/6] arm/mpu: Destroy an existing ent... Orzel, Michal
- [PATCH v3 6/6] arm/mpu: Implement remove_early_mappings... Hari Limaye
- Re: [PATCH v3 6/6] arm/mpu: Implement remove_early_... Orzel, Michal