From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796264626; b=eVvCDypKkWu33ZFnmGL9QKq+XelgSp3Zadtgv0x/iI8jU5V8F92JBBDn36J7XqLSi8SB Q94smkkHFBu6rkF47JPe5QKqZftXrr4zNGmUC8OS4+CqNIukSV7/gMdpj0/CqIirmb0Ke W7Ba7RDO/uZj+Cw7RGxRRu/KsuaBzkWCKCIYzL20vdqTh6bj2ALRDZ/4P/OSVmdREhhhX mI+ByT/EPPZCw0mrPogTpudJ85lNklujAOIhLcIeFkUJFGB+u1VgYGClaKjSzveUpdi/z FcIgQxraXWnsxwV4NRlLLsLgyHjXrUl3K5STdgjOGQWflm4WbHzT7vnv3226dPMUv0A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796264626; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-Proofpoint-ORIG-GUID:X-Authority-Analysis: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-GUID: X-Proofpoint-Spam-Info:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=yOSk4CBcPbOgVdNUdqvfJx/Nm2tlTiA6hdL6Y16+2JU=; b=RhnPBt2woCLe0I6f94uruSVWwgng8/C+bUGyFJYJEfWEk1DzgQlg3KxqCdiJIalpxxn7 xnH7oV5nx7FzIM0g4NYjpSvegPEQDVofY6oxometyzJvrHoxNVVAPpRBWsTBhACu7WkxS jNZ2ZTah5tPPXZ9iGoOvl6duJ4zqiR4/r0iN5JSx+0HYLnmwri1CcBlmRMuc75ONT/WgU g0WGatYx0cggXgPAs+17Jju5SjTgF3uCah/cmKFunbyUpj0Dfaw4tciiOMHYmS8i6kFF8 aEB6xlBZ9sCv21Bg7KED7+GmqeuB6n9/Xi1hGDYLT4i157+SiJRuOs5J9rkD0n6tXLw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=S2V4tBYd; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=aW5PSR5b; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 804AD606A322 for ; Thu, 3 Dec 2026 02:23:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 804AD606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=S2V4tBYd; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=aW5PSR5b Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B306K0d1684471 for ; Thu, 3 Dec 2026 02:23:45 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= yOSk4CBcPbOgVdNUdqvfJx/Nm2tlTiA6hdL6Y16+2JU=; b=S2V4tBYdG8s0YADv JzVoBpCA/JX+LK+mECkebsqyHfM8gAhZyoId/oh+H6rK24r0E6twV/dzBilP7QIj w+4H8L/IGSD4fV6Nr6pl4R3lY45ps75y5ziMKFVah5pBvL6W9yft+XfoayjkS2d/ 2Qw+gOGeS0AxJp8kfFQ+H6Uwj0fvRlkbv5afb+aBy7I0iIa368rBq+jSXJ6LydKG elK4VmjUk3pUAJzBuaiU3GmpKGytezUvMMNWg3VfWHvBp42JMxH+WsJPd66OMrRt lnb7sztRHGeoWv6PoGlRRHqhCGH47CCehgNU1yEl7qWx5CQG4GbX8gczQBeqWSb1 5adM1A== Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4jaj5a3b3r-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 03 Dec 2026 02:23:45 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-3b4092b645aso12260602a91.2 for ; Wed, 02 Dec 2026 18:23:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796264625; x=1796869425; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=yOSk4CBcPbOgVdNUdqvfJx/Nm2tlTiA6hdL6Y16+2JU=; b=aW5PSR5bm/m1nd8mkmU3NY0dYMAFX8kF1xD2M4Ba4z2tyRhEzL8wmi7obL6EgKZTOO xdJKNMFBEmywzBBYPJ9whFTVho9ep1DiyXyIVbTAdSpGuA9OJ8WPctZOtHUQPsikEmsw GC5Cv6DV+Gl1Q9VSLPwbLYKEP9xjmFpDUBWJLsctA6nu0uXuj9lf4cDSjOnb0auATjdO d5wm3AaNeLHU4av5H+21xsaHPkt3/ve97mh56/VJQQ+CIOCl85RW3hO0JHxEsY+tAjAB WtPljOKk3OL/W7q6zuLe6Nkln0KOwefua8NUPd//ZRRC12XznT+WmKpgC1BpEm7i05gy OSZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796264625; x=1796869425; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=yOSk4CBcPbOgVdNUdqvfJx/Nm2tlTiA6hdL6Y16+2JU=; b=XdnZMoGo/rVV7ZGNTv+wuWKB6eqg245GdbyDKme2sOhqpl1uUZ3Ho/e0hLg8taygw/ EbNHC27se4VS81bve3Fu2fm3yMsHfFn8LVBQpXh5hQJuPCn5KF7F+GsYgxMPZCbGfQW9 u3iEZmtpRfeOFJb2CTrnxuTqMUmA6fz7LsvDZd6ULYt1MHhqgIw1B9gO4dpYytPfsOWn lfg80kY9smN36WENPPZDDsW7PifkMD4l8DHgbh8cBxF1RPQCMZb+Ja6m75LabGVJMHAC fLIClIdw+vkmUtKhDcO1U5piLs1Ky2PLwxlu6JYtPUaaxEvaz1HQIt6cP46ZbnkDUWfF zZDw== X-Forwarded-Encrypted: i=1; AL+hErE5C27YAXFQvcUxZxBB+W4vVcHR74P9hzsrNyaIdmzb6AuvnhJlBRbdiN25NLHYjUCiKxvrIfe3XQuLUiOy@vger.kernel.org X-Gm-Message-State: APuU4Z9FrvtLLjuX2scCHfcBC3efMDnn9/OTso66YFqsOvG+c2IaJl8M OKI254n8y2PZ6nLeRvbDvP2g6M54m3KkW3e+QisT26aUSat7I14YAdyW+hnz89XciW9LcC8Bv2r iBn5id6/Cx1kWGyGgspi2Y36TnoCMc9PO+jMzQ6EG9o2L73ez3A4mK/mrvImU30751/Sw X-Gm-Gg: AZFdTZeX5tKgPEO157JDfptchgFdxq2cYApuYHh4M0slg6izpv475246aNPj/Rb8pdQ HRSHTlyuGgLOaV71xlSZBzOKcSffuacSM8tmuofYwp60Uf6mN1ypjIObjeTW0mL/gMq08qyd98p zljjdwk3Mz7vqY7WwlxOWoTWjSmMqOD5fe0mEwRj0ysrdGPaQeqHtnpVsw/NclkEIZGYjPm8iFz KQlAXBZikxEz+EbvYnOnwDQGd5bjMPyfmFNMt9BalnE1crdTu68ke/L4h+UJUMiGWhDe5kWohxL KgMQajGNZCFwt/JIy6DKBXVh6G8mosBTb/XdZQUUeFmo2PpnBqSB6m9X2JZbMUW6NzEk9BVjE8e IFJCXdA/p2TG7TVGgwmTBkI/ZOLojepiLpe51reXyq61RkIIbBFX4zahwo3EalCvnFe0d6Vr4au P8xEiQ9f2Er+BLnekaMQ3zabb3ZFFszZgHGeVaxo57wg== X-Received: by 2002:a17:90b:4ec5:b0:3ac:7e3a:1033 with SMTP id 98e67ed59e1d1-3b41c96182bmr42591973a91.59.1796264622484; Wed, 02 Dec 2026 18:23:42 -0800 (PST) X-Received: by 2002:a17:90b:4ec5:b0:3ac:7e3a:1033 with SMTP id 98e67ed59e1d1-3b41c96182bmr42591939a91.59.1796264621920; Wed, 02 Dec 2026 18:23:41 -0800 (PST) Received: from [10.133.33.122] (tpe-colo-wan-fw-bordernet.qualcomm.com. [103.229.16.4]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b5c7d47c4fsm1812624a91.8.2026.12.02.18.23.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Dec 2026 18:23:41 -0800 (PST) Message-ID: <3eba4e2d-a005-45e4-b85e-3efc5da19efd@oss.qualcomm.com> Date: Thu, 3 Dec 2026 10:23:36 +0800 X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/2] arm64: dts: qcom: Reserve hypervisor-owned memory on Qualcomm Hawi and Maili To: Nihal Kumar Gupta , Bjorn Andersson , Konrad Dybcio , Abel Vesa , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mukesh Ojha , Jingyi Wang Cc: Konrad Dybcio , Bjorn Andersson , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Vikram Sharma , Tony Jose References: <20261202-b4-qcom-gunyah-hyp-reserved-memory-v1-0-c8c894a2ef68@oss.qualcomm.com> Content-Language: en-US From: Yijie Yang In-Reply-To: <20261202-b4-qcom-gunyah-hyp-reserved-memory-v1-0-c8c894a2ef68@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: wLLJaRh5HIVY7SIijf9SxEG_RnTCECNe X-Authority-Analysis: v=2.4 cv=TYYDJhQh c=1 sm=1 tr=0 ts=6b10d2b1 cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=nuhDOHQX5FNHPW3J6Bj6AA==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=VwQbUJbxAAAA:8 a=hD80L64hAAAA:8 a=EUspDBNiAAAA:8 a=rxPX7KvKuNudwNuyapwA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAzMDAwOSBTYWx0ZWRfX9JbjMphP/JfA KaGTEYSpoUHyZ9cuvtzhUF7pBxx6248j4GZpeWRE8rMoFTETd+RqR/Wk/SgJd4T4RjLC/o2Fznd s0FSnpfNBQieCEkw6Xe7HX3AWiHmQReLiBKltj/nlcynxLtyV7MwWNatyKum2t54Ig9rMJiNuBQ vCLmdnhj6cP48QzbheMH5uVBPna2YPQDq7FzufHPMeF5cjEKnmRkoDU1GLEfhW2+Wz1Y5YeadG7 cS7aR6f04dUePNjPTDaNtKURSMYZ3hInaZO1nkvn8+OZaQfZsRQtLuIYVRXSoIFWmEvlkrjIxJz ZjZgBLMUbn72uPqatK4kaeRkOyQ8m6YIoCeRWSfxNCmEm0Oo6pYVHm82QZgEKibEOkHpXmXaXkr 2EZPaBU7wqXEBMJPYH5Lay0R+DefpqT7lfwGO7y7zMBB8gjYb7tmWI6YEPtS5l3jWrws645IzQ0 5SVS2kwqL4eWCC9uxVA== X-Proofpoint-GUID: wLLJaRh5HIVY7SIijf9SxEG_RnTCECNe X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAzMDAwOSBTYWx0ZWRfX9eKd5sdlMRI2 02ykGaEnMlKljb0FJq8wwIprlVY+SbDaYRBxkHyqp88oPy8kMyzW3XwdMCYhscOv0XhQli+ccWH TNLKsqetyDVsi32Sl5UdwvXr9X0NCEM= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-12-02_07,2026-12-02_07,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 impostorscore=0 priorityscore=1501 adultscore=0 malwarescore=0 phishscore=0 spamscore=0 clxscore=1015 suspectscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612030009 On 12/2/2026 11:55 PM, Nihal Kumar Gupta wrote: > Qualcomm Hawi and Maili MTP are susceptible to synchronous external > aborts (ESR=0x96000010) during early boot while > fdt_scan_reserved_mem() is zeroing its reserved memory metadata: > > Internal error: synchronous external abort: 0000000096000010 [#1] SMP > pc : __pi_memset_generic+0x16c/0x188 > lr : fdt_scan_reserved_mem+0x2ec/0x910 > > These faults are caused by the kernel inadvertently accessing > hypervisor-owned memory that is not properly marked as reserved. > > Add the missing carveouts on both platforms. I'd rather not add the hypervisor region (0x80000000–0x80dfffff) to the kernel DT. The firmware owns that region and already describes it. UEFI leaves it out of its memory map, so a kernel booted through UEFI (EFI stub / UKI) never uses it. The crash only happens on the legacy ABL boot path, because ABL builds /memory from the RAM partition table and ignores UEFI's memory map. A copy in the DT would also need updating whenever the firmware layout changes. The same crash pattern is discussed upstream here: https://lore.kernel.org/linux-devicetree/29cfb3a7-81c2-4c52-913b-cf72e19ff0d8@samsung.com/ I suggest we boot the kernel through UEFI instead. > > Signed-off-by: Nihal Kumar Gupta > --- > Nihal Kumar Gupta (2): > arm64: dts: qcom: hawi: Reserve hypervisor-owned memory > arm64: dts: qcom: maili: Reserve hypervisor-owned memory > > arch/arm64/boot/dts/qcom/hawi.dtsi | 10 ++++++++++ > arch/arm64/boot/dts/qcom/maili.dtsi | 10 ++++++++++ > 2 files changed, 20 insertions(+) > --- > base-commit: d138596e9f822033490b2e577ec2ea64f2aa246c > change-id: 20261202-b4-qcom-gunyah-hyp-reserved-memory-09da35c04612 > > Best regards, -- Best Regards, Yijie