From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9BEE1C3DA49 for ; Tue, 30 Jul 2024 17:18:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:CC:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=48yGHuVSgox+ECw9IMmv63UkiH/YE0SBuryhRBz3Rg0=; b=tT8YvQWJU2Pfyq9W7WcsMzxH1w f10KQf2B+w++prJf1QQfyt2cz8xqw0gJjKJdA59Bx8G3fCLBnheZYAnYYKMQxElDMqYslQfAINHF+ xtg1NHBc0at+P6G0lee2FpUZqtRG5NVCz4cHFsY0nWL8ys0JkuPbUwDW+jtw48w3IsdSd0hn65+yw IvBExr4YrGXO1fegrThEIldI1Qg/+LaNZNAAyRZX7hu0dUsIWLdoaCEedurkEKjPsI873JvtbQupU zAjwyPhNj4ahBjTFdxWXyZsGjy0RLa3RtJhaNkgx0rWhlypt0yzKZdWooCk1yFcifKSYp+ELnAe9p MEG2ODjg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYqUj-0000000G06i-0wDe; Tue, 30 Jul 2024 17:18:41 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYqSL-0000000Fzry-06qY for linux-arm-kernel@lists.infradead.org; Tue, 30 Jul 2024 17:18:12 +0000 Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 46UB2WKM022716; Tue, 30 Jul 2024 17:16:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 48yGHuVSgox+ECw9IMmv63UkiH/YE0SBuryhRBz3Rg0=; b=CnN/oQnGIPuNZl7w kyeWjX7zlpapIlfND+PssZpKOWOgOx1YMTQLo7Ho+RJRJu9SGZI1rFgFQ/5uwipc yTaOY1otqySfxmNYcIEP0YeBXJdKOIgRfVQogUFut4eHAsh03Qk55CYCb9+q+tf1 rmDCM+fEJmtzFZ9WzkxGRAByiFcpXWrUMyts2APGOXnxg5hxuifuJWkD44VDPYq7 Y/8/miOKD0YsrRdY5iEXVrt4gb9Nn8ExRXlylPL5NwQa//uDG68qsxgIFk5/axQJ GbHWhNKT58lwS4PkPe+vFFawHGVAiHNYldcdHppLQg+d6hTKYMq18SiORUHiNYXu Ko7eAg== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 40mpkf0fvf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jul 2024 17:16:02 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA02.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 46UHG2bp021722 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jul 2024 17:16:02 GMT Received: from [10.110.9.42] (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Tue, 30 Jul 2024 10:16:01 -0700 Message-ID: Date: Tue, 30 Jul 2024 10:16:00 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH] iommu/arm-smmu-qcom: Work around SDM845 Adreno SMMU w/ 16K pages To: Dmitry Baryshkov , Konrad Dybcio CC: Rob Clark , Konrad Dybcio , Bjorn Andersson , Will Deacon , Robin Murphy , Joerg Roedel , Marijn Suijten , , , , , Konrad Dybcio , Sumit Semwal References: <20240729-topic-845_gpu_smmu-v1-1-8e372abbde41@kernel.org> <3332c732-4555-46bf-af75-aa36ce2d58df@gmail.com> Content-Language: en-US From: Trilok Soni In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: eSOi-WzErNBVgqrWVIIBQ-c3D6Mlfx4Y X-Proofpoint-GUID: eSOi-WzErNBVgqrWVIIBQ-c3D6Mlfx4Y X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-30_13,2024-07-30_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 bulkscore=0 mlxlogscore=778 priorityscore=1501 impostorscore=0 malwarescore=0 lowpriorityscore=0 spamscore=0 phishscore=0 adultscore=0 mlxscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2407110000 definitions=main-2407300118 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240730_101613_111254_374FC74E X-CRM114-Status: UNSURE ( 9.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 7/30/2024 1:50 AM, Dmitry Baryshkov wrote: >>>>>> SDM845's Adreno SMMU is unique in that it actually advertizes support >>>>>> for 16K (and 32M) pages, which doesn't hold for newer SoCs. > My question is about forbidding 16k pages for sdm845 only or for other > chips too. I'd assume that it shouldn't also work for other smmu-v2 > platforms. Yes, my understanding was that SMMUv2 based IPs doesn't have 16k support and it is only starting from SMMUv3. -- ---Trilok Soni