From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796264625; b=F+G6xIH8NMLC2aGzosKHIesD+9hRkna+F292XCxg1Ka73e1IoadhZl4xoUeRr9MswnSi ST0v32pRJg9tq72WXuzmrLhmWe+dr4upSsHd2CxAPGBAHqo1du6qz3STQhJ57r9wbJ/19 trkEvgzH1R3qTbGAf6YHZ+wvy4YFirx8l6uf/90Vbc+d9iH9fPkeMlglZTTDQqbpOOkzu OWe+hik6QXrazhix/bieK2Rrd+g1AsPUUJO0hVzdCB5bfheBgLQHD1LDWp/2MWjhl7TV1 86Ih3uOcwYH+UIlsGXs0A3N43tnpZ8VmqSwYf4lV0dtbPFX2cs/4F+e0UQZhG5dmVdw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796264625; 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-Proofpoint-GUID: X-Authority-Analysis:X-Proofpoint-Spam-Info: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=yOSk4CBcPbOgVdNUdqvfJx/Nm2tlTiA6hdL6Y16+2JU=; b=f0kt+WwL8woW/tKxsp8qRHmXhf2LpolX+7HpgL5e4UmdcmtvXuj/bZJJysWOBluAGXdv TS4D4OJo9nMjqs0gZbOc7lWzxV7JBfKF31PxK8TEArhtqc++JIhnmpfPZd8cR2rjWUHPl rDmH3EKjjbDeoNA2j2Zu6X9iSwq6VxEHNegZr188dbpNHrvwh/YyLCCcdifCWsD+vCSPI 1PXid1B9rSsHglM/natQo0JxiagZlDi30WK5l0ytx7Ge5sKJRHIT2YAvKCaWQD1R0Jbe3 ol31S9/Nxn3iK4vE7pKAA433LyU5Q+/o/EZDkyZqf9CtKvn56G6yGDioMDGIPG+88Aw== 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=DPmVQEbW; arc=none smtp.remote-ip=205.220.180.131 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 EE156606A322 for ; Thu, 3 Dec 2026 02:23:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org EE156606A322 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=DPmVQEbW Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B32KfiH4172655 for ; Thu, 3 Dec 2026 02:23:43 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-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4jayjdr0br-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 03 Dec 2026 02:23:43 +0000 (GMT) Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-3b49dd1e77cso9685015a91.0 for ; Wed, 02 Dec 2026 18:23:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796264623; x=1796869423; 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=DPmVQEbW5PvesxyHo3eAQWlCsT15ZghoqUIT9IIt5lJYzEYN0kkeeRddsCVG4Or5vO rNfn52qUuEp7KPImUIYYGAgsExQ9lG3jtvrEysMjtNmOkSF4yFq9QTGhjJiYCT2imBjI /ZTYAkzC/bfgnDCrNhj1IIZ8KHoiq+AHdkCLo/hM4AXHkAnUPYACGssTbvMiPvJ1Zza/ 8SH8ehSbkkw3hyh4oqnaLJ4lWSK2s+6VA5sXEHnxSST0JbcTvuslZI5mr0PBRAySdMNy PO2sIaY2mJPPRlJLHuL30OiczFJ1FUsMdDysc7uBLn+D06X8086+13dxrZEvSTjevOlP /XFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796264623; x=1796869423; 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=swenHE5XkEv1jm0uPK9AbnlOZeLkasweY5VoMXo3zDJbX6sAQ39/k+olu4dKeQyhN8 mBOCKtTy+Y5FMX2eqVIOQulSgM/CNN5mYXaD3HEolVmIoA2mg0wE7u5+VTopbeY94o0q rKbI7Vnvb2SYsKwrLnWO9cE6MJ7Uk1FCh9ZaC6hZoJRFD7GyfH/TBc7k3p5TN3F1ZW5I OMp7q5F/oYLg9wi94eoJuCfwevFI062y0/38jurYEyRpJMMlB9c8C39bOoXuxHpogCH9 SKfI5vkXTeEDMLopVjWfln3unp1S9/4+CNo87X2pc63zcSx71OHCokrqlLR+cs/1RBmd TfSQ== X-Forwarded-Encrypted: i=1; AL+hErGLVLZZ7lv3C6iRF93SbwIpseN5cJ+vRcYHQVyStnWQPmNU4L8WJMYkpwjAET+2ibGhyY8fQ0GYKPhw@vger.kernel.org X-Gm-Message-State: APuU4Z9X0O7HM2xyDcLZnNC3spwv5ZGVwrfGv5GvxQ9LoF04Df8LWVDK nFOJaWTCX5pFyk3BMvxy3b0MYTXWq2I0UkBTcAuqjhZ6eEaRA/mQniYKFdn3huSrdD3D/QX62Pg oULRWXKldD9Q0jYT+iBsbPlxN9LRrvzFR4KkMxerCp7nPD9ULEVXo2o9pgEUxQ0k7 X-Gm-Gg: AZFdTZdtLxLXW20kKP6ZVgKpx0X0OfRc11LwYdlv2+JozqQpO/C1KL6r3bf0sxwvhyh b6mdlUyADOurmXI2list5mFIg7QtgApfo32HmaFpHT3x28CDuOeCculieycm28Debc3mrR5v6dX nhqiWPqu01KFdilohgFcobiQh3hMJ8jgzpaxZKSD3zh8O3eJiStfSrDzzYSx12yXInyhtjldIng 8TY7vei45UskhBOuDcFeWlhtB8urraD+VV9KIvjy9t9JZ7RKbIPVFwlAFu4jCx+a41sZTgQPBA4 T8o4DWZ1Tp99zG4mDHN2EO3ZbaRRJ8mlP0n8TW+1pDp4FAHcT0cXZo+Zt7xk/xXdcUvAG/pE0g2 5K+0wCHZ1qMGODAXYvOv8YTdqdA2Zrsedg8dTsGKTeU8GgfjExyJM5fL2SlMK3k56xE1v9gcYcH v+9hCF0yOPyLgyPQyomWTgSP3HbQ/iAi4TEKA7qWB0SQ== X-Received: by 2002:a17:90b:4ec5:b0:3ac:7e3a:1033 with SMTP id 98e67ed59e1d1-3b41c96182bmr42591962a91.59.1796264622458; 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: devicetree@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: Q6wnx4cMCJnCib3-IrBcdRtSDgIGzO3- X-Proofpoint-GUID: Q6wnx4cMCJnCib3-IrBcdRtSDgIGzO3- X-Authority-Analysis: v=2.4 cv=QpLLTlyd c=1 sm=1 tr=0 ts=6b10d2af cx=c_pps a=RP+M6JBNLl+fLTcSJhASfg==:117 a=nuhDOHQX5FNHPW3J6Bj6AA==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=3WHJM1ZQz_JShphwDgj5:22 a=VwQbUJbxAAAA:8 a=hD80L64hAAAA:8 a=EUspDBNiAAAA:8 a=rxPX7KvKuNudwNuyapwA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=iS9zxrgQBfv6-_F4QbHw:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAzMDAwOCBTYWx0ZWRfX6jlu9tJ87liA TgjPTj61x/UbzXDAE9Rz9Fr9MtQ+/xL8T453CcgrrrefuRV01xkRKfm7iPRD14eNx4a+Qbvt59v Rp+bHqFAJL3ZqptVq4cRulZLVShg6OU= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAzMDAwOCBTYWx0ZWRfX2YHpx5I8NcNb qU6ZCRbQDH9TR20USr9qPICRNqrCuwruD6dQNykAnMSBA1JRVPZ74ot+DzqKYbOZuXJaO3CaG7c Xx7Fljxc1tFTUxTFpqh827TPr23c+7b8X9EI3v7FNaoQ6dQ6EEFrkUWH4uR3c0uAtLYdN6DBquJ ta628nqga3p9K7gDuaLCMzRC1gMVv0bjI5ZV8QB1g2AIQzhrM6bSQ2vpd8V/nYwlDKUL7pYfIZu gKc6U9ss0Uw1IPrk2W6LoSqPDrTTQUW8yfUb6u8gQoH2G/kqdCB6CWTF0aYnWmuZt8tMCUEeyge yw0RAduuiBbLtECaw8GrQJPILl7HfVycdUS6m7vCSqCEedg+xiBOJTxIYvHd7l+3y6u8j3T98+9 EC2mB28usSfX5dXz9qsZyxqHlBynPB7O+hZj1m5P8zMwjNePDqWIvHGrS/YpXJpoTf4vrZ020q/ gPq9q2h4PDZE/tWUNpw== 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 suspectscore=0 malwarescore=0 spamscore=0 bulkscore=0 adultscore=0 phishscore=0 impostorscore=0 priorityscore=1501 lowpriorityscore=0 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612030008 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