Received: by 2002:ab2:7853:0:b0:1fa:5c73:8e2d with SMTP id m19csp3860lqp; Thu, 30 May 2024 10:12:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXXNM5LHfHOcpnkD6e7efiUOd2ZVgWuube10HkIbrj9aAcYvehuPv4BYYSy+qw69hRGJkM6cSnW3W9g59FTYf51Ul53+9LYMfnGzhz/rw== X-Google-Smtp-Source: AGHT+IFYWjRqII47XxqcfeFtwytLj6QNzsj5MwX1QkJAbrSlYZD5f2JH4YXX1Ef9VPW732rSwVwa X-Received: by 2002:a05:6a20:12ce:b0:1b2:4781:4291 with SMTP id adf61e73a8af0-1b26452d7b4mr2862873637.3.1717089157666; Thu, 30 May 2024 10:12:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717089157; cv=pass; d=google.com; s=arc-20160816; b=vHMQY8v/EXY6GNWD8TKJ4B/vVy0/X6u5XGAlT6yhTSshFTXdg3vQpQGUuaVwG1LIRW Q3lyse1a+FpascdDBO9yGoEPbjp0aPSKzGucbI6MNQL5Qe1OOAtKYqts2rWBj3YEcSoB Pt/ZLdee0yGHiB55g1QGfV588NEPn82Dq84zKeDgq4omjJHEfqdkVNNC4NeV9iI6qhZ8 y6ftaB36nR6gBbgKRCM1YKELpyt7KF1uMb9DY1ejsLIfBqyfo7eB3zlaSXwO7U3btSEb sn6FzIsDJzg95bExJ/cQUAPYS6k0FxkT8wLmu3Tt9YlPGHYikBZEojz6nZdoUx6N6S5K mxQw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:subject:cc:to:from :date:dkim-signature; bh=hOyOM2GEWdChZ295zrt+ZlDFzbVHJQZ+13V1VaArsLk=; fh=lEuVykHVTsE1DYW/NWPwzDvDfAjZnefazIkk18a7zuw=; b=hHpK/EDLJni5JLviHdJllx4cclsxqrlYLLqqLyxf9cMPSymvKr/7CxxtPCCnEBM7q0 l/aTZecAALKnIi3bpkLCvX9GpTm9KJvopkoDgxrdSdSL4NOSIT3eQohgBozygTe+uV2Z TRcD8i2qVzQJ0M1JPrJ/ZdnLVZ+CB9dPIc7VpThuD2FU8s+HmCSMA82loOxKlzvPrf/3 U5HSbu61NiYwWROVSjAwBYKjFRX0YIwsQSSAK+BaUWVsaNhgC+oyp84MuawPfEmK1t56 QIiDKet0ol9OAKACpAVx2M2hIuji36AF5GxRBc4kGpAF8ep+q9Voae3dfRQfmR5mNVUa CIwA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RtWM+qef; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-195714-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195714-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c08e4f4f64si1306831a12.776.2024.05.30.10.12.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 10:12:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195714-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RtWM+qef; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-195714-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195714-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id AB1172858A9 for ; Thu, 30 May 2024 17:11:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E7F6847A52; Thu, 30 May 2024 17:11:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RtWM+qef" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 048A546435; Thu, 30 May 2024 17:11:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717089079; cv=none; b=ppH/iiMhgvzsTHKxcisjGaV+WeNdsGUvGFU3tDKoMQ3gDcV7BnqKyuxfBTzfBOojpyvs/Pm96k5dyTKSiOdzJXkIE6CcvH4EIv/GkukAUG2+2cs1YM1M5/YJGhBXoLuY8s2KhciS4t4b+t5dTTGuAXT9xQprVI60scALRtwSkQo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717089079; c=relaxed/simple; bh=iGoKvNnQ+YdL4/1r3sPYk9sQQvMBHfX0Xry1ufnrd68=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=Zb+q0fd0AttJg8sbaY5aw/RGbMTB6Y2FLQ2uZ4VDCZDzd5d3sjXVLhXgwaeBCR3OFx80Uh2jwliCQ680+Erj+5CHeEYmoj598xviE5J6y9RSlnKzotmbyzSbwXp0YFqFhyq0uWP9413rkcN29aGAYECVxzPBjkH+MhluUm7ttPw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RtWM+qef; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51FB5C32781; Thu, 30 May 2024 17:11:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717089078; bh=iGoKvNnQ+YdL4/1r3sPYk9sQQvMBHfX0Xry1ufnrd68=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=RtWM+qefsV3TB89kDCxjJfEgUdPE3oWEdnyu7kFtZPHC7wNeHx+A42A1/fEtbIySp dB4khKL+W4SAytw/vjJaTei2kvEn4O9QHLC3jSTH1+lghFWKk55ztrjDslSwsHKs4u jSLKYAcxzXkCEzQDrDA2u2+WczR5SreygM5cftnYkpkx4IM7+XFhXFFtUGZP+ySwYN rdPH0b0trQ6tvEmCWWG2NhWOhz8du3xeL310LjaMBrZZuJJhRdufuAc4pML/gQxSkS 80DdAGja0IALTVGznnvulS4+YhCO0msT0xYnjfD+DaBhdHOf8g8csIC0R4fTmn3Kbs NQ8aha0eYHO0Q== Date: Thu, 30 May 2024 12:11:16 -0500 From: Bjorn Helgaas To: devi priya Cc: bhelgaas@google.com, lpieralisi@kernel.org, kw@linux.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, manivannan.sadhasivam@linaro.org, linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH V5 6/6] PCI: qcom: Add support for IPQ9574 Message-ID: <20240530171116.GA551131@bhelgaas> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240512082858.1806694-7-quic_devipriy@quicinc.com> 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" > 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. > +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. > + 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. > + return qcom_pcie_post_init(pcie); > +}