From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 10EA2202963 for ; Fri, 2 Jan 2026 08:23:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767342227; cv=none; b=EZ+exDB6R/EpHJGy9l9X1c2/BrDtoyi+iXXfeQsMeqglQSfp7szpeXRj5lIi38aGid2pG0RyGKkFyDNkWhjYTj1DY0ATjiL7X+mtBpICG5lE6bq6Sm4Lm8XHtS6gPAt/dDTD0tBw7j5AMB/rjnZZp0H3YBjsLiR6ckeWFbq2aac= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767342227; c=relaxed/simple; bh=5+LsnwH8Hhj8QpJaydOA1DdFzaIysrTX2p1YgoGdMbo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=V4wmRrxGSgJXXJQyay1oz0y76mhU1y5+8IPaPVbhcUk34dDk/3d3V2Y86EkOYMx4AoSDBeHgkde357mC1fzfAJwbCaqYVkUd6Ci7xF8qfLDbqfx7W6NPN/zEuylbtjs0wXVuxg+86wRWgWcnrXGQ0/Ct2XYN2vx4Djdnnz5hFVA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=Xn47xScO; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=AQ97Wwbn; arc=none smtp.client-ip=205.220.168.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=pass 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="Xn47xScO"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="AQ97Wwbn" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60288BX2255934 for ; Fri, 2 Jan 2026 08:23:44 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= t19VCHyA+6puRXgRu5jbgBfiRPrElHIT/LgwB7H22yE=; b=Xn47xScOse4BaMa4 3eH7/6BvMQ8R6J/7Gg1uBR90aEyXUq6qGDaqYfjIVj9HpVDRdA7Ga3I7anvvXfCA /MMXARWayfhQUimWgz0NTx0agEjX1TdJ51X1lIMVaoplDgfjS6ubXn531rp4iv5l tp0RegtXfAE3QDFRatuGhcWTt4EHywUPXUY8mcZbNUerY1qmjNk9IRlAEqAyXFTW 4zqyU9aBHmg+oHs9VoT38unhWVA8mp1sk22AIy5gqUWTts/RGH+1lxmEHbaEVEcD TYRrAkz+IzkTuxZ2Z93+enFNXEclHjxGKZEToNH7YyogQUIoOfyL5htJDfDZ/99L burjCw== Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4be6fjrenr-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 02 Jan 2026 08:23:43 +0000 (GMT) Received: by mail-pl1-f200.google.com with SMTP id d9443c01a7336-29f177f4d02so274922605ad.2 for ; Fri, 02 Jan 2026 00:23:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1767342223; x=1767947023; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=t19VCHyA+6puRXgRu5jbgBfiRPrElHIT/LgwB7H22yE=; b=AQ97WwbnKX5y4JEZGTdEsPM6lkhoxBmMckeok0VlnDSQqfcpaEJer2kc2EyTzG4jFL KoE4zJwjI/cFJgnhUqznV5x/52BTZta3lZXOuxMezQHo1eIUgg+j5qx1XjGOPbkexUOU 0hXpek2PlNVlik5tLhOUXVZ5Omx88OfBSYy7bwN1t3kTcMC1fndkeiTE2rT4NLDJDVr5 QrCkdCcOQ6W+FbTcj+uFbSwN0IR93DHk7t2XtQLr+2/fHkKHx6/OOKTgwBRXZPJZR3Vp UlvktfTR3/6lJvh4o+g3TpTR1bUnNPuA0bMMiYjmx5G5eHVE17ei4Jiy8Tlj05w8yZy6 l6Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767342223; x=1767947023; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=t19VCHyA+6puRXgRu5jbgBfiRPrElHIT/LgwB7H22yE=; b=esyjtJJXS35nL6tEGp3pNPsIiLfuCDzzPGBt1wc7MByJE+710STIfAG3g3ySEo/XC/ PxVeOz459hnA+Jz8Kjqr2qvQ3LgOBucXKbtWVgUhZmD9R+nyd5YiBiShGoFitonLM7/u QWhnPYdsEhPMvBkdt6qoo/uZxuvwegpW5tQMB0kcYKmt57zScXbjfJfDxF+89EyulBup 9c84HK+FTFgC8HI2smcO5EkXerBGdkbum/oBgKKXzwkcv3sXKF+cqeoI87k7FXnzcx1s F8EKhz11C1gcBI9Cf8+jQ/lkLbwG59Qq/Kdio2V3VCvTZLZE9SEL4+6/Ae79So/3ioNL oLrA== X-Forwarded-Encrypted: i=1; AJvYcCVzDakjy4/Uv4nShv8wkMbBAed1lQSM9gOjEw01GcYrXRf1f7K4sxPzZmedyHCBcFcd7y3eJqeMAHuGJ94=@vger.kernel.org X-Gm-Message-State: AOJu0Yyuq0dztRLQ8m1g/hiMTixr292b7fX9U0ixBAxTVyqD4LwNHU4K PiXHwENn0Z1cadUh4pNbS5juwhdPNZTTE8oWCjm/Iejfe607rTJSOkrgJkFxeEl1Pbx+v1XXv/n nu50YpHE7iDUPMxvP2cmmv8nr0GBJ5hcq633JbAyUu5mHPU5hboS0nG1LUH7EwtFqwMs= X-Gm-Gg: AY/fxX487usRBgmTXYKNWPj+8+i2hWaGo1yNEZN/e1OGZr7Yw3h0R8JIwCWaNhu2t0M k2b8W/x5NLNjdmgVkeMeS/OmRsH9ch3pLVd08VigXC6eSfqbcGkTvlv+u9ktSoAoVziVN1K1g21 weOEocaP4ZbA7ijQ9dM1KsIycTZ1XgMouTH2A98sE8skdzKOAsfrfem71n4J+tfDaEi2OhM/hul J8cnhRbJYrewByIRDk7Gg3MoHo59Fdp6Tpx3QHhICHGubjbXEuMhy9EfMLscDSVaCnTE9oxLQid 4zswa0T7SsHbOYecWAXN4103j+0RkVwDKLqIgH4A9QSq6Dv/2tRR4PDTU3ZhahBKxiKVyk45nW5 kVmFx4WrGEC2F0ATJrHgG+GG2H2BXrxgtjmJf X-Received: by 2002:a17:903:2306:b0:295:fe17:83e with SMTP id d9443c01a7336-2a2f221ed26mr358798995ad.19.1767342223297; Fri, 02 Jan 2026 00:23:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOi+SxzktmVPKzdXAl+fgvR8EFyDqnt9n30EmQADNghpbS6vilTLEme0CFoPHjOzlb7lzAjg== X-Received: by 2002:a17:903:2306:b0:295:fe17:83e with SMTP id d9443c01a7336-2a2f221ed26mr358798825ad.19.1767342222783; Fri, 02 Jan 2026 00:23:42 -0800 (PST) Received: from [10.219.57.14] ([202.46.23.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2a2f3d5ddedsm365065375ad.79.2026.01.02.00.23.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 02 Jan 2026 00:23:42 -0800 (PST) Message-ID: Date: Fri, 2 Jan 2026 13:53:36 +0530 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 v5] iommu/arm-smmu-qcom: add actlr settings for mdss on Qualcomm platforms To: konrad.dybcio@oss.qualcomm.com, robin.clark@oss.qualcomm.com, dmitry.baryshkov@oss.qualcomm.com, will@kernel.org, robin.murphy@arm.com, joro@8bytes.org, Bjorn Andersson Cc: iommu@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Charan Teja Kalla References: <20251209052323.1133495-1-bibek.patro@oss.qualcomm.com> Content-Language: en-US From: Bibek Kumar Patro In-Reply-To: <20251209052323.1133495-1-bibek.patro@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=Av7jHe9P c=1 sm=1 tr=0 ts=69578090 cx=c_pps a=IZJwPbhc+fLeJZngyXXI0A==:117 a=j4ogTh8yFefVWWEFDRgCtg==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=VwQbUJbxAAAA:8 a=pGLkceISAAAA:8 a=EUspDBNiAAAA:8 a=IbTvDgxCcU_WzWRXJZAA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=uG9DUKGECoFWVXl0Dc02:22 X-Proofpoint-ORIG-GUID: erf-_zRM9MvOHTZhdRrU9ePCZzOAFyER X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTAyMDA3NyBTYWx0ZWRfX1+4bBnpwR36r k80r57otdI1eO09vZOKxoPI2rq5bh2n+6Efwjnk6bSGjqOb6Q6OY2C6+ItJlt4LIr9iHtM9OYLm TuFuDE7by59895QXejEoOqE6QGKpdAaL2tR8lN4phwnCA0zMdSf8GZWYRYxeNRrRC6EPNG/DWS1 jXJEUkI9ayp19SEDkr9m239EfXWSgt3W6bU15v/ZWaWhOjruiaYmlkBYKVpoOc8192RqFW9HYnL b0kJWRVjO8zsD4SK6QgLUcxJ5QgdXBQuNG3VRa29To8u/7C2xevjiX6SkxSJ76FWIQG8iVu9Wyw Dn35d9hDEzGqgLqyy7m+d6DS5w3YrC/bk7FVkmQww2i+Lk7fdVkn++dGGNeZz5D9rUyibPnwFmd 7jXxevEHS/1OyKHn0qZc8bopei3DXTzLRZ+Yk4D8doWoqg0VCdVRmHZQfADor/ESI28dFwYQLXF UTmm25Rjy7I4aPZCZow== X-Proofpoint-GUID: erf-_zRM9MvOHTZhdRrU9ePCZzOAFyER X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2026-01-01_07,2025-12-31_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 clxscore=1015 phishscore=0 priorityscore=1501 suspectscore=0 lowpriorityscore=0 impostorscore=0 bulkscore=0 spamscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2601020077 Hi all, Resurfacing this patch in case it was overlooked due to the holidays and Plumbers. As per Dmitry’s suggestion [1] , I’m sharing the v5 revision, which incorporates Bjorn’s feedback on v4. [1]: https://lore.kernel.org/all/CAO9ioeW0fafwRnxvDJ7yHGcQYbgfkfRF1BMTpXpG=8tSKRptdw@mail.gmail.com/#t Thanks & regards, Bibek On 12/9/2025 10:53 AM, bibek.patro@oss.qualcomm.com wrote: > From: Charan Teja Kalla > > Add ACTLR settings for missing MDSS devices on Qualcomm platforms. > > These are QoS settings and are specific to per SoC thus different > settings, eg: some have shallow prefetch while others have no > prefetch. > > Aswell, this prefetch feature is not implemented for all the > platforms, capturing to those are implemented to the best of my > knowledge. > > Reviewed-by: Dmitry Baryshkov > Reviewed-by: Konrad Dybcio > Signed-off-by: Charan Teja Kalla > Signed-off-by: Bibek Kumar Patro > --- > Changes from V4: > 1) Change subject prefix to "iommu/arm-smmu-qcom:" > based on the changes. -- Bjorn > https://lore.kernel.org/all/20251202125447.2102658-1-charan.kalla@oss.qualcomm.com/ > > Changes from V3: > 1) Add actlr setting for missing sc8180x & sm6115. > 2) Improved commit message. > https://lore.kernel.org/all/20251124171030.323989-1-charan.kalla@oss.qualcomm.com/ > > Changes from V2: > 1) Add actlr settings for all the mdss devices on Qualcomm platforms. > 2) Improved the commit message that explain why different ACTLR > settings > https://lore.kernel.org/lkml/20251118171822.3539062-1-charan.kalla@oss.qualcomm.com/#t > > Changes from V1: > 1) Added actlr setting only for MDSS and dropped for fastrpc. -- > konrad > 2) ACTLR table is updated per alphanumeric order -- konrad > https://lore.kernel.org/all/20251105075307.1658329-1-charan.kalla@oss.qualcomm.com/ > > drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 26 ++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > > diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c > index 57c097e87613..c6645df97bbc 100644 > --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c > +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c > @@ -41,12 +41,38 @@ static const struct of_device_id qcom_smmu_actlr_client_of_match[] = { > .data = (const void *) (PREFETCH_DEEP | CPRE | CMTLB) }, > { .compatible = "qcom,fastrpc", > .data = (const void *) (PREFETCH_DEEP | CPRE | CMTLB) }, > + { .compatible = "qcom,qcm2290-mdss", > + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, > { .compatible = "qcom,sc7280-mdss", > .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, > { .compatible = "qcom,sc7280-venus", > .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, > + { .compatible = "qcom,sc8180x-mdss", > + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, > + { .compatible = "qcom,sc8280xp-mdss", > + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, > + { .compatible = "qcom,sm6115-mdss", > + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, > + { .compatible = "qcom,sm6125-mdss", > + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, > + { .compatible = "qcom,sm6350-mdss", > + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, > + { .compatible = "qcom,sm8150-mdss", > + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, > + { .compatible = "qcom,sm8250-mdss", > + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, > + { .compatible = "qcom,sm8350-mdss", > + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) }, > + { .compatible = "qcom,sm8450-mdss", > + .data = (const void *) (PREFETCH_DEFAULT | CMTLB) }, > { .compatible = "qcom,sm8550-mdss", > .data = (const void *) (PREFETCH_DEFAULT | CMTLB) }, > + { .compatible = "qcom,sm8650-mdss", > + .data = (const void *) (PREFETCH_DEFAULT | CMTLB) }, > + { .compatible = "qcom,sm8750-mdss", > + .data = (const void *) (PREFETCH_DEFAULT | CMTLB) }, > + { .compatible = "qcom,x1e80100-mdss", > + .data = (const void *) (PREFETCH_DEFAULT | CMTLB) }, > { } > }; >