Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp439682rdf; Tue, 21 Nov 2023 06:55:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IGhivQs778UMKtBiPKBZvkUG1N5UCN+nqgbUfHMoWipMzl9mRy14wdnwaw3I/W8z+ZRcAIs X-Received: by 2002:a05:6808:ddd:b0:3b2:db24:6384 with SMTP id g29-20020a0568080ddd00b003b2db246384mr11153992oic.38.1700578529381; Tue, 21 Nov 2023 06:55:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700578529; cv=none; d=google.com; s=arc-20160816; b=Bv2rogOguUzySUI3SJ0P6AWZM9S9AE8ucqLGa6gHto3DjoBA50q2m3cQUT513gsg+/ 3X0UOS3i/SFC+vVH/D6nsI2uzJCkvBg7kgp6DEzwCKj5lG5eqEo5PAgdlu6XcfZGt0TY g3sWxxvov1tbfZRu4BxtiYIdBiUlTvm81tf+80YrmC7Ca69lZfbx2NprbKJG+tiWVeVm jZcHcGtE0mXtOV3d2RtXyFurVXIrwgw7sswKduDyj7Z0eKy/Df1xNCj6cuRokb3xOFiq 92rRiqvT+bCeWVd72jl2s6VemBw66vZQoH3JPUBRb1RAX6QVV8+m2f3W3M54U6yeDsYT jrRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VGh5q//L2t9cs8mL2geBuwYGx4SPkVKCK9PmoE5/bFg=; fh=1m0vgBTIwUFpR71lUlJAkKG8bbWciMMC9t8UghORSSo=; b=BUTzf6QxDjtLfjVa84CXVf6L6C6WnDEmvBJwQFkW+bFnIAvFYteH7ttIzoJ/7OiqFE d1KhDiE+dPxNwaBAPu8HA1S3r+zYg/eXO9f5m2w3UBqevr/KMZ7jwco8+B7KnN5UStEA lPa+ztxbfv86g8VIGh6rItP5XnX6wKNJsNLw3bHAiZIWuLIQFulHwBSbvE42n3iuVLR8 eZbrR+zWY4Yog2ziT6D++wPJMg/yJiOxFRlAstBZFCfYZvsTWKnv1gqGBJyjHaYj0jR3 wmuFdK423OLSfy1t62D8EPdJxqZRrak/3Kc+pjGoBMX9Ga4su2Ixn5VOuaEv0AkYCf9c 9yDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ohE6HsT9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id ck18-20020a056a02091200b005b3e61af56esi11565854pgb.121.2023.11.21.06.55.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 06:55:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ohE6HsT9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 2CA9B801B426; Tue, 21 Nov 2023 06:55:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232003AbjKUOzG (ORCPT + 99 others); Tue, 21 Nov 2023 09:55:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230202AbjKUOzF (ORCPT ); Tue, 21 Nov 2023 09:55:05 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F73A98 for ; Tue, 21 Nov 2023 06:55:02 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE614C433C7; Tue, 21 Nov 2023 14:55:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700578502; bh=q975IMvHTp904h9O7b2W+x9yRvoCm+xt1tUto3RHfXU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ohE6HsT9sw+OZaAGQxe04Vqxub4vBcXHT/A0cMRrMvn03KPK1kbWQmE8jUXPb7gHV 3TAKuiNmtTdqWNX+6FVBSOzIPAM+O+7UVApq3aXx96TFQkV/YjTRxHTuJA25HYtfHD /7VpleuYHdh+x8VYrdfAKBNbaQyEP8yB9VFayYdoNKlNMh+vsBs8tvdH2VoSPGuSjA A7hGhp+4SPYAhMvbdB4yL80v3shwE9gFqwL2KqWOO3NKqtEO1DINXEx1tMPciNhgYx CtNcLPCTpUVZbqLhhOaH37XV4al0dAjoR89oySpAF8mnlfdtZt7cDaaz1bu+lCaaXE iWkQfhtbU6B8Q== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1r5S9h-0007vM-0T; Tue, 21 Nov 2023 15:55:13 +0100 Date: Tue, 21 Nov 2023 15:55:13 +0100 From: Johan Hovold To: Mrinmay Sarkar Cc: agross@kernel.org, andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, konrad.dybcio@linaro.org, mani@kernel.org, robh+dt@kernel.org, quic_shazhuss@quicinc.com, quic_nitegupt@quicinc.com, quic_ramkri@quicinc.com, quic_nayiluri@quicinc.com, dmitry.baryshkov@linaro.org, robh@kernel.org, quic_krichai@quicinc.com, quic_vbadigan@quicinc.com, quic_parass@quicinc.com, quic_schintav@quicinc.com, quic_shijjose@quicinc.com, Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Bjorn Helgaas , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH v4 3/3] arm64: dts: qcom: sa8775p: Mark PCIe EP controller as cache coherent Message-ID: References: <1700577493-18538-1-git-send-email-quic_msarkar@quicinc.com> <1700577493-18538-4-git-send-email-quic_msarkar@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1700577493-18538-4-git-send-email-quic_msarkar@quicinc.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 21 Nov 2023 06:55:08 -0800 (PST) On Tue, Nov 21, 2023 at 08:08:13PM +0530, Mrinmay Sarkar wrote: > The PCIe EP controller on SA8775P supports cache coherency, hence add > the "dma-coherent" property to mark it as such. > > Signed-off-by: Mrinmay Sarkar > Reviewed-by: Manivannan Sadhasivam > --- > arch/arm64/boot/dts/qcom/sa8775p.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi > index 7eab458..ab01efe 100644 > --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi > +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi > @@ -3620,6 +3620,7 @@ > <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_PCIE_0 0>; > interconnect-names = "pcie-mem", "cpu-pcie"; > > + dma-coherent; > iommus = <&pcie_smmu 0x0000 0x7f>; > resets = <&gcc GCC_PCIE_0_BCR>; > reset-names = "core"; What tree is this against? Both controllers are already marked as dma-coherent in mainline so this patch makes no sense (and the context also looks wrong). It was even you added them apparently: 489f14be0e0a ("arm64: dts: qcom: sa8775p: Add pcie0 and pcie1 nodes") Johan