Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2169066rdb; Mon, 20 Nov 2023 04:13:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IE1GHZA7Zjn+2LUqc1inSxkT2Uhf5K/Wm2/i8+lGoyjp0E33Xz7MIDBAxLP/cQ9XpOjqOQA X-Received: by 2002:a05:6808:1a06:b0:3af:75d5:e10b with SMTP id bk6-20020a0568081a0600b003af75d5e10bmr10071881oib.25.1700482430766; Mon, 20 Nov 2023 04:13:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700482430; cv=none; d=google.com; s=arc-20160816; b=Qhrgwa4qg87FnChO1LcJUjigNP5nuARGAaT2+QM9xgjx0ohC0zZo6rH4YuoR0wPorT WhtjlqTvMzYiwACJQN3ydp830wxZt5WfGC5NYaBeZpZmgCFbpdjMkaP8kiRgSRT/lZH4 OfKBrkc4ZPyrzZ5vcLiyZ1QgolDGbIccuyD5UHOsCMbXXV8pV1IFM85BrqVt9eOASTSE 4ARjphVGCGOqCclspnOi9fHvxD2kcQ08WKYEZGr3yD+soH9pRySMJKgWcv9j8Of7PPQb ZQe/fshhuk9E60dXu7gUQdEl6tvs90tZfC/BOwD5sSXZwmBDfdMvj76aQOOv6WsiZz1d fOEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=hc7Srsl8oO2HlJZxLPv8yK7GL1izzxy48y1+02c51Ts=; fh=mlIZHPbN87mtISF6MqYNWpjXSb9fByWKfC3t5kuxP6o=; b=hXOxif0uCQBnr1HBWCALqMHGelj1X2qgoKP68ns67FNxqzjinlL0MrDUyWmMLgBzV9 QUo2SpHafjuvFLGIIcDsz8fDSC9KrjPnEfgoqW7DGeeEN8t3K9jQXY16Q/bQCF8xx18R uP4oGNcKT2wTw4QlvMJ6TpfVoODieDB2QTFbA7GKEH4wF2mwsg53VTomq2YVJwA3Fk/q XihrrCEJ2McLMulMaR0uOaaZpoAnAP5xBJutgegKULSbmKc2MyNTylHbNL+5ZnmbEdDE mCoCsIvug0Ya4pijzWEDgYJkRsXe6Vf3+CjgYQ2eNP1HcLNOd7hgFv3KBLcfsBEM9AXi qCsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g9Am2HQJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id q8-20020a63e208000000b005be3c0443e7si8217547pgh.643.2023.11.20.04.13.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 04:13:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g9Am2HQJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 4C2FB80417DE; Mon, 20 Nov 2023 04:13:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233050AbjKTMNZ (ORCPT + 99 others); Mon, 20 Nov 2023 07:13:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233553AbjKTMNS (ORCPT ); Mon, 20 Nov 2023 07:13:18 -0500 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E064F7 for ; Mon, 20 Nov 2023 04:13:14 -0800 (PST) Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-548c548c40aso1300837a12.0 for ; Mon, 20 Nov 2023 04:13:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700482393; x=1701087193; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=hc7Srsl8oO2HlJZxLPv8yK7GL1izzxy48y1+02c51Ts=; b=g9Am2HQJqjG6BO0Jwcvnjb0cSPRagXFZozNxavQ0MoKXmGlsFmrmICMBB0nXa++3hC 2oc+BbIoGR5TFP/TjNF/QP7OTMFaRBpsjTVXOLB1tGntDfOgsTX9M3FxMsUz6lC+Re+z xGDMf5+C7ZjkUny1OqG15U3u1AVB35pJtPz+FrdCQkDrWiFlRSbifZmMJ8JG6DCuKS5h 9acMZ4mB1hgqJHB+Nx34/c7m+uqwcMeOejfUkAONfb217AC762Zp9fMw9Jpfaqwh+MZP vlLeu9HwPVntEYz9BlZEA0B5LnlWNhbVARbZT2hKGCOonGjZzUd5Mjwb3oM8js6rl8Xb 6msg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700482393; x=1701087193; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hc7Srsl8oO2HlJZxLPv8yK7GL1izzxy48y1+02c51Ts=; b=d9SJB1Vb6WC0jN3TH1D5MlehYzt4tdJocrdctGfre3BlKkU1K7Cd/qnyYE6rudEImu q68FRoGjl94naI/imMPt72mbkz1PJgxqRcbrHSgLmmWsMMEDer9o1tSE6Q7/rjUWMPA8 E76tP5BmSZtD8CxNSoIbyuyP1vWc8SwyqGTiOpP20UUSAC16lB3PXXpA/vjiPfpadM6I JkHX5wlstwRUJ7p5PkYJxS3N/oMLry5lAgYPsfyfvGt2wgH/SS0TntLJSOR8y+7tg1c3 +F/vkhKw6FogXVPUXQC5hGYv7XKOE+8D0YXjty205oLorI3c276X7fGRI6QJdSBwEwP/ oh3g== X-Gm-Message-State: AOJu0Yx0/88fJOcMAITdbw3rdLueqVUrNUuxkttMI7E+wl4V43dneCEl hdefj6toaPUeqbQyiUAo0R4dog== X-Received: by 2002:aa7:c7cc:0:b0:548:e0e1:4a37 with SMTP id o12-20020aa7c7cc000000b00548e0e14a37mr517770eds.6.1700482392848; Mon, 20 Nov 2023 04:13:12 -0800 (PST) Received: from [10.167.154.1] (178235187204.dynamic-4-waw-k-2-3-0.vectranet.pl. [178.235.187.204]) by smtp.gmail.com with ESMTPSA id i22-20020aa7c716000000b00548ac80f90csm1324584edq.40.2023.11.20.04.13.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 04:13:12 -0800 (PST) From: Konrad Dybcio Date: Mon, 20 Nov 2023 13:12:54 +0100 Subject: [PATCH v2 3/4] arm64: dts: qcom: sc7280: Mark Adreno SMMU as DMA coherent MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230926-topic-a643-v2-3-06fa3d899c0a@linaro.org> References: <20230926-topic-a643-v2-0-06fa3d899c0a@linaro.org> In-Reply-To: <20230926-topic-a643-v2-0-06fa3d899c0a@linaro.org> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , cros-qcom-dts-watchers@chromium.org, Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephen Boyd , Akhil P Oommen Cc: Marijn Suijten , Luca Weiss , Rob Clark , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1700482383; l=799; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=05mrlbVuANlpTmTxHApROoZU1kjiSPRK0BLlIaRuxCY=; b=N7V3LfV39ASMH6JxhCBajFYvAbuJCyrK9fNCDfTK84S8uEkPk7JXxd/ojzzIXDuqIEsSYBu02 my03rnSOGj3BWgra7wVYH42C6VvOO2cRT3XyDapRQaF6EMOK760EeZG X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Mon, 20 Nov 2023 04:13:47 -0800 (PST) The SMMUs on sc7280 are cache-coherent. APPS_SMMU is marked as such, mark the GPU one as well. Fixes: 96c471970b7b ("arm64: dts: qcom: sc7280: Add gpu support") Reviewed-by: Akhil P Oommen Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index db47af668232..6964c14ffce5 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -2787,6 +2787,7 @@ adreno_smmu: iommu@3da0000 { "gpu_cc_hub_aon_clk"; power-domains = <&gpucc GPU_CC_CX_GDSC>; + dma-coherent; }; remoteproc_mpss: remoteproc@4080000 { -- 2.42.1