From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB7ED2F3626 for ; Wed, 3 Sep 2025 10:54:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756896888; cv=none; b=HWR7xv6UA8HLsA78iUl/0zz6rkWlAPF2QnBb5KQ5LxmcJTeuqCTpCU5Zleqi3E8bKP0rX0Iou/PdWCBCHVFnj3eZKaz847UQMp8bz/ZFzH5AMdl3EHA96LFzK6ZDZRatcLhkALKVIwmnae5WC2VV8i9dthZAWugVJSNOr4/pVPA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756896888; c=relaxed/simple; bh=Tm+ubvDpNij69TvVH7w3Pi5cDsVKJICM7WBgBpUCufU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=n2Mi4EN6kY+KfTEkWL3Fj25si856M48Be+Kl+6M8qsLdBk6rIkP3eDrsqZPqjxUt4ZKIumxOvpmdgpH5GHflfGppVxGPk7cZzDXN8DwV2evwlceWhAdyu2XggjXNzMt+NOBBf5HN9fpJEpe300qlGGlzxXlO38hImNWJAjb2z4s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=XL9JUpZ+; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject 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.b="XL9JUpZ+" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 583AXQgj010139 for ; Wed, 3 Sep 2025 10:54:46 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= SN52Stku6irzzygye658oXiBDSvkmv+/53cdsuo8Qoc=; b=XL9JUpZ+VtDwPbNG R12bsrBYQgiEvFwu7M6IkEk0sHMwzQjPhmsvgvSX/rcv72V3Xad3TjVc4xMZFrrF ly+LStev01TlDrXqB3MUO8ipPdmAzrtcuQNmRAAbaeDH/pryFP357V7OITcmz8JU 3vIpsQjTkFotg5EFcDTtAnwa1k5tvD5FVya2qjvL0oJXNtxA9FBg/eTxEQsTN6Eb yOTX7AI448QwROoEYzShuS5QdElPe1Yu7fjJWYMf37V9K8cW4eGYazkhN4NMIrrc yREXPskGTy6/7D9GWSAiCkdz57G50OTIGECgZ07VMftIU4bGD/kgJ+I530QXQiiO 6W6O2w== Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 48uq0ekg57-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 03 Sep 2025 10:54:45 +0000 (GMT) Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-726ac3f253dso697696d6.0 for ; Wed, 03 Sep 2025 03:54:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756896884; x=1757501684; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SN52Stku6irzzygye658oXiBDSvkmv+/53cdsuo8Qoc=; b=vfGRoKIDculJt6Mqr+toFziYex/LlS6NOBGA86STxErEwIjn8fQrlcmevXHe+JXb4x GAW6g8zBQpcX2xyKC6U2VA+Ko6qb6MmgjiFOkQ+R2GAUEWeIuFY+LgAIuhYRtWu2T4IP VkhBMrcrchcvrbmlhb2Vs/cUG/bDKUy/0ZwGYEPKF7PEq8goHuO0gZfuKDAewgM23sDb dPLCreLaWMx0844r1snrlxIsmana0ruP7qcesZIWf25MG0t50+UuKAh5K1Goxuj8mBYV bnAF0GuiVpe7oRWHS7nzp2ojAPmvUafGw7mA4Rliy9HkBBFKomZgSFM/fuLEoT2J9uxV 5sJg== X-Forwarded-Encrypted: i=1; AJvYcCWzceGeCRd2b9GNiGTnzq4dnHudDAAuKPlpcD8DtAX6Hd3ltfQvgnf81xMWjhV6M0xCKWUUSA==@lists.linux.dev X-Gm-Message-State: AOJu0YyORRiW/OcfIDfA9uqforSD5PIfJyZHad/nXM+kHH9MuUl2f/vp 5SYa4h5NkNa628aQ7Wsjr6r8xknytuX2VLLcH2qxYl3q0speHJbAZo/jrFzYq3D20zsTomRa8Ii 52x9uyjpPrLh3ftoU4U+TW+N4amSsO7TQqegL41pQa4sR/WsC5jCCpSA6tA== X-Gm-Gg: ASbGncuMHCtCR8MhTpqFpq7OyaeUmr73Kni0PZl0AQQo21gW/wRDqbSRVljDyauDt4V D36YmvBVy38veppRZyb+NJCF738wxV7QNee3+BuJQ48g/mkgiNwvC0CSdnAHVsovGUzVYefU42S tH3d7rL1bpDZW+ckweScOa7mUP1UiaA2Cw8Wx4EIX19qurI+q8V8u2daiuWmzIr4KdT8Cx5F25t HXPozWf76SvLJNfSKvnf0La5Qb8aakSBQAustAXe/239cgzPrYqEp0K5u7bd66z9UmnN8OooVMF wn27LV3xr/nKFEjYzfjlsh7LxvBZeHMvlLoJL1i6mMm0vryFbiFeyeWtD3QOrhq+4nWqMCDy7JY 0EmtAmWvL3ks4Ry7IWT1KcQ== X-Received: by 2002:ad4:5743:0:b0:707:4eab:2b5e with SMTP id 6a1803df08f44-70fa1d92d30mr148150756d6.4.1756896884454; Wed, 03 Sep 2025 03:54:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEetDZkFBnEZJ/kKVop60xaty004rw6FYmAAfEqO0MuEDwRglU3hRd6MaQX/oR3QxdMGUb85g== X-Received: by 2002:ad4:5743:0:b0:707:4eab:2b5e with SMTP id 6a1803df08f44-70fa1d92d30mr148150266d6.4.1756896883912; Wed, 03 Sep 2025 03:54:43 -0700 (PDT) Received: from [192.168.149.223] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-61ded4749aesm7462141a12.32.2025.09.03.03.54.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Sep 2025 03:54:43 -0700 (PDT) Message-ID: <6083a6b2-c5cc-41f0-8026-e022f2f4eb38@oss.qualcomm.com> Date: Wed, 3 Sep 2025 12:54:38 +0200 Precedence: bulk X-Mailing-List: iommu@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v8 5/7] arm64: dts: qcom: Add initial support for MSM8937 To: =?UTF-8?B?QmFybmFiw6FzIEN6w6ltw6Fu?= , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephan Gerhold , =?UTF-8?Q?Otto_Pfl=C3=BCger?= , Linus Walleij , Lee Jones , Joerg Roedel , Will Deacon , Robin Murphy , Konrad Dybcio , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Dmitry Baryshkov , Rob Clark , Abhinav Kumar , Jessica Zhang , Robert Marko , Das Srinagesh , Srinivas Kandagatla Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, iommu@lists.linux.dev, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux@mainlining.org, Dang Huynh References: <20250831-msm8937-v8-0-b7dcd63caaac@mainlining.org> <20250831-msm8937-v8-5-b7dcd63caaac@mainlining.org> <67aa2a1a-3adf-4c97-a7b8-865b5ca3b17e@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: NyyH0n5bQC1mW7LfHBfQP5vm03DsdSol X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwODMwMDAwNCBTYWx0ZWRfX+WR0v15Iijq6 ntmKMOZA9S2FX2Cvr44KABZG0KY1x4mWnJVge5mphrR5Y1zabAPO/3rC83zBqmdMxTCrcxJg0wm prVYnR7zHMzqOUghJ+JMP0rePnQvx7q8B1ArJmVRPBL7kwmf3R+E+Y5/ELQs402FDFwQc1Gnck8 qP1teLmPzayIK9TJ/q08w2pLFAHI0D4mVNNk8kBK5u9fUn+q8PsWCxH3hToj3mz4rpP+zw9NVJu uNeBMieb+GvWXZ0N+0cWMuw71ch+xydTY6pTS4m/oHEgNerJSix1r4hK3Yq4xV7pcUcM04+GeOc inIjV+uIT7FwkIL8AOcXKFXZGPFererUQK85PkMtlv1bgMNvJPEUNcbthc7ZmH0+6/u3urHD/jD Fw7iYSa+ X-Proofpoint-ORIG-GUID: NyyH0n5bQC1mW7LfHBfQP5vm03DsdSol X-Authority-Analysis: v=2.4 cv=ea09f6EH c=1 sm=1 tr=0 ts=68b81e76 cx=c_pps a=wEM5vcRIz55oU/E2lInRtA==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=yJojWOMRYYMA:10 a=EUspDBNiAAAA:8 a=bBqXziUQAAAA:8 a=OuZLqq7tAAAA:8 a=G6GrHqeLqaT2Jh2KzrsA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=OIgjcC2v60KrkQgK7BGD:22 a=BjKv_IHbNJvPKzgot4uq:22 a=AKGiAy9iJ-JzxKVHQNES:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1117,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-09-03_06,2025-08-28_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 suspectscore=0 clxscore=1015 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 priorityscore=1501 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2507300000 definitions=main-2508300004 On 9/3/25 12:47 PM, Barnabás Czémán wrote: > > > On 3 September 2025 12:42:38 CEST, Konrad Dybcio wrote: >> On 8/31/25 2:29 PM, Barnabás Czémán wrote: >>> From: Dang Huynh >>> >>> Add initial support for MSM8937 SoC. >>> >>> Signed-off-by: Dang Huynh >>> Co-developed-by: Barnabás Czémán >>> Signed-off-by: Barnabás Czémán >>> --- >> >> [...] >> >>> + qfprom: qfprom@a4000 { >>> + compatible = "qcom,msm8937-qfprom", "qcom,qfprom"; >>> + reg = <0x000a4000 0x1000>; >> >> here you reserve 0x1000 for the qfprom >> >> [...] >> >>> + gpu_speed_bin: gpu-speed-bin@601b { >>> + reg = <0x601b 0x1>; >> >> and here you make way for OOB accesses > Ack >> >> Make qfprom length 0x3000 with the current base and the gpu >> speed bin should be at base+0x201b, I *think* (the docs aren't >> super clear on that) >> >> [...] >> >>> + mdss: display-subsystem@1a00000 { >>> + compatible = "qcom,mdss"; >>> + reg = <0x01a00000 0x1000>, >>> + <0x01ab0000 0x1040>; >> >> In v5, I pointed out the size of vbif should be 0x3000.. and the random > Where 0x3000 is come from downstream is using 0x1040 for vbif. Hardware documentation. Konrad