Re: [PATCH 2/2] arm64: dts: qcom: agatti: Address Gunyah memory alignment needs
From: Konrad Dybcio
Date: Wed Jan 07 2026 - 06:29:10 EST
On 1/5/26 6:46 AM, Sumit Garg wrote:
> On Sat, Jan 03, 2026 at 09:49:04AM -0600, Bjorn Andersson wrote:
>> On Mon, Dec 29, 2025 at 12:42:58PM +0530, Sumit Garg wrote:
>>> From: Sumit Garg <sumit.garg@xxxxxxxxxxxxxxxx>
>>>
>>> Gunyah hypervisor requires it's memory start address to be 2MB aligned.
>>> So the address map for Agatti is updated to incorporate that requirement.
>>> This should be a backwards compatible DT change which should work with
>>> legacy QHEE based firmware stack too.
>>>
>>
>> How come this isn't conveyed to the operating system using the UEFI
>> memory map?
>>
>
> I agree that with EFI boot, the information is getting conveyed via EFI
> memory map. But there will be non-EFI boot scenarios as well in case of
> U-Boot. And moreover I suppose we need to keep the reserved memory
> ranges in DT updated to reflect the actual memory map.
Can U-Boot not do the same by altering /reserved-memory or /memory/reg?
Konrad