From patchwork Tue Jul 30 01:38:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 13746234 Received: from mail-qt1-f174.google.com (mail-qt1-f174.google.com [209.85.160.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C641CC2C6; Tue, 30 Jul 2024 01:38:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722303513; cv=none; b=kYeJW4Hxy7gK99V9rjV4j0oZhGbpVLg63BcOkBIPtIrRrTYGUMD9Brr/8a9qvjJNcCaoTRFeVr4+QmcWyZRZM68Wcew6Va5c7TrmUzyr1ftwvUM8xBokG0ivVdTU82MwnGZmIoDu5RNCLWnPFsAeOxFQ4HUawlefAN2hTIvNU1M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722303513; c=relaxed/simple; bh=ax3TPARwN0WV0f1DYefYxiiOKQRlRBjw40MkPYhauHk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=IqTP5VfkR9Wiek8s5l7pNrEN6x+nenNUXI1m80jKaRNaZOZfqtwghH1d9Wg3b2OEFHluRUC8duQuxvwQ1lRq7VxVTTOs/Bjl7NopU6jIv1maTGqG4HzQBaBuknHhcOVv1h7BV6WSvrFSgEmIGEQ7sWr2THysPvofXIEW77naQQw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Yelx25aZ; arc=none smtp.client-ip=209.85.160.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Yelx25aZ" Received: by mail-qt1-f174.google.com with SMTP id d75a77b69052e-44feaa08040so23734601cf.2; Mon, 29 Jul 2024 18:38:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722303510; x=1722908310; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jadAqLKFE3q2pZsf/6bbztkcQnmkofhXBTNZedlCiwM=; b=Yelx25aZCfuPmYQYToDNr5ijzUR9uY/xAtYWkLWfI5FZXRMHmtstWDSMcWM1VU0b39 hgvVSbmUL5TjyrJa4h2eZjSSrJWuhwtvuFrLhYG0bwkpxq+U8jb6AyHn5jYxRowJWNAf j0Bee9Fgz4YZxtx6WkUcQ4/rhXgEUeVkEM958XVUKYensjz2vICIYKq5fwYpJ4JanGA5 Xb6m/4umcrdVkkzoSwOXw5hqZWlRCMrY4E4DzyWQ1gJpBMSY1OiL2eBqS9klhJiC/SK/ brItPztLaylpdCwM2vXYetx2wVmPTw/X9xDDeMgH0npDRUYTJ3yGZ3jUFXy+3JzCfY10 mH3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722303510; x=1722908310; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jadAqLKFE3q2pZsf/6bbztkcQnmkofhXBTNZedlCiwM=; b=jvyBFlcDbWCzo4Gkz6+Vd62m+p2EK4RxfUiu7PL3OehmZYZSRNhPwBTi8NuAgYN0Zh iqyFBZBfW9loibqWpCrJFywaM2sQdHDnoxRRD/thjsEV5/fIei8P6IZEoIFKepgso5rk oQfkDmQsnn83Aq5w69i3fq6f/t329vvRPrFaO1lSibtYkKYoSaFJZNHaMJWsG3uCAoni rpQVpfRpBeKIFNFUQX6qqtmEQgOwMjkSlU/nCuB8oeg8ATtO6Sv7IImSKPyCWJCgv7Ss 1xoWqCRGbDQigaBniJTNe0NX/GM32PvrF/wjOmfx5wos2+i5aJChdurhRSJO8iUUvYoe vZlA== X-Forwarded-Encrypted: i=1; AJvYcCXdBHlBAE93sCNHhxVz2yV1zFcrD9pMie8v/Cy1v5MN1uUOV9aowl4zdTgupsmoLdbKPo3vFMQXLYp+gYjGGLRrH78wy8jKGqbtbeLOL0bok7WKMKvkREdURJ7XOC/JXMZQlKiBXt4KPwU= X-Gm-Message-State: AOJu0YwgVu4amUjyzU8r0+cEqxKuKSVJHUmjgFVA8sbm6mU8AauTt+LA ic8kQc6FZtmQvhlpHNkTOOumk647qprmoJ46Rzd7etG+YS3MJLVk X-Google-Smtp-Source: AGHT+IGYK5Xjx0Vrl3G9T4RWpcjMNrPODmKbYEWMFZUZH5DSxk2I2TbWckPM+lm2RVZ3ltORXgQ/7Q== X-Received: by 2002:a05:622a:1b9f:b0:44f:ec6b:9b01 with SMTP id d75a77b69052e-45004fb89acmr112733241cf.56.1722303509828; Mon, 29 Jul 2024 18:38:29 -0700 (PDT) Received: from localhost ([2607:fea8:52a3:d200:324c:b818:b179:79b]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-44fe814741bsm46607701cf.29.2024.07.29.18.38.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jul 2024 18:38:29 -0700 (PDT) From: Richard Acayan To: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rob Clark , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Richard Acayan Subject: [PATCH 1/2] dt-bindings: iommu: arm,smmu: add sdm670 adreno iommu compatible Date: Mon, 29 Jul 2024 21:38:22 -0400 Message-ID: <20240730013820.41702-5-mailingradian@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240730013820.41702-4-mailingradian@gmail.com> References: <20240730013820.41702-4-mailingradian@gmail.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 SDM670 has a separate IOMMU for the GPU, like SDM845. Add the compatible for it. Signed-off-by: Richard Acayan --- Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index 280b4e49f219..c672f7b6a2ae 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -116,6 +116,7 @@ properties: - qcom,msm8996-smmu-v2 - qcom,sc7180-smmu-v2 - qcom,sdm630-smmu-v2 + - qcom,sdm670-smmu-v2 - qcom,sdm845-smmu-v2 - qcom,sm6350-smmu-v2 - qcom,sm7150-smmu-v2 From patchwork Tue Jul 30 01:38:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 13746235 Received: from mail-qv1-f41.google.com (mail-qv1-f41.google.com [209.85.219.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AAE0DC2E3; Tue, 30 Jul 2024 01:38:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722303514; cv=none; b=UYCd/G583Lg4snBqlPSkPfKhkKswSU/KVLfn7Buaa/kF8KTzThshRYAl0ye2YfMiYACUloq5VxNbSafZdR1zCwZViR7PfWamlPt4G6YiIr1pCFQSTVlNlMv+Ac/LsG5GnuXAzkQDnjOd6VDH1daPubfhkIFQzBraaohgT0aPRAs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722303514; c=relaxed/simple; bh=qRI28A+73jOqlrtVWjD+2Jeg4Mi3y9f3Y16q9ww7zVA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fuXEIENt4tgpW1Vf8dLWeqVx0/5PkYBW9kbXF94yqhkeN7EcOyjjDomrxvlaEthiC4wzj3YBQXhKKhISVQ0JITpXfOBH/SaCWaTRjc+E+rgddkIJbKr+WjQiPhfBBkC77L8TWlORpRlYFOrHXuPhFpkrfSmrRKr0ZUQTNQDjly8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=J5SKL89b; arc=none smtp.client-ip=209.85.219.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="J5SKL89b" Received: by mail-qv1-f41.google.com with SMTP id 6a1803df08f44-6b797234b09so31329756d6.0; Mon, 29 Jul 2024 18:38:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722303511; x=1722908311; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=74veV6gJihpFMmsZlJmkCJZZfUOt3SZScr7B4XrCCXA=; b=J5SKL89bRHLyheMekWStec1mjGMw7jS2pdZ3q3CC+iB+C76NPJNOg9SOT0xnA8rv72 iOyokN/FuV/DDsK/Zafhu/O6G9tIuKP0NOxSaJp4nAkUpLwsQlBoFE0Ebms18mFAdA77 2+Ed+Jjd9Ymq7T6ktFpbpwEAZi+SVyKJ22f/ZsN8eStWun/b8Q9eTxgCVSsIWAxTD6AA BviC6zKwlwACxc+MHNlyF3gN4lALxn/rqRwLWAUwlgkV2bpMfOD4tdLgNfL2qBSNuV9Y OHBFMqgrkZwSTzOEc2NvtAzwp73TV1aqQHJaahCWQAt1vja5GTQZjMHauikKbXJB9Inn RBdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722303511; x=1722908311; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=74veV6gJihpFMmsZlJmkCJZZfUOt3SZScr7B4XrCCXA=; b=cw/cjE/fqmRleCOhPwFHzPv2cVVfJe5v7w6wbyZBBOUjGNGcYhooLsxtldeB0GAvmU y13gXEIkAirNj+5DtfZ2iObrna5HBXll+o7ypcUT9eLwSUxosKyUMNdOmF4crviT4RKg AMZuFXDlq5NA1iDLY7b3K46AZMTws3QhAZbwJu0R9LF/NhJCBcjgehxyGlXeAj+YOIWH 56GzZinWZWrXKCOpqeYcemmCQstHC+97Emn0MkkkZ15e+RIshMfn30+WXLiz1QUhykHA E3dyzlL5NIE/NLvUge5kZMM6vZJpK8m8a0ylMzE5eS7yU2NJtq3claNCGVf6h1JaRmgl 8FYg== X-Forwarded-Encrypted: i=1; AJvYcCUizHmwaNp1WH5XlA4GR+STrMkois6krSLmKUBpOq9prsViLDWXfD9LBFctQYEtM5C4GPefKq+Po7xbNlMnyIxB4omANoLLXRwcn1RL31rmDGQJfNV12hQYmeCbdI7mC4sbppQPrhC2cE4= X-Gm-Message-State: AOJu0YygZgjduhe2OUgYLUyqoAdsuTe8zVtJR0YsyFa5yD2fuUw/E4HZ BzvdukkI5DhVOpNJLdHW8mlMrM4/fz61mbdhas9IM0dex/JyVWQx X-Google-Smtp-Source: AGHT+IE6Phiwsym7PisdY2IYYu9NzfCIcR4dhesQuNm3nR5IYh2ixJSNLKlDYlycfLQ1GUlV5uD+pg== X-Received: by 2002:ad4:4c0c:0:b0:6af:c2ec:3313 with SMTP id 6a1803df08f44-6bb78104019mr9812076d6.26.1722303511400; Mon, 29 Jul 2024 18:38:31 -0700 (PDT) Received: from localhost ([2607:fea8:52a3:d200:324c:b818:b179:79b]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6bb79c4f3dbsm318286d6.30.2024.07.29.18.38.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jul 2024 18:38:31 -0700 (PDT) From: Richard Acayan To: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rob Clark , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Richard Acayan Subject: [PATCH 2/2] iommu/arm-smmu-qcom: add sdm670 adreno iommu compatible Date: Mon, 29 Jul 2024 21:38:23 -0400 Message-ID: <20240730013820.41702-6-mailingradian@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240730013820.41702-4-mailingradian@gmail.com> References: <20240730013820.41702-4-mailingradian@gmail.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add the compatible for the separate IOMMU on SDM670 for the Adreno GPU. Signed-off-by: Richard Acayan --- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c index 36c6b36ad4ff..7f4b15be4a11 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -539,6 +539,7 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = { { .compatible = "qcom,sc8180x-smmu-500", .data = &qcom_smmu_500_impl0_data }, { .compatible = "qcom,sc8280xp-smmu-500", .data = &qcom_smmu_500_impl0_data }, { .compatible = "qcom,sdm630-smmu-v2", .data = &qcom_smmu_v2_data }, + { .compatible = "qcom,sdm670-smmu-v2", .data = &qcom_smmu_v2_data }, { .compatible = "qcom,sdm845-smmu-v2", .data = &qcom_smmu_v2_data }, { .compatible = "qcom,sdm845-smmu-500", .data = &sdm845_smmu_500_data }, { .compatible = "qcom,sm6115-smmu-500", .data = &qcom_smmu_500_impl0_data},