From mboxrd@z Thu Jan 1 00:00:00 1970 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 1079418787C for ; Fri, 25 Oct 2024 16:45:06 +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=1729874708; cv=none; b=Pe/V3A7keVbK4awBXVRYVzcUjviSsNf6WpPZaE9BH0ztDRb4clls7eFlNUGd/DH67Zt3OekvNW2vI0waJCmRL+coEy9csmDWQGDIjM5LRUmt9Zo4ymb1MnAkyCGcVGXJ6hh1CXmBdtvmkIztEcSzMg/DKNBBpx14Zh1vCaVuf/k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729874708; c=relaxed/simple; bh=y3jGx75Ma9tFzNhHFJU7+LtkeYM9g8+ty0cMjukmOs4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=uf/nFHLt4GeC5juYHN2R4NN0IVIK45oWBC7zm9RzTImUeSgw48XtouRL0wTJg3C8UKyt1H6aoMwoCZsDEo9ajU0aVn+G4nCcb4Udo0w93RuW62DeULB86ZYGFaLGJO8vGdjIElv5mBY0/GLMdoAHVJiSn60HjXbgXCyyFSoWTrg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=fail smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=JQUrxVW0; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="JQUrxVW0" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49PC1kxd009125 for ; Fri, 25 Oct 2024 16:45:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= jAZOsXr5fsDPQXW9p3QRY4SAZjYiB+yQ1LfwNbC6aOA=; b=JQUrxVW0z4d/cgp+ fOxhZqUD+VuPzFdrgo6rmi2XA2oZnsnoHkXEguuovDI8Sf5ojJb9j+dKhWj1Ae2U tZHzXgOg9fJZ1qkTPf/6XABnQ3jTkEQNst5AqnQXUYobagsYrK/FZXFP7sll6fpo +VeailN5PvK5fZHrQz2RUTUn0QOH0vwKsPLVpr8JQVNlkClNplok5Qy1tqTeE/d+ IX+I2SzkOcI1NcK31B4C7BX9NcXrl1itdJBMtODZ/vOd2gakMdZGIfIZe6DXVPZW 6d1DlsEGEzT+q9jpsW5oNk3PZC+yhuI0vDLhOyUFi4CzThAOM8q4NmRUM3ngmmrf pVOdcg== Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42em43humv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 25 Oct 2024 16:45:05 +0000 (GMT) Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-6cda6fd171bso4956016d6.3 for ; Fri, 25 Oct 2024 09:45:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729874705; x=1730479505; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jAZOsXr5fsDPQXW9p3QRY4SAZjYiB+yQ1LfwNbC6aOA=; b=MIEzQf0MB1QJ64LgGv/18DIYQF7O3O2yHm2YKc6jp6qmx5+yh+sE/V+J3y+bwprpTJ nXhSX0jUSkI1UYJehhJqeiJNy4qVKsROSBgNAwRgVd8VwF/LcXrRSSSroj4OVEIdJ6r7 Dwm14CW9AqyvHzABYuaPq+64CNC3TCdWbCJqyYhkChoEQdAOdIiQb/NS5l8xqGdcOB0N OhMTHLsPxo+OSxCZfMBKHkU7a6bJNdePyzTMLy+M+IUndAV2RrVHRjNTk/Fo1zczPFg+ DMtc71K+p7/oNIMMiLlgqUzxpOONuLHkQpJJtWeO9b1l/sjpo383JgCoCy3Fy6DN5Cuo RI/w== X-Forwarded-Encrypted: i=1; AJvYcCXyIvHIWdXdKT9S1/4OUDSRL+wJcWquJgGtzjgQrc6dGduEqNlyqWTK/edcfNhqekFUneVYEXQFjWlZYsY=@vger.kernel.org X-Gm-Message-State: AOJu0Yw/89yUHlr9k+Q1Cxi3OR6hBZ81GBMLA8pOSVsNAA8fP9bjD0mu 6jtufre3t8pAPML9EEsj5kv/elgLj+uhNDLD74+4IahLqJwrnoYnm8ISdhwPUdupGEQXvBNbc6I x2AAoayUd3fUEeIHVWtse4wSDr62hMmWECevB4rjXWDn9scRnfjIT8RM5PmoSk4Q= X-Received: by 2002:a05:6214:202b:b0:6cb:e6b4:2d36 with SMTP id 6a1803df08f44-6d18584a5e9mr260066d6.7.1729874705017; Fri, 25 Oct 2024 09:45:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG1sduBzfyy1TRRjvLCCS7rO3oxcnITvZektef5yIhCEjrG5D3MB0/QFdQf572p6gAAmalixA== X-Received: by 2002:a05:6214:202b:b0:6cb:e6b4:2d36 with SMTP id 6a1803df08f44-6d18584a5e9mr259776d6.7.1729874704539; Fri, 25 Oct 2024 09:45:04 -0700 (PDT) Received: from [192.168.212.120] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9b1e75ff3bsm87945466b.1.2024.10.25.09.45.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 25 Oct 2024 09:45:04 -0700 (PDT) Message-ID: <8c9804f2-ef4d-412b-97ea-f521dfd35ec2@oss.qualcomm.com> Date: Fri, 25 Oct 2024 18:45:01 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 4/4] arm64: dts: qcom: qcs615: add the APPS SMMU node To: Dmitry Baryshkov , Konrad Dybcio Cc: Qingqing Zhou , andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, robimarko@gmail.com, will@kernel.org, robin.murphy@arm.com, joro@8bytes.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev References: <20241025030732.29743-1-quic_qqzhou@quicinc.com> <20241025030732.29743-5-quic_qqzhou@quicinc.com> <8a60b729-b312-4afc-835b-a18060ad3f03@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: O8d7hDxLB4RWnHuB2DQtKVhP5wXRipJ4 X-Proofpoint-ORIG-GUID: O8d7hDxLB4RWnHuB2DQtKVhP5wXRipJ4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 lowpriorityscore=0 adultscore=0 mlxlogscore=748 spamscore=0 malwarescore=0 impostorscore=0 phishscore=0 bulkscore=0 clxscore=1015 priorityscore=1501 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410250129 On 25.10.2024 1:06 PM, Dmitry Baryshkov wrote: > On Fri, Oct 25, 2024 at 10:54:24AM +0200, Konrad Dybcio wrote: >> On 25.10.2024 5:07 AM, Qingqing Zhou wrote: >>> Add the APPS SMMU node for QCS615 platform. Add the dma-ranges >>> to limit DMA address range to 36bit width to align with system >>> architecture. >>> >>> Signed-off-by: Qingqing Zhou >>> --- >> >> You probably also want to mark it `dma-coherent` (see e.g. >> x1e80100.dtsi) > > Is it? I don't think SM6150 had dma-coherent SMMU, at least it wasn't > marked as such. I don't think I have any documentation on this, so.. one way to find out! Konrad