Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp108920rdb; Tue, 19 Dec 2023 10:41:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IEv5ggscsxEasnUga7BtyLe97m3CWoQpLBfc8OOnMlvu0NhQK/rpPFmUMnM3rXPdTSnUM8F X-Received: by 2002:a05:6a00:805:b0:6d8:aca2:921a with SMTP id m5-20020a056a00080500b006d8aca2921amr2540451pfk.5.1703011276497; Tue, 19 Dec 2023 10:41:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703011276; cv=none; d=google.com; s=arc-20160816; b=az6hpGsi57abM7XEJx7vClQWDCAAkmLfLwxSEMqYsO4sQmFrQ8dopsMKqSAJ02rUqP AnrZbyzHaeA0DTauODRvIwJeM2+taCcA10DrJLC2i9Ipa/56NfiJOedEbRqjr69tBkfX BM1W/lxmLnhdi44JzEP5niiCOUvoUfmBODx8qcU6plXpYiSEEtnyQt8b3j9OAwOP3gjy tvA9Mv7oq7kptjJ+y0OB3bvTrYBJFizA1b17VCg2QIlGz3SBCuauw8bxJpfMxkAfCbdj Tz04pHpXWY3vy/wzt6RCaHlov+7jAedNfurDGe+AIKiDb66WGr2pcjLM2x7a5sLG/znZ 19Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=B/gQiQWH7JuxpXrFn9B5r/At8SMbG3sR7gWj3r5CLYw=; fh=rHETE4YlucS+Yo0itGwxDmIw/hDWW+YAv6TK1/oBOU0=; b=J3ODWqnr3dV4u2zHGp1KFMTWQFB15zzoKd4PUew8OHb7F1XPzBTwxFcXk0cc3MqpcI 7bp1JTtxOxZa1vMDupob8v2xcb85bpWgPn7vo3i3It6rhLJkBfGpJyNE7XhG4WG62G3T OB+ZYL26JuHzh9tW7WLmIl9S8H/9hFVmqmy3TWppJlBI2mqwm7VoMJNFwOfdL0tbGrJQ 64z9FXKpVbT2gPsJ207HLGlbVRluR2O+HojKx0wVrFjaruowBi0YtL5kxbNvoqrwhTZy dx3itDgtnDuBRi0jI/z5+elqk6hC/wIRRONQMyfs95A1eduwMsbK1iX5mpqMfoFYWHut mehw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Bugs0VXj; spf=pass (google.com: domain of linux-kernel+bounces-5820-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5820-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id b5-20020a63eb45000000b005b8ea4a4ab6si20553953pgk.623.2023.12.19.10.41.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 10:41:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5820-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Bugs0VXj; spf=pass (google.com: domain of linux-kernel+bounces-5820-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5820-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id CA705B21EFB for ; Tue, 19 Dec 2023 18:41:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9EE9539877; Tue, 19 Dec 2023 18:40:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Bugs0VXj" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4124239870 for ; Tue, 19 Dec 2023 18:40:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a1915034144so570147766b.0 for ; Tue, 19 Dec 2023 10:40:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703011225; x=1703616025; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=B/gQiQWH7JuxpXrFn9B5r/At8SMbG3sR7gWj3r5CLYw=; b=Bugs0VXjxs0yhCw5/MTLAtk4DGaucclMll2anT98GONra0kjGFta97QxHthbLvwQTS 7eAEBgKLcZ+VG6TGniQWNI1cjkdta7E2LgA9IPPGc+pbDYubMpVaolFY9OBjmToP05mR l5zZETthQhsEAzxahkC49bdY6+DK0t94Li9Epe7qii1k8/KynY+4gFq/jLdfTAI9D2iP 7DR3h7N+srCfBEcFBME3mqiWgrI1qOTk6jQUSAQxjqcdn3JE1ZCl05iYvp8KkPE94+kA b5uNKVPnGNta1jn/xIDQScCeTzqmJhCbV0Q2GBA8aCZRyU3z8bFQ7Rn04eb//x6rD45d vMqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703011225; x=1703616025; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=B/gQiQWH7JuxpXrFn9B5r/At8SMbG3sR7gWj3r5CLYw=; b=pkFjgQlm//DyfPT+15WYNcWnzMr0NDTvBCGSI2nmAQiDA+9oUgiQ9G2AG+x9BSr+zx nyRyMeAadsEkzoUQkvFoc2laIIOTeC6jcQdLbQd1ZunywZ+nd2iW2uCdBV9DQVSu7+Ve V+qD1r5m32epFIsqJgzAZjIVboLap6C05dd061KWTskJCKnEIgB41paQZuU36rihzkm1 KSPZKh4Ioa4jq8pA3nmhR4tN51MfhqoM/idhZ8xoD29RPtacC5Io5ncfjAC611QvG/Lf fdYTupPBO0HGTuV+v3acScNRwcBsLsQuSHnX4HKB+mlQcjG9Tu7XwnLKxiLa4rFk/S8x axUw== X-Gm-Message-State: AOJu0YwWFmxoRgkZMjWRbvCcOqfgNT6l2X4fMcI7nfzVVedUV75K+6rM 5BVGk/zIkc/5/G4p6wi4jPw0Uw== X-Received: by 2002:a17:906:c412:b0:a23:46b8:e891 with SMTP id u18-20020a170906c41200b00a2346b8e891mr2184373ejz.90.1703011225521; Tue, 19 Dec 2023 10:40:25 -0800 (PST) Received: from [10.167.154.1] (178235179206.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.206]) by smtp.gmail.com with ESMTPSA id ay10-20020a170906d28a00b00a2534aebc21sm885692ejb.40.2023.12.19.10.40.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 10:40:25 -0800 (PST) From: Konrad Dybcio Date: Tue, 19 Dec 2023 19:40:21 +0100 Subject: [PATCH] arm64: dts: qcom: sc8180x: Mark PCIe hosts cache-coherent 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="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231219-topic-8180_pcie_dmac-v1-1-5d00fc1b23fd@linaro.org> X-B4-Tracking: v=1; b=H4sIAJTjgWUC/x2N0QqDMAwAf0XyvICtzNX9yhBp0zgDrpZ2GwPx3 xd8vIPjdqhchCvcmx0Kf6XKlhTMpQFafHoySlQG29rOWDPge8tC6Ixrp0zCU3x5wjDEPvbXWyD XgabBV8ZQfKJF4/RZV5W58Cy/8/UYj+MPlY2kl3sAAAA= To: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1703011224; l=1321; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=0zpKJ2KX+QQMRWFA8hl5nFLTwfMulCamY0GMxO7qXek=; b=Qj3Xb9+cenGjye2I2z4xkpSlE+NYzXbQKxX+9Hm4Fa8lGrfeNUG+zsN5vnBXJUfm99hpHlpPb QxteWYh3CjnBp3jMKTYCdSZpNFYNcah1bj3Ztvw9pVc9F1ZIqOD7Qx5 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= The PCIe controllers on 8180 are cache-coherent. Mark them as such. Fixes: d20b6c84f56a ("arm64: dts: qcom: sc8180x: Add PCIe instances") Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc8180x.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/sc8180x.dtsi index fe761d6d0dd3..61475e56cef3 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi @@ -1751,6 +1751,7 @@ pcie0: pcie@1c00000 { phys = <&pcie0_phy>; phy-names = "pciephy"; + dma-coherent; status = "disabled"; }; @@ -1847,6 +1848,7 @@ pcie3: pcie@1c08000 { phys = <&pcie3_phy>; phy-names = "pciephy"; + dma-coherent; status = "disabled"; }; @@ -1944,6 +1946,7 @@ pcie1: pcie@1c10000 { phys = <&pcie1_phy>; phy-names = "pciephy"; + dma-coherent; status = "disabled"; }; @@ -2041,6 +2044,7 @@ pcie2: pcie@1c18000 { phys = <&pcie2_phy>; phy-names = "pciephy"; + dma-coherent; status = "disabled"; }; --- base-commit: aa4db8324c4d0e67aa4670356df4e9fae14b4d37 change-id: 20231219-topic-8180_pcie_dmac-b9d6d657bc83 Best regards, -- Konrad Dybcio