Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp678383rdg; Thu, 10 Aug 2023 16:17:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHWc12/h624y6ifRCJh3sRcwjGxlrLJCT7rZW8lQ1+8ueXRp4TdgUm7svfISDtteLrnboWG X-Received: by 2002:a17:907:2e19:b0:97d:ee82:920a with SMTP id ig25-20020a1709072e1900b0097dee82920amr242022ejc.74.1691709469714; Thu, 10 Aug 2023 16:17:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691709469; cv=none; d=google.com; s=arc-20160816; b=SnVK0P2DIM6jmEwmZ8fb/NYrAJjholdoQ69IKY6sADQOoOTblMbbPql6sV5DoZgKZE Y4K2JoeAj/YW2TJaHkBSiNjEo81S0X9ZW747aW2PZ6UIFVtZcGHtmfrX+c4oe5sCSnvo cNOqB9KYQB9dcgdRynuCorNaPqU34EJ/ykwjSaIAskmjL+mdTneyUIeyAD3jiHHoxbjO 26PYLc9Bxhrg7TgMUl1mQdzC+XPtKFXAhZQ4OCesAIWGVqnwP4v1XIQ6Dh+e8K2cVQ9I FPzEhcZbBcYYelBGKATP/EjgEHmdMCRS/62u92qVqKWy1ryqZGpD3rPxd+gTC0ZecoEV ZBoA== 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:dkim-signature; bh=CMRt6eti4fdq/fHfQcqLDtDcyJiYOUnl9aiu4vyyz5s=; fh=j5HWTVsl68DBgM7QudFMzm5eUQA9ryD1zjzhYHYtJY8=; b=TadbiWohaUqaASTcQO/zl3x/SyXk+sLLFLUskOJo/1dfexx7HrJe9AjFyKh0p6AXB0 hGLtjolg0fi1y3U6KwDbA/6yrVEZ0xT22nkOIwvzmMlyKdpXTUFQZYEpIkTRZpJ1h3gg SQTx1O9AFOc4zaDH7McCERytndoy+7iTjth3ZXPFHBj5UF59jCsMun/eJ4lSqXFtQgXj V09LcmyHXtvgN1fa+N0mbH5au+Q6heIioxeEZ6Ywi8DGx9Tr68srorsvzHWVoWVw7VPL oN1BFcegY84Ot76bY16aivzf0xkeNwswDkRgFnU7EDImnQQiHmReJWtx4sgv2UJduf6Z 6SMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ansari.sh header.s=key1 header.b=S3RF8Rxx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ansari.sh Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x24-20020a170906149800b0098859d239dfsi2499638ejc.796.2023.08.10.16.17.25; Thu, 10 Aug 2023 16:17:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ansari.sh header.s=key1 header.b=S3RF8Rxx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ansari.sh Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231343AbjHJVyu (ORCPT + 99 others); Thu, 10 Aug 2023 17:54:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231276AbjHJVyo (ORCPT ); Thu, 10 Aug 2023 17:54:44 -0400 X-Greylist: delayed 515 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 10 Aug 2023 14:54:41 PDT Received: from out-77.mta1.migadu.com (out-77.mta1.migadu.com [95.215.58.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 820532D78 for ; Thu, 10 Aug 2023 14:54:41 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ansari.sh; s=key1; t=1691703962; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=CMRt6eti4fdq/fHfQcqLDtDcyJiYOUnl9aiu4vyyz5s=; b=S3RF8RxxB8OLfW7zhWk7sZ7pxCINQuSY/OStvk1aYqKS5FvTMc1VELfBl5ArfhDh5P6nvB bIem0bUm7lZzqTcQi89qMF9tYBhlBx6a48lT5mRLRmXQVXgzUyEmRimymWwCG2UKhqWsH7 q7QbSvmXgvfiOohcASDxt7tECcolEUw= From: Rayyan Ansari To: linux-tegra@vger.kernel.org Cc: Rayyan Ansari , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: tegra: Enable IOMMU for host1x on Tegra132 Date: Thu, 10 Aug 2023 22:45:41 +0100 Message-ID: <20230810214543.16235-1-rayyan@ansari.sh> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Add the iommu property to the host1x node to register it with its swgroup. Signed-off-by: Rayyan Ansari --- arch/arm64/boot/dts/nvidia/tegra132.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra132.dtsi b/arch/arm64/boot/dts/nvidia/tegra132.dtsi index 8b78be8f4f9d..7e24a212c7e4 100644 --- a/arch/arm64/boot/dts/nvidia/tegra132.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra132.dtsi @@ -93,6 +93,8 @@ host1x@50000000 { resets = <&tegra_car 28>; reset-names = "host1x"; + iommus = <&mc TEGRA_SWGROUP_HC>; + #address-cells = <2>; #size-cells = <2>; -- 2.41.0