Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp3003051lqo; Tue, 14 May 2024 17:08:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXSL6hcAk810sDa8uV/KaF8rCD2LO9xvmYPhb3c+xDIi8p5QNvC+HH1FwFWy54ZXElp6aLn7dj5MNd7fl9f4CMrZzFneQ+nMgrs7GYtrg== X-Google-Smtp-Source: AGHT+IHX/Tj6M9YtHguYI/Jkz4cGmuNCRtTp6r144sUQtOqG1bMFEUvD/xAN87x87X4MSWt3v2hW X-Received: by 2002:a05:6359:4588:b0:192:b251:aba9 with SMTP id e5c5f4694b2df-193bb2addcfmr1581252555d.22.1715731693040; Tue, 14 May 2024 17:08:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715731693; cv=pass; d=google.com; s=arc-20160816; b=UqAJwfmTNCGlegSWMihyeETGAkO7S0MaW6+8elruLnMzPr6iu0BcC36Lx+Z9+tR53Z Gq4CDkW5rOXqhGwkwJCt1opNZsJbtIoFy/BCyzu1hsrFlJ2lwYuk9+J33Q37XCqVlBxK H+qMSbCyYh3ERj//N7uqD0r1IGJsQ6l2iuCKbewDOYm+r8oH7meKfcm53JAwAhWsueQ7 qeiWjXgVXVbKt0mu3bttw0PGF0/40+LjCcZLQBppCJM6sVD5k6nn6TahFr2a1zGJbdfP XrGBk5fWwLxYKgwWYz3yA0XWYcech3p16SiwnJZROloybXrr1UnE5KrKSZJMmEBnjTgh 9ETA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=ICBtYv1wGSMy2DzLvddD6aUGBcfCoQNu14uA5LQ/U3Y=; fh=QjTUHEQISmhvDIYaIwuj38FqDZxPLxcQDssNVyt7+Ew=; b=pDmXHJe9TQZSoSsoe3hKp16KObEhhgVFfUdjzqcX8L4mDerx0moZXJdHeAwefvus2s qYiqec4jjN/uuFgvfsVVIGmNRmQjfUIfq6u+z2Z+8FoT7rabJHe1xCbkFDogIZbmrVw3 Ns6l8GBpWhB1DMy+6ztsq6lg1xEKoX9ZgwNVy/41bImVT9idUPg3GM7M/qEGOdj2tg6g J2/oizh/zZWpkD7flHtd+tld9CWm1LlPCi0dFUpj+uYc/gyPjev0ylglABCwkYMgBtwX n8ewqJovGBLPBDqBnCrRyq7PwRA+THGMZI3/sYb3o4cTHxNXCXXbFKk/zcpAUNKIuE7C qQrQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=nYHenx2k; 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-179274-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179274-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-63a99e3f848si8499110a12.201.2024.05.14.17.08.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 17:08:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179274-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=nYHenx2k; 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-179274-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179274-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id F2B3DB21A27 for ; Wed, 15 May 2024 00:07:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3153B63CB; Wed, 15 May 2024 00:07:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="nYHenx2k" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 B44394A01; Wed, 15 May 2024 00:07:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715731642; cv=none; b=g9pjVqd+M/Sq6KoalJs0oekXulth67drgoY8dKOd6tbUEzaykbrYT0yQyRij/gRTqOkB3Lnq0QLgf4Wwo5OmMYn9nuIZCcpf2wR4fbRsWdErTq58dd5LlNRBOOxLI43RAVGDbhTXqCusXyeDA0M3b4f4jY3Q1rFDNfG7Q7Zk7zE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715731642; c=relaxed/simple; bh=2exA7yLFQbhNn3eNWt/r8G2eYLCBZ/kA6N6FLZFepDQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=IRUVKyzHgl2iUaE3SLzzYkrFgiguV1/5tOS295MpjSLF0iIB3rZeIz9ShqsZ08p3g+TGz95rAu2Fj0wX6m5pNRWwhRSuimkGhaBbq/frwt0Kg3MbtQrgLzp0F/mo6ziUcVhGFq1fv85WAY8+QNocF8hj/Hb2pbCrdI1fQj5mEJg= 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=nYHenx2k; arc=none smtp.client-ip=205.220.180.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 (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44EFxjMl003261; Wed, 15 May 2024 00:07:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=qcppdkim1; bh=ICBtYv1wGSMy2DzLvddD6aUGBcfCoQNu14uA5LQ/U3Y =; b=nYHenx2kJ18cZEN2KI5ie2/a4Q/hjhrOJDpZoTkQeYOfosnDJPT/DMNBbQj V4fEZ728NRGI5y23SnL74sFTWP8RUSw/yYwl0AO3wrczGh4eP2X7Ub/PiEtif/4s 2pNejyXCvy2s413j5VNXBE5hl4uPUhSE382LcFeo+Ho0qKZ1kfU163wi4lbIdv+w CW5kjt6D4WNlUWZCyIWSbitJJqAfHqNf/tbx/tAcQNw5A+5JNZ8ti02NGzSEGg30 3JELwpL7fwFQOwp9cSC4T4YJbS/C2qumKP3PlYCbp6GusWvNizfxzkGKbp2v5aew rfDVl3uFDRO5wuo9GmitnVVgp5w== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3y3j28mady-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 May 2024 00:07:05 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 44F074CE015421 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 May 2024 00:07:04 GMT Received: from hu-scheluve-lv.qualcomm.com (10.49.16.6) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Tue, 14 May 2024 17:07:01 -0700 From: Sagar Cheluvegowda Date: Tue, 14 May 2024 17:06:51 -0700 Subject: [PATCH v4 1/2] arm64: dts: qcom: sa8775p: mark ethernet devices as DMA-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: <20240514-mark_ethernet_devices_dma_coherent-v4-1-04e1198858c5@quicinc.com> References: <20240514-mark_ethernet_devices_dma_coherent-v4-0-04e1198858c5@quicinc.com> In-Reply-To: <20240514-mark_ethernet_devices_dma_coherent-v4-0-04e1198858c5@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , "Bartosz Golaszewski" , Andrew Halaney , Vinod Koul , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Bhupesh Sharma CC: , , , , , Sagar Cheluvegowda X-Mailer: b4 0.13.0 X-ClientProxiedBy: nalasex01b.na.qualcomm.com (10.47.209.197) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: j5dMpThRs8y0KBCHVaPiU-Vtgg3dYdfO X-Proofpoint-GUID: j5dMpThRs8y0KBCHVaPiU-Vtgg3dYdfO X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-14_14,2024-05-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 spamscore=0 impostorscore=0 malwarescore=0 phishscore=0 bulkscore=0 suspectscore=0 mlxscore=0 clxscore=1015 priorityscore=1501 mlxlogscore=666 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405010000 definitions=main-2405140174 Ethernet devices are cache coherent, mark it as such in the dtsi. Fixes: ff499a0fbb23 ("arm64: dts: qcom: sa8775p: add the first 1Gb ethernet interface") Fixes: e952348a7cc7 ("arm64: dts: qcom: sa8775p: add a node for EMAC1") Signed-off-by: Sagar Cheluvegowda --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index 231cea1f0fa8..5ab4ca978837 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -2504,6 +2504,7 @@ ethernet1: ethernet@23000000 { phy-names = "serdes"; iommus = <&apps_smmu 0x140 0xf>; + dma-coherent; snps,tso; snps,pbl = <32>; @@ -2538,6 +2539,7 @@ ethernet0: ethernet@23040000 { phy-names = "serdes"; iommus = <&apps_smmu 0x120 0xf>; + dma-coherent; snps,tso; snps,pbl = <32>; -- 2.34.1