Re: [PATCH 2/2] arm64: dts: qcom: agatti: Address Gunyah memory alignment needs
From: Konrad Dybcio
Date: Mon Dec 29 2025 - 07:43:29 EST
On 12/29/25 8:12 AM, 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.
>
> Signed-off-by: Sumit Garg <sumit.garg@xxxxxxxxxxxxxxxx>
> ---
> arch/arm64/boot/dts/qcom/agatti.dtsi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/agatti.dtsi b/arch/arm64/boot/dts/qcom/agatti.dtsi
> index e705eb24160a..153916980ac0 100644
> --- a/arch/arm64/boot/dts/qcom/agatti.dtsi
> +++ b/arch/arm64/boot/dts/qcom/agatti.dtsi
> @@ -298,8 +298,8 @@ reserved_memory: reserved-memory {
> #size-cells = <2>;
> ranges;
>
> - hyp_mem: hyp@45700000 {
> - reg = <0x0 0x45700000 0x0 0x600000>;
> + hyp_mem: hyp@45600000 {
> + reg = <0x0 0x45600000 0x0 0x700000>;
On a second thought, please add a comment like:
/* Gunyah requires the start of the region to be 2MiB-aligned, QHEE doesn't care */
to prevent someone "fixing" it in the future
Konrad