Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp692705pxx; Wed, 28 Oct 2020 14:40:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+QjTeJvYE4Tf2zQTDbPBYr7OFqn/I2NyF4wc5/ZVcrU/tK2Uz1uMA/Lr0RFHlwRak6zzZ X-Received: by 2002:aa7:d384:: with SMTP id x4mr961795edq.105.1603921257662; Wed, 28 Oct 2020 14:40:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603921257; cv=none; d=google.com; s=arc-20160816; b=b7Vrl0JIGMT5TKQySBbykTDxfEs23aAl1GVFHNu5UzGlwU601lt13+yYqsIt9wbC3a AKVKj42GVwRGbJqbDV69i4P+LqNLcb/+1JoTdpHhJfrR8dAf5HTF9BdlrcAYQ39E0oLM /pboE3aTI24o/iUhDLuBQKqW4oZ5Mzfpp7PFqS1liuJJKBh//gEMALYtVgK6tTxXjxER mVZHWT3GT0cTfMQqRDnLKEtn1p8ALVfcrMe0Z+tOsJJRae+DYuqghkJEmY8/Ee7Q+nkr MNDo/M40EoLttcDL7dnpJZNAzHs2bYkMIiwVMaIvVEpT/La4qo4ISz96ijwzJfULeitD 1afg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dmarc-filter:sender :dkim-signature; bh=1pqcBR32icAlSSJqh7uaEgLiXLQO2q+LnzAnG1A6u8c=; b=GMpxvMrPQgcvcrIX+W9OeXfOxkNxUHDd+uyG/ljqV33V5IZXk+EzzJxPBYOqunbLiN 7rsQ832zz89u4g4xgab1Lqak4/Ukf+5L339twXheytyAqZW2jEqsyLdn0LeFi7OcZzb0 pxSmPnj9XKR5SX1l22Yc2Jg3PNTMde6TkA3STV7OiRqZEgegY4dJ0B1r2SG6izJhXaZQ pan8qnFGy4h1GozcilpwDdyqa3X76+g91N66PRXWs0iS+lKaRNQjYocApc2tSYO0NP3A P/i2hJQq2h2p/Ja6/PZ6C45Ul0q8gWYew6P5GgJDv8nE3S2hMlqMrSt8sPH1A264f8WF V4OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=JlItf4is; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ay4si385062ejb.630.2020.10.28.14.40.35; Wed, 28 Oct 2020 14:40:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=JlItf4is; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1832440AbgJ0WeT (ORCPT + 99 others); Tue, 27 Oct 2020 18:34:19 -0400 Received: from z5.mailgun.us ([104.130.96.5]:52783 "EHLO z5.mailgun.us" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1832436AbgJ0WeS (ORCPT ); Tue, 27 Oct 2020 18:34:18 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1603838058; h=Content-Transfer-Encoding: MIME-Version: Message-Id: Date: Subject: Cc: To: From: Sender; bh=1pqcBR32icAlSSJqh7uaEgLiXLQO2q+LnzAnG1A6u8c=; b=JlItf4isCc3IEdH1HgRY+GjKUjIOrSnkYLKqpZ2/Wux2jx/rmbd96QDDvhRRNKaC0zxG7Gqp KHpUcfuuNFLZeOp2gy7QDGG83mBZEA2jcc/azJc2k0R1yD2fh1fdDNV2YTFG9aMl5Q2o17CC 2OT3IOYlUHzpsDl+dgbFcLDrT/w= X-Mailgun-Sending-Ip: 104.130.96.5 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n05.prod.us-west-2.postgun.com with SMTP id 5f98a0691fc42e8c03490a3e (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 27 Oct 2020 22:34:17 GMT Sender: jcrouse=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id DD223C43395; Tue, 27 Oct 2020 22:34:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from jordan-laptop.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jcrouse) by smtp.codeaurora.org (Postfix) with ESMTPSA id 3B91EC433C9; Tue, 27 Oct 2020 22:34:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 3B91EC433C9 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=jcrouse@codeaurora.org From: Jordan Crouse To: linux-arm-msm@vger.kernel.org Cc: Andy Gross , Bjorn Andersson , Greg Kroah-Hartman , Joerg Roedel , Krishna Reddy , Rob Clark , Rob Herring , Robin Murphy , Sai Prakash Ranjan , Sibi Sankar , Stephen Boyd , Vivek Gautam , Will Deacon , devicetree@vger.kernel.org, iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v18 0/4] iommu/arm-smmu: Add adreno-smmu implementation and bindings Date: Tue, 27 Oct 2020 16:34:04 -0600 Message-Id: <20201027223408.469893-1-jcrouse@codeaurora.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This short series adds support for the adreno-smmu implementation of the arm-smmu driver and the device-tree bindings to turn on the implementation for the sm845 and sc7180 GPUs. These changes are the last ones needed to enable per-instance pagetables in the drm/msm driver. No deltas in this patchset since the last go-around for 5.10 [1]. [1] https://patchwork.freedesktop.org/series/81393/ Jordan Crouse (3): iommu/arm-smmu-qcom: Add implementation for the adreno GPU SMMU dt-bindings: arm-smmu: Add compatible string for Adreno GPU SMMU arm: dts: qcom: sm845: Set the compatible string for the GPU SMMU Rob Clark (1): iommu/arm-smmu: Add a way for implementations to influence SCTLR .../devicetree/bindings/iommu/arm,smmu.yaml | 9 +- arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi | 9 + arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- drivers/iommu/arm/arm-smmu/arm-smmu-impl.c | 3 + drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 157 +++++++++++++++++- drivers/iommu/arm/arm-smmu/arm-smmu.c | 3 + drivers/iommu/arm/arm-smmu/arm-smmu.h | 4 + 7 files changed, 182 insertions(+), 5 deletions(-) -- 2.25.1