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 smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.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 C66A4C433EF for ; Thu, 9 Dec 2021 16:36:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 8325F412DF; Thu, 9 Dec 2021 16:36:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t2QlPJXF2cAW; Thu, 9 Dec 2021 16:36:16 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp2.osuosl.org (Postfix) with ESMTPS id 441FF412DC; Thu, 9 Dec 2021 16:36:16 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 1FB15C002F; Thu, 9 Dec 2021 16:36:16 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 66373C0012 for ; Thu, 9 Dec 2021 16:36:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 46961856BE for ; Thu, 9 Dec 2021 16:36:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LNh_JTxZFHTQ for ; Thu, 9 Dec 2021 16:36:13 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by smtp1.osuosl.org (Postfix) with ESMTPS id 9B22A856B4 for ; Thu, 9 Dec 2021 16:36:13 +0000 (UTC) Received: by mail-wr1-x435.google.com with SMTP id a9so10674321wrr.8 for ; Thu, 09 Dec 2021 08:36:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RBVbB9vWDMJLfuwUYZUrRPLV7w25shhYgWxxhrA4Z48=; b=DGTmwROcRMmvUsuy3YNzANsG6/H/eUb9VX0utTdtacM8z6GqwRXVbC16JeNePjBBHE O55Lqu5LqXYX+xVavU00nqw3JV3zVVvasfffLIOYCVbEYjBFW9sEf63e7WXDdodZoRYU VdG0oFsYnOuIc5CcB7i9KT7XGIj9UPc9DzI6JfaZIhNaBiTRx6DPT9BTC9H2PLGY9Dln KgylB4YajKqGbcfIVCX7ea8KgNU6l+mp3oOP1+5NSJil2XFG3yZaisW4rMhV8dbJ73/w OnhDDp6NUZyATkuzV4x3mnHSiQELVzNokQT7UIOiSyRr01Echrq5VC4Lc2vlGZ3UHlKR 3OKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RBVbB9vWDMJLfuwUYZUrRPLV7w25shhYgWxxhrA4Z48=; b=OvGY8533noKKuDsxgcZFGSp0YrMGYx7fhF8/r32LJdKbcgG4f6v7l8UOXrexkNYx7N VuB+CqwhAdiLn8zN1/yHJNSIzt3GIo4P/sHBB42ZvkahBkGTC8N+FaSDNwu3jWeD5CDd zuaftaAFYD+ZHBdqxDus2Fvu6dpfMxHzuX2BIPLRgtOd45ud7uuziJtWciAIhY6TEHZa 4m3lb1M7KFv8PWUiaTGaasF/iM4UAURtgWghQbB2OqMkB82IoBQqBAgO5mAqm8qpRvnK 6djrdfo8RXqXymE/Tp/V4cbyrU9Rq6E6CWwhrE2Qe/tBfKASw8EtBrzYB6OeqyiXbS5R u+1g== X-Gm-Message-State: AOAM533JVS7J0Bci80oR3GM6MtXOUeHbgw7VLuBuTAAyQhE4ZQOUbKk6 G/hiclI7UX9zJ/8wgRsBVYc= X-Google-Smtp-Source: ABdhPJyoyzm35sKhtbHbEgfcyRTMC6E0F0fB9LiKI1mNHER0VWEYotU23cMbHIBCAVjMsVva3cZv1A== X-Received: by 2002:adf:f491:: with SMTP id l17mr7747810wro.525.1639067771765; Thu, 09 Dec 2021 08:36:11 -0800 (PST) Received: from localhost ([193.209.96.43]) by smtp.gmail.com with ESMTPSA id v2sm250094wmc.36.2021.12.09.08.36.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 08:36:10 -0800 (PST) From: Thierry Reding To: Joerg Roedel , Will Deacon , Robin Murphy , Rob Herring Subject: [PATCH v2 3/4] iommu/arm-smmu: Support Tegra234 SMMU Date: Thu, 9 Dec 2021 17:35:59 +0100 Message-Id: <20211209163600.609613-3-thierry.reding@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211209163600.609613-1-thierry.reding@gmail.com> References: <20211209163600.609613-1-thierry.reding@gmail.com> MIME-Version: 1.0 Cc: devicetree@vger.kernel.org, Jon Hunter , iommu@lists.linux-foundation.org, Thierry Reding , linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" From: Thierry Reding Allow the NVIDIA-specific ARM SMMU implementation to bind to the SMMU instances found on Tegra234. Signed-off-by: Thierry Reding --- drivers/iommu/arm/arm-smmu/arm-smmu-impl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-impl.c b/drivers/iommu/arm/arm-smmu/arm-smmu-impl.c index 2c25cce38060..658f3cc83278 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-impl.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-impl.c @@ -211,7 +211,8 @@ struct arm_smmu_device *arm_smmu_impl_init(struct arm_smmu_device *smmu) if (of_property_read_bool(np, "calxeda,smmu-secure-config-access")) smmu->impl = &calxeda_impl; - if (of_device_is_compatible(np, "nvidia,tegra194-smmu") || + if (of_device_is_compatible(np, "nvidia,tegra234-smmu") || + of_device_is_compatible(np, "nvidia,tegra194-smmu") || of_device_is_compatible(np, "nvidia,tegra186-smmu")) return nvidia_smmu_impl_init(smmu); -- 2.34.1 _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D39CDC4321E for ; Thu, 9 Dec 2021 16:36:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237175AbhLIQjs (ORCPT ); Thu, 9 Dec 2021 11:39:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236531AbhLIQjr (ORCPT ); Thu, 9 Dec 2021 11:39:47 -0500 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51D3EC0617A1; Thu, 9 Dec 2021 08:36:13 -0800 (PST) Received: by mail-wr1-x42f.google.com with SMTP id a18so10695849wrn.6; Thu, 09 Dec 2021 08:36:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RBVbB9vWDMJLfuwUYZUrRPLV7w25shhYgWxxhrA4Z48=; b=DGTmwROcRMmvUsuy3YNzANsG6/H/eUb9VX0utTdtacM8z6GqwRXVbC16JeNePjBBHE O55Lqu5LqXYX+xVavU00nqw3JV3zVVvasfffLIOYCVbEYjBFW9sEf63e7WXDdodZoRYU VdG0oFsYnOuIc5CcB7i9KT7XGIj9UPc9DzI6JfaZIhNaBiTRx6DPT9BTC9H2PLGY9Dln KgylB4YajKqGbcfIVCX7ea8KgNU6l+mp3oOP1+5NSJil2XFG3yZaisW4rMhV8dbJ73/w OnhDDp6NUZyATkuzV4x3mnHSiQELVzNokQT7UIOiSyRr01Echrq5VC4Lc2vlGZ3UHlKR 3OKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RBVbB9vWDMJLfuwUYZUrRPLV7w25shhYgWxxhrA4Z48=; b=VhaM0M6xWyDoPapQePdNcMKjTfT9zX6XLNEzNWrbBbgAU38W7+6bHneS/qoBSjVvUp EaczUGGdOR+GSXnyKmCP04Gr33gWc+ueR00CiLXNjQPxhYXw8+MJJKuZIFx0Ogg91VH0 jo38+m3ego2wflH4PaKWl/UHdbscHDdZwoiULKnO66Eb7zEVJx3GKYW++r/7aAk+ylQH t6smBNits4y4sScnA4tVp2DgEBIp0Xal9+5/I+Z3XjUUdfQJHr5C3C1hitq63R3jnRIO OZXus5/AZT8RzTo0ywqN39FtcWZbFdwsb6gJDdgpY564Fzy+7GwJtGUNEiyPuzS5UDYT nI5Q== X-Gm-Message-State: AOAM533bQz+FfZBsBPWOBK7PGUenlxNvJ28Mq9ZTeb2NNdtm4TPXPKjQ iaCqe4tHzKwD0ufwgH3pSo8= X-Google-Smtp-Source: ABdhPJyoyzm35sKhtbHbEgfcyRTMC6E0F0fB9LiKI1mNHER0VWEYotU23cMbHIBCAVjMsVva3cZv1A== X-Received: by 2002:adf:f491:: with SMTP id l17mr7747810wro.525.1639067771765; Thu, 09 Dec 2021 08:36:11 -0800 (PST) Received: from localhost ([193.209.96.43]) by smtp.gmail.com with ESMTPSA id v2sm250094wmc.36.2021.12.09.08.36.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 08:36:10 -0800 (PST) From: Thierry Reding To: Joerg Roedel , Will Deacon , Robin Murphy , Rob Herring Cc: Thierry Reding , Jon Hunter , iommu@lists.linux-foundation.org, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 3/4] iommu/arm-smmu: Support Tegra234 SMMU Date: Thu, 9 Dec 2021 17:35:59 +0100 Message-Id: <20211209163600.609613-3-thierry.reding@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211209163600.609613-1-thierry.reding@gmail.com> References: <20211209163600.609613-1-thierry.reding@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Thierry Reding Allow the NVIDIA-specific ARM SMMU implementation to bind to the SMMU instances found on Tegra234. Signed-off-by: Thierry Reding --- drivers/iommu/arm/arm-smmu/arm-smmu-impl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-impl.c b/drivers/iommu/arm/arm-smmu/arm-smmu-impl.c index 2c25cce38060..658f3cc83278 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-impl.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-impl.c @@ -211,7 +211,8 @@ struct arm_smmu_device *arm_smmu_impl_init(struct arm_smmu_device *smmu) if (of_property_read_bool(np, "calxeda,smmu-secure-config-access")) smmu->impl = &calxeda_impl; - if (of_device_is_compatible(np, "nvidia,tegra194-smmu") || + if (of_device_is_compatible(np, "nvidia,tegra234-smmu") || + of_device_is_compatible(np, "nvidia,tegra194-smmu") || of_device_is_compatible(np, "nvidia,tegra186-smmu")) return nvidia_smmu_impl_init(smmu); -- 2.34.1 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 101FDC43217 for ; Thu, 9 Dec 2021 16:38:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AISHyRaqE0K9GsfDBnBVxJqDTb83YC071FGtkQXju6Q=; b=XuUmxA7RAhdn6z Gn8BKrRIiIJyH76Xk1l3hFPLQ/8U8z9AZgNAXUBztbbkGf2EZR62HK0VLbsvR/czgVE6alu1Ugeu4 FTq0RUSdMHYWFRueOqRFp8R+tsgIvERAcaWdxJ5zbTiI0p4VaLRKBtFPhrwaGRrdqx2rsD98KPD0Q 9qxfa5By+qCNLSd90Ntb84TV9cklqMvmyv5ALkYItdjNl5u+nveaUzq9yK3kRQ4HDAFr+NCJEzzx8 2ZWTrQgIMY15S7Q0+hfWAyMKtdWeDRO5s7V81B398MqNzVUdp879Wc8osCBBZK76+YuSzv3L3ZUli UpkATfQALo1ntudUe6BQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvMPX-00GgzO-3D; Thu, 09 Dec 2021 16:36:47 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvMP0-00Ggo9-AH for linux-arm-kernel@lists.infradead.org; Thu, 09 Dec 2021 16:36:15 +0000 Received: by mail-wr1-x434.google.com with SMTP id q3so10693919wru.5 for ; Thu, 09 Dec 2021 08:36:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RBVbB9vWDMJLfuwUYZUrRPLV7w25shhYgWxxhrA4Z48=; b=DGTmwROcRMmvUsuy3YNzANsG6/H/eUb9VX0utTdtacM8z6GqwRXVbC16JeNePjBBHE O55Lqu5LqXYX+xVavU00nqw3JV3zVVvasfffLIOYCVbEYjBFW9sEf63e7WXDdodZoRYU VdG0oFsYnOuIc5CcB7i9KT7XGIj9UPc9DzI6JfaZIhNaBiTRx6DPT9BTC9H2PLGY9Dln KgylB4YajKqGbcfIVCX7ea8KgNU6l+mp3oOP1+5NSJil2XFG3yZaisW4rMhV8dbJ73/w OnhDDp6NUZyATkuzV4x3mnHSiQELVzNokQT7UIOiSyRr01Echrq5VC4Lc2vlGZ3UHlKR 3OKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RBVbB9vWDMJLfuwUYZUrRPLV7w25shhYgWxxhrA4Z48=; b=ygX/QhFJnMCEvp83Xis55DjxJfrn7IrBhK1Jasrz15blqbCei1AGHXTSL1/gA+8bul MRM8i8JbMUeXOV5+fZ89prdJt/+nLtKuJyH7RvfYm7b4AxT7Jh6f99Mdsrt1LzOeB8fz NH6fA/hiLN5zaH307NwZuF2DGY4JEMUOxovqi3mFDDwtx32MbmgcPluG9Qa+2Zxbl8fM feLOSIRi5tL4s/wZAetftz1JxX8/71PVxM4011WX4F7FvmxvtKp5nIXJymK8xPKIEjFc I/VASJRzazNA6+4mt3AJicfSi5SwODvDpeL+aU5IMkspo0JZSPqOeCCufpFHEX8Gh3tf xV/Q== X-Gm-Message-State: AOAM530VmtZnLMA3l00gvcaNrdRlMpBTL8LIbYNCaj22F+8Za0EsNFGp pdGyTjCQlcsDmb0gGjkHOD8= X-Google-Smtp-Source: ABdhPJyoyzm35sKhtbHbEgfcyRTMC6E0F0fB9LiKI1mNHER0VWEYotU23cMbHIBCAVjMsVva3cZv1A== X-Received: by 2002:adf:f491:: with SMTP id l17mr7747810wro.525.1639067771765; Thu, 09 Dec 2021 08:36:11 -0800 (PST) Received: from localhost ([193.209.96.43]) by smtp.gmail.com with ESMTPSA id v2sm250094wmc.36.2021.12.09.08.36.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 08:36:10 -0800 (PST) From: Thierry Reding To: Joerg Roedel , Will Deacon , Robin Murphy , Rob Herring Cc: Thierry Reding , Jon Hunter , iommu@lists.linux-foundation.org, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 3/4] iommu/arm-smmu: Support Tegra234 SMMU Date: Thu, 9 Dec 2021 17:35:59 +0100 Message-Id: <20211209163600.609613-3-thierry.reding@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211209163600.609613-1-thierry.reding@gmail.com> References: <20211209163600.609613-1-thierry.reding@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211209_083614_404428_9137D95D X-CRM114-Status: GOOD ( 11.02 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Thierry Reding Allow the NVIDIA-specific ARM SMMU implementation to bind to the SMMU instances found on Tegra234. Signed-off-by: Thierry Reding --- drivers/iommu/arm/arm-smmu/arm-smmu-impl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-impl.c b/drivers/iommu/arm/arm-smmu/arm-smmu-impl.c index 2c25cce38060..658f3cc83278 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-impl.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-impl.c @@ -211,7 +211,8 @@ struct arm_smmu_device *arm_smmu_impl_init(struct arm_smmu_device *smmu) if (of_property_read_bool(np, "calxeda,smmu-secure-config-access")) smmu->impl = &calxeda_impl; - if (of_device_is_compatible(np, "nvidia,tegra194-smmu") || + if (of_device_is_compatible(np, "nvidia,tegra234-smmu") || + of_device_is_compatible(np, "nvidia,tegra194-smmu") || of_device_is_compatible(np, "nvidia,tegra186-smmu")) return nvidia_smmu_impl_init(smmu); -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel