On 17/07/2025 14:58, Hari Limaye wrote: > Hi Michal, > >> On 17 Jul 2025, at 13:54, Orzel, Michal <michal.or...@amd.com> wrote: >>> + /* >>> + * DTB starting at a different address has been mapped, so destroy this >>> + * before continuing. >> I don't understand this scenario. Can you describe it in more details? >> I know that early_fdt_map will be called twice. First time, mapped_fdt_base >> == >> INVALID_PADDR and second time, mapped_fdt_base == fdt_paddr. What's the other >> option? >> >> ~Michal >> > > This was intended as more of a sanity check than a situation that was > expected to occur. Maybe you think it makes more sense to remove this and > just add an assert that `mapped_fdt_base == INVALID_PADDR` here? Yes, assert would be much better here. I can't think of a scenario, where fdt_paddr would differ depending on the call. ~Michal
- Re: [PATCH v3 1/6] arm/mpu: Find MPU region by ... Orzel, Michal
- Re: [PATCH v3 1/6] arm/mpu: Find MPU region... Hari Limaye
- Re: [PATCH v3 1/6] arm/mpu: Find MPU r... Orzel, Michal
- [PATCH v3 3/6] arm/mpu: Populate a new region in Xen MPU map... Hari Limaye
- Re: [PATCH v3 3/6] arm/mpu: Populate a new region in Xe... Orzel, Michal
- Re: [PATCH v3 3/6] arm/mpu: Populate a new region i... Hari Limaye
- Re: [PATCH v3 3/6] arm/mpu: Populate a new regi... Orzel, Michal
- [PATCH v3 5/6] arm/mpu: Implement early_fdt_map support in M... Hari Limaye
- Re: [PATCH v3 5/6] arm/mpu: Implement early_fdt_map sup... Orzel, Michal
- Re: [PATCH v3 5/6] arm/mpu: Implement early_fdt_map... Hari Limaye
- Re: [PATCH v3 5/6] arm/mpu: Implement early_fdt... Orzel, Michal
- Re: [PATCH v3 5/6] arm/mpu: Implement early... 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 Xen MPU... Hari Limaye
- [PATCH v3 6/6] arm/mpu: Implement remove_early_mappings for ... Hari Limaye