Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp161139lqp; Sun, 9 Jun 2024 22:47:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW/7c59E+hQZcAxY1z03VJ0s4nMWO14R9dRSJqdSHVNWfP3kPvjy26Qb4TN++ZC9yzBfhX9SVhqyQsLISdio7LuOwgKEBRRPO+w22j/Ng== X-Google-Smtp-Source: AGHT+IHy7S7aqvqR2H5S9Qi5AXHaaysQerX5nplx5iITp45DCejeaHAAAISeyNJ29xZfD+S9xDbl X-Received: by 2002:ac5:c9ba:0:b0:4eb:39c9:c935 with SMTP id 71dfb90a1353d-4eb562ced40mr5811338e0c.14.1717998462164; Sun, 09 Jun 2024 22:47:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717998462; cv=pass; d=google.com; s=arc-20160816; b=lPv0PV+9PVIIfAhsV2fD0n/sNbL6JRtoB4vm3OQLHZMOFr8fb8cFA9crmOauv88fSV HS+EtC9XJBAuelAi4m2md6yZh32OS/gZi0UtpK/4Lm3uvATGyKAv0xsSElDjnN0kbjFI mkcqbxqOgpAPs7xRcRexcEg2TRp472EzzwM/6u7p0cjD/xzyjQ8h8CP92S2HO2mI+oNc kUqYOL5RVAEswGuabmrxh9QXfF2F+GG205C0gioE10AOAwKUqjr1LjZ6LAU3pXz31hXG si+VjfzGLMetVleGdBtLTgaAsCh5VJ2D5VhwIjy6hjmrhWOjNFnKSTjxmleJ+rb/9YcJ jplA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=+8hc+GJRw5bYKA1HZbG0gEfYcd9szFBSrHA7WvS9Vvc=; fh=ngUu7l/BLrLgFsqLuIIYPieB/S3jFepNnsbyccALczA=; b=dmgm8sVBzVbSeBhIJBZXsrsU7qYosQrLdCjmfh/F+q+TdjSFBR+krcvFSzN8wf3Yu4 AZXY43sLiAUbRV/jY+b2B8CTYsOppr81RF6xX36Bm8o5NIVi1nAu2Y69utp1Nio72E4R DYhzgoVO5x/kyNN4KxYY1+rThwngwrXHJQTtQ4pmoqC/lMEY7aVYMoIlx/TeRoD1RImS LbP1iCjKM+hQieU5p5AxAyAIAaJOqFYKTYTZveBYn6Iyb4VXUUFVW6zmRYQHvb4zI5dH /YhgTaTFYj56Hrzvjnm1Hji19p3+Q0oZPGOYcOQzOMn+de4UxM+mJq4EWE9SN676N60S apUA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=k7eUvGal; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-207662-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207662-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-7955ad32c79si391653985a.657.2024.06.09.22.47.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 22:47:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207662-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=k7eUvGal; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-207662-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207662-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id DA6671C20E92 for ; Mon, 10 Jun 2024 05:47:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D4FB5134A5; Mon, 10 Jun 2024 05:47:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="k7eUvGal" 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 A3E8D17F6; Mon, 10 Jun 2024 05:47:31 +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=1717998453; cv=none; b=RzAOJH4PgvypkPILgPHoG4lga8/MrbKNJMYid3HsBpoRWt5AJl+AzuoTpCUGYv3LCckUFBKTdLfJ2IXYoF1VTugN1lGlYeGpOiYztxWGHt/Kj0mfn+wBtmQv9wC2gIdiraKjlRES2myVvhBSqpO8SBT9iw/ucg8xFFKpIX/cX94= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717998453; c=relaxed/simple; bh=rPZUnmp8Y/gQg+BfsdhZPJbSD2TpXw4r6sGsyRhKDcc=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=eC9p4+QOSyN9BMVjaiNKDZD4SZopA5Nvkz8mHvmivn8AYGsdVAFVOdHwsvwxAqobkDjQz1XxOcoiVkrICLPqbBD27v7UavzEYg7hZ2y4Jq2tpG1j6nDUyaSXENUoQg97/XQ9lGec8181huog7uqnh1GpGXbc+pUV4RFcWsoAcZo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=k7eUvGal; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45A0UKq2021412; Mon, 10 Jun 2024 05:47:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= +8hc+GJRw5bYKA1HZbG0gEfYcd9szFBSrHA7WvS9Vvc=; b=k7eUvGal4RbGv/pK t+OcZSOqB3Q4jWrlh0i4RTGubAH2vqSGUtyzhhoIBZmEM7FW4g07xw53nhYgAKNB Hlw5eekChw9hFRuqRA28It/egxx555IQJjRtyRWx1vZjwHxJterKhCry8qTpymUn 63REKQ9r1ATueJ6qIGul+9DNGusnKPmU09kqERtnV7Q2/iOs/kMQgRY44u3NWPQ/ gFi4na/p5VrZX4+aXMUcMvU9H3//MYET6sDvAl54B0e26QFEqp0cCI0Ic0LLq94L MuEai8MQiP21YQBgEoRDgtJP5YxckpIUyGaHyG0YYudlWdy6IAVLmyuh9qNTskjO bHPjsg== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ymgk8tsps-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Jun 2024 05:47:05 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 45A5l4rH025863 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Jun 2024 05:47:04 GMT Received: from [10.50.54.237] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Sun, 9 Jun 2024 22:46:58 -0700 Message-ID: Date: Mon, 10 Jun 2024 11:16:55 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V5 6/6] PCI: qcom: Add support for IPQ9574 To: Bjorn Helgaas CC: , , , , , , , , , , , , , , , References: <20240530171116.GA551131@bhelgaas> Content-Language: en-US From: Devi Priya In-Reply-To: <20240530171116.GA551131@bhelgaas> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: oQ2GERKZl0yI3W1TvAS-KbQJpS9sLzcB X-Proofpoint-ORIG-GUID: oQ2GERKZl0yI3W1TvAS-KbQJpS9sLzcB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-10_02,2024-06-06_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 mlxlogscore=999 mlxscore=0 adultscore=0 malwarescore=0 priorityscore=1501 suspectscore=0 spamscore=0 bulkscore=0 clxscore=1011 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406100043 On 5/30/2024 10:41 PM, Bjorn Helgaas wrote: > On Sun, May 12, 2024 at 01:58:58PM +0530, devi priya wrote: >> The IPQ9574 platform has 4 Gen3 PCIe controllers: >> two single-lane and two dual-lane based on SNPS core 5.70a > > s/4/four/ to match "two" okay > >> The Qcom IP rev is 1.27.0 and Synopsys IP rev is 5.80a >> Added a new compatible 'qcom,pcie-ipq9574' and 'ops_1_27_0' > > s/Added/Add/ (use imperative mood: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?id=v6.9#n94) > >> which reuses all the members of 'ops_2_9_0' except for the post_init >> as the SLV_ADDR_SPACE_SIZE configuration differs between 2_9_0 >> and 1_27_0. > > Add periods at end of sentences. Rewrap to fill 75 columns. okay > >> +static int qcom_pcie_post_init_1_27_0(struct qcom_pcie *pcie) >> +{ >> + writel(SLV_ADDR_SPACE_SZ_1_27_0, >> + pcie->parf + PARF_SLV_ADDR_SPACE_SIZE); > > Fits on one line. sure > >> + return qcom_pcie_post_init(pcie); >> +} >> + >> +static int qcom_pcie_post_init_2_9_0(struct qcom_pcie *pcie) >> +{ >> + writel(SLV_ADDR_SPACE_SZ, >> + pcie->parf + PARF_SLV_ADDR_SPACE_SIZE); > > Fits on one line. okay > >> + return qcom_pcie_post_init(pcie); >> +} Thanks, Devi priya