Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp770118rdf; Fri, 3 Nov 2023 14:54:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHreJu4P6HcwrdrUdQYiigLWVex/9a+axP+o+NAzcaa92vUF4ZEvCT3osTYyGmyYJkwOPRR X-Received: by 2002:a05:6a20:e11e:b0:172:6771:d766 with SMTP id kr30-20020a056a20e11e00b001726771d766mr27440939pzb.51.1699048442575; Fri, 03 Nov 2023 14:54:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699048442; cv=none; d=google.com; s=arc-20160816; b=JW77E7RE+YUK3ljq5TnoavZObqL3VNejvI6eOLN3IjOlVuSm/lgKDzvGOU0dKEuMVo ZrjnoawBkMxS/S1B7ofV1BSkyIqdNyFWRx9bEaH9MKegZPxFjSkW9VAKJqv/BFEYO5XA yIkmPnarGBbpz6Dvb1lcCPTEHqb7yMNlyW7zx5Jxe1D7Mh8y7nG/QhzLPgvbS0UMhqcc aVbxm31etsrizKhjxpo+kjrmQC9PFxQ+3RA1sAXaVIiIUFVXqdtq41ORynL/1D/ekKJp UBRjk7JWYqG+fGHzswCuc3yMHNu3ZO1xex4J6crgDPsxTWFKOAarD7/8Vf3mECd5JsrQ tsNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=L1gf4SE0cotgosJUEiy6yyXLDrfDlqrR65MXeq9+/EQ=; fh=PVwdo4Ev8xM57n1taMK7yZeEsS7AUc4nv0WI2X2iHAg=; b=e5LXiZVFgfeRqhrXGVg9nUejJFiOSEKoJrfONBMEHYFNBRgmSn2RzpzeWB2zwSJ60K m3U8+H9TWM1+YmuZq2IkYqku+8QMy83wEiejhukbA/2vX03pe+cbK64XyG3+a1S1Uk71 NT4g5p2takm6AERT7S3q6ztv7uEt/WA8kJUfiBCZmevBCeas1D9Kg8DWQ0FJPABIbYIT QW1K3d1MZxvgEBF2KLDOJark+9DW0MBWCMXFK0z0piH4AkR7B72VvWUncG7nVB72iPBj FD7qlmhCWzKOiWoAMvOG2Hg+t0eH5nxaF7zhNGo1zVLbCvWyTb8d6JUdk9qoNh4btvmA sctw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=BPJBVjx0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id v64-20020a638943000000b00578e5228c76si2242921pgd.505.2023.11.03.14.54.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 14:54:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=BPJBVjx0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 4F5838213F06; Fri, 3 Nov 2023 14:54:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230388AbjKCVx5 (ORCPT + 99 others); Fri, 3 Nov 2023 17:53:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbjKCVxv (ORCPT ); Fri, 3 Nov 2023 17:53:51 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D04DD54 for ; Fri, 3 Nov 2023 14:53:49 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3A3LbPNc017492; Fri, 3 Nov 2023 21:53:26 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=L1gf4SE0cotgosJUEiy6yyXLDrfDlqrR65MXeq9+/EQ=; b=BPJBVjx0r268tH9SosMFM3Ie/nSCZcenCqpMwSEh6+ItoexCwe9G0eAuU1Di9dqntwcQ HsyBGOcCRA4pi7m8ifS5pkZvTt1hBKlIYo7mKnJs0nC9t/pIHU2Vat3USAR276lzwwc4 F/KomMfgqvMUPPLAmaE3G4yRLhawMOIlehZgn0ORJZ2m7a1PnKnZi9yEDNJgPShRB3rL tAAJCByBc+9p90HwaIaoiYTPco+9Noo295QS/nlD3wwWShemuJt/rfVD+k2c0e7oNcYh 0RQZao36u2ij8pJFiOxqfRMOoFakPRbtP1MMgiBazE6ACc+aKPhrDTCCN0gbRPc26AgQ TA== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3u4cw9ukym-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 03 Nov 2023 21:53:26 +0000 Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3A3LrPMh027221 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 3 Nov 2023 21:53:25 GMT Received: from hyd-lablnx450.qualcomm.com (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Fri, 3 Nov 2023 14:53:20 -0700 From: Bibek Kumar Patro To: , , , , , , , , CC: , , , , "Bibek Kumar Patro" Subject: [PATCH 0/3] iommu/arm-smmu: introduction of ACTLR implementation for Qualcomm SoCs Date: Sat, 4 Nov 2023 03:21:21 +0530 Message-ID: <20231103215124.1095-1-quic_bibekkum@quicinc.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: B1flFjoFBxgkLDveYWnb16GOolpjwtXn X-Proofpoint-ORIG-GUID: B1flFjoFBxgkLDveYWnb16GOolpjwtXn X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-03_21,2023-11-02_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=552 spamscore=0 mlxscore=0 malwarescore=0 adultscore=0 suspectscore=0 lowpriorityscore=0 bulkscore=0 phishscore=0 clxscore=1011 priorityscore=1501 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310240000 definitions=main-2311030185 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Fri, 03 Nov 2023 14:54:01 -0700 (PDT) This patch series consists of three parts and covers the following: 1. Introducing intital set of driver changes to implement ACTLR register for custom prefetcher settings in Qualcomm SoCs. 2. Adding ACTLR data and implementation operations for SM8550. 3. Re-enabling context caching for Qualcomm SoCs to retain prefetcher settings during reset and runtime suspend. Link to discussion on RFC posted on ACTLR implementation: https://lore.kernel.org/all/a01e7e60-6ead-4a9e-ba90-22a8a6bbd03f@quicinc.com/ Bibek Kumar Patro (3): iommu/arm-smmu: introduction of ACTLR for custom prefetcher settings iommu/arm-smmu: add ACTLR data and support for sm8550 iommu/arm-smmu: re-enable context caching in smmu reset operation drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 143 ++++++++++++++++++++- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.h | 2 + drivers/iommu/arm/arm-smmu/arm-smmu.c | 5 +- drivers/iommu/arm/arm-smmu/arm-smmu.h | 5 + 4 files changed, 146 insertions(+), 9 deletions(-) -- 2.17.1