From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 8AF40222587 for ; Thu, 5 Dec 2024 16:11:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733415093; cv=none; b=TJdZeKgkaPmqzqqWL2Wjimr8mVe0MD5ywdfP14UHoNA1EhJCLahZ266k9xYVj5J+IWAZxz6PyTSGDmjDxuZtG7MbS1MnoIpC+kiG5s9DUm5DffkDOmd9Ocdp1cGKMyZwqbe5zvNEPlAPL0OUK+roH72lq3cl4Lllx18SGuQzTOc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733415093; c=relaxed/simple; bh=t34/NccgNyBNjeZAJqziC/PWnN+9ITlcVAM9mXMKjc0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=D9MrtIO4cNLxNjXIZudfmZ5JET/j/DCjosU1aH2KGHaOvVuDOGkV+zPIEBWbkpmJgpTUpKQiDiBlCfU6LcBYwKAEqQCoYbJ9KvQnpknbwDxMZ2gvrH09CUByZ/2NCKhdD1BoKzggSaY2o8VjlR1qQo7BrZUlue8rwgxmJ9OKrEY= 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=gXSUfBje; arc=none smtp.client-ip=205.220.180.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="gXSUfBje" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4B5EW6eA015955 for ; Thu, 5 Dec 2024 16:11:30 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= hmBOhQUjk10VNhffu0BNiD9R0iUBwJYjeL1ke1eEOg0=; b=gXSUfBje/KKy28O6 J9TChD4Vx0icvKwHkiQaOtZiRHfcRUG0HeVVE7UFg5OO3ULNAtgMtRT5l9U51m0w AptDycZMLUHFxhtKOvDS7OAIRyVbBII+GpeFOnRlcM9OUCwCFH/7f3e4kFEEJRCO ma8nm5GEiFcDwKCkOb0bxxPDOFPy6Nz268F9QSlLW++OGR2PNhs3fTvfWdqyNT4R IYB8T1De5FGHCdHwHJSCn5mXQq4E/ymLbI34ZyUSAiRPyWB5HYXtQ+2EsBLrOIY2 nAL/U38SPcoqi47mouDpkQV40YMC4SCNE6XjJyxZ2R4mAPRkgMrlWug4z03olU2A lj0f7g== Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 43be1709g8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 05 Dec 2024 16:11:30 +0000 (GMT) Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-466c4b8cab2so2785311cf.2 for ; Thu, 05 Dec 2024 08:11:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733415089; x=1734019889; 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=hmBOhQUjk10VNhffu0BNiD9R0iUBwJYjeL1ke1eEOg0=; b=qtISVnBnIYSihACsWDzrR/cocjeh8f1B5RZcIUvv1S9kuqge9Fjz8spxES+qgdr0XH eKD2XUC1m7kHI89GneSlfGR9wfAOEUoIv7mZrwVeAM+AHpx4+kyOTQznBTT3O4779odA xZhs4AIiaL6ruWLF1aGcR3sR3+4ufOvyi1lHUFI0YgyguJ2Db/9T4B4iOTy1kEpehrIL dY3/e4tnNtsp6mGGpJLu6QvDkf2EkhoPOJYgzvnvCq1sDbuItRjGybC149YCpb5aTg5L I6EUfawYUnBhTm98p+MRXsvnFeargJYLVkavrxZjHyu0MBRS6EKtrwBWOEzviAbUKCzJ oR8A== X-Forwarded-Encrypted: i=1; AJvYcCW+P2AALt066FZoFmcS0hPNOVgDIixiLWmTjSBf+zhXKzXk2lI4XjL/weT6FQeGb/GPSYablJycynM=@vger.kernel.org X-Gm-Message-State: AOJu0YwZUYQvCK2SyIPymUxFKIxgof/ZwGt6lh+oNzDeyVC8NdRkAVwD nb3JzlMfgyyYHHanFgECK63ffZTXVjsRGdNgeN/D1WVP4LsVMzN/p5/Gx7Z6seJrEWBYA+tMObS MtIi7rgglkjtByFoRyK5gdez7df1BMqbTDjIsXkXTpYTMPjc9aMfDExE7tmU= X-Gm-Gg: ASbGncvpFyJVNtRgcaw+fcE4PrWeSZTPj5pMypiUqnz7bNmIBmleqmgzDiyysANY1Hw Vyqr/mZOGOWqllgdxsXS2KYmreR2Ii9wvlPha3dF6CSu4j+ZfGvGBRyNShzuiLwNdZNpVed42o5 YkvGKFJI5wKy74UDfWuCDA9CMM59N8EBOyKwTQOiVwGCM9Puw1T+0ykPKzJOP2w6Np89V7RZAWR fKFRMd6c5rMJ/YPvMnKNt4EovVUYaEEZBez0APlx+fn5mwL/H7u1uxKxG8mVegRPXiQGMciHpHg yAODSfwLMvZncy7v9dlhiFNN0ENT6xI= X-Received: by 2002:a05:620a:172b:b0:7b1:13c9:ad10 with SMTP id af79cd13be357-7b6a6d9f1a4mr746988085a.14.1733415089575; Thu, 05 Dec 2024 08:11:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IHafR/Bbyn83hcr2J2Fmli7ke37DpuhXJ2MZ/0VKgYwZ1ir9udUtCPsN8Hr4v2p5JtuCKJsBw== X-Received: by 2002:a05:620a:172b:b0:7b1:13c9:ad10 with SMTP id af79cd13be357-7b6a6d9f1a4mr746986085a.14.1733415089096; Thu, 05 Dec 2024 08:11:29 -0800 (PST) Received: from [192.168.212.120] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa625e5c764sm112340666b.20.2024.12.05.08.11.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Dec 2024 08:11:28 -0800 (PST) Message-ID: Date: Thu, 5 Dec 2024 17:11:25 +0100 Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/3] arm64: dts: qcom: sc7280: Increase config size to 256MB for ECAM feature To: Krishna chaitanya chundru , cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jingoo Han , Manivannan Sadhasivam , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Bjorn Helgaas Cc: quic_vbadigan@quicinc.com, quic_ramkri@quicinc.com, quic_nitegupt@quicinc.com, quic_skananth@quicinc.com, quic_vpernami@quicinc.com, quic_mrana@quicinc.com, mmareddy@quicinc.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org References: <20241117-ecam-v1-0-6059faf38d07@quicinc.com> <20241117-ecam-v1-1-6059faf38d07@quicinc.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20241117-ecam-v1-1-6059faf38d07@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: lGerq8oRgp-X3Msk5pZW27XME6IoCeYE X-Proofpoint-ORIG-GUID: lGerq8oRgp-X3Msk5pZW27XME6IoCeYE X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 phishscore=0 spamscore=0 bulkscore=0 priorityscore=1501 mlxscore=0 impostorscore=0 suspectscore=0 adultscore=0 malwarescore=0 clxscore=1015 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2412050117 On 16.11.2024 11:00 PM, Krishna chaitanya chundru wrote: > Increase the configuration size to 256MB as required by the ECAM feature. > And also move config space, DBI, ELBI, IATU to upper PCIe region and use > lower PCIe region entierly for BAR region. > > Signed-off-by: Krishna chaitanya chundru > --- > arch/arm64/boot/dts/qcom/sc7280.dtsi | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi > index 3d8410683402..a7e3d3e9d034 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > @@ -2196,10 +2196,10 @@ wifi: wifi@17a10040 { > pcie1: pcie@1c08000 { > compatible = "qcom,pcie-sc7280"; > reg = <0 0x01c08000 0 0x3000>, > - <0 0x40000000 0 0xf1d>, > - <0 0x40000f20 0 0xa8>, > - <0 0x40001000 0 0x1000>, > - <0 0x40100000 0 0x100000>; > + <4 0x00000000 0 0xf1d>, > + <4 0x00000f20 0 0xa8>, > + <4 0x10000000 0 0x1000>, > + <4 0x00000000 0 0x10000000>; So this region is far bigger, any reason to use 256MiB specifically? Konrad > > reg-names = "parf", "dbi", "elbi", "atu", "config"; > device_type = "pci"; > @@ -2210,8 +2210,8 @@ pcie1: pcie@1c08000 { > #address-cells = <3>; > #size-cells = <2>; > > - ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>, > - <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>; > + ranges = <0x01000000 0x0 0x00000000 0x0 0x40000000 0x0 0x100000>, > + <0x02000000 0x0 0x40100000 0x0 0x40100000 0x0 0x1ff00000>; > > interrupts = , > , >