From patchwork Fri Nov 12 13:12:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 12692396 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B8B23C433EF for ; Fri, 12 Nov 2021 13:21:20 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 77BE161073 for ; Fri, 12 Nov 2021 13:21:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 77BE161073 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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: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:In-Reply-To:References: List-Owner; bh=shfw9pE9+V9/rLlfs1WNCumPgUJKrZApEauAPhaU8Ew=; b=KBH4gfPSE8jRBT gA/51EVe41kLlBZVLQMJCcgxpFMNJX5HEw1G9t7tipbneBG5+PRVspHG/yKRAlEW6t3VANki4B+8Y lI9NOvSgmRyyzuQNHHU6wZmhqqUg0W9dx+0S3Myv75rdePtFTe0SnQEGR7CGpEWy8RVaJ6EJ//0do xmuavxQBKmKcGEKsoap67q29SwXMWCNu3/RnCzGF8G1zH2xgs1UM8AkbAFMuAzhQCFknUiYsLHDzV z+8nnndJb5AWbiDWp5N2m5xWjZYUwyy5lEfatwsvtcyV6QirNB4EBwbDgmaM2+irpzceKBWk2Expk chlvBlnvH5f8QjDpQRCw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlWRz-00AVhB-KY; Fri, 12 Nov 2021 13:18:41 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlWM8-00AUUI-Al for linux-arm-kernel@lists.infradead.org; Fri, 12 Nov 2021 13:12:38 +0000 Received: by mail-wr1-x431.google.com with SMTP id r8so15382456wra.7 for ; Fri, 12 Nov 2021 05:12:35 -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:mime-version :content-transfer-encoding; bh=lOXgQ6ktc8t7YW2KaSJg/CD93KvU0bXVPXTF0jzPmMs=; b=NvxzqCUeCZ5iPoTGUrMVjh7VAATIcw3u8jGFAEbIaHD7LjT5zbJrXUiQUP9shDauJb DBHOI0Jsj9c7ZJllTMYN+mqeAMD/GCUGe/EbaTM2GTBoDxz6NOAj63zf21X8hAaHdPIv PhJBchPhEJYsKCBLp+s95bc5AlVAHK+5c89TtTBqpCe9KqqcYvaY39J0pR8l4GCYfkaB eKutFnUBhem+njgeg+vbpm201kGb0mU02i6fJjs55c0F8pXG8/HVALIEO1EvY88ijhBG 6Wwh3c89nIK8Efl9DA1/vBgGfExILB6bYDay5Nx4CaiZdvI5ojzLSwGXJSZyErdofSJG LNZA== 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:mime-version :content-transfer-encoding; bh=lOXgQ6ktc8t7YW2KaSJg/CD93KvU0bXVPXTF0jzPmMs=; b=adNO0gMmr6qDIdy2ma3uuT/IuZW5RIahtrMLWGzU64wSmCzntnbyj3h14Zn8aY8PJb SZmvsUv9nqk9uoFGSC8/fg9mtnXBGLLFX3lVpr8b7X5rFswRlKTQYdpLGetE9EBEe42D bgobv23y20UJnfEhUf2fmdDKsy1Eg9LqV9Wmh1jPuTqISWT8wiKIRPgQPVwLQ5JTCTps 5aGgY7hszdmgGIXMLfQSZf/of051zYbZESVFAvrP7V8XCVFykFLyYxy433/tEmnefDZ7 EjZk5qxJXGSSgoVWONPerOsFDItoJIrCb8O4tBc5BJlLMM/npGztxnNAdLfTxkxqKgjo PelQ== X-Gm-Message-State: AOAM533IpiZ4hBpwCh230iRF3/m/Fn1qtldTBtA0DTPcxmvg1ZIpGdtB nMVOtTjC2m/HoCFA3deXXDI= X-Google-Smtp-Source: ABdhPJxEbMw5IZlLgUPFVnT64GbiW/9O2P51nkpn3Nvbl3xrpdCPT7WjQQYNaJzV8+d1p4kefJ24UA== X-Received: by 2002:adf:f7c2:: with SMTP id a2mr7832761wrq.71.1636722754530; Fri, 12 Nov 2021 05:12:34 -0800 (PST) Received: from localhost ([193.209.96.43]) by smtp.gmail.com with ESMTPSA id c17sm6040514wmk.23.2021.11.12.05.12.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Nov 2021 05:12:33 -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 0/4] iommu/arm-smmu: Support Tegra234 SMMU Date: Fri, 12 Nov 2021 14:12:27 +0100 Message-Id: <20211112131231.3683098-1-thierry.reding@gmail.com> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211112_051236_436300_F62BB9C6 X-CRM114-Status: GOOD ( 14.77 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Thierry Reding Hi, this series of patches adds and enables support for the ARM SMMU instances found on the new Tegra234 SoC. This is mostly similar to what can be found on Tegra194 except that there are a few more instances to meet increased bandwidth needs. In addition to adding support for the new Tegra234 compatible string, this also adds a missing description for the nvidia,memory-controller property to the ARM SMMU device tree binding. I plan on picking up patch 4 into the Tegra tree because it has a dependency (for the stream ID definitions) on a separate patch series for the memory controller that I sent out earlier. Thanks, Thierry Thierry Reding (4): dt-bindings: arm-smmu: Document nvidia,memory-controller property dt-bindings: arm-smmu: Add compatible for Tegra234 SOC iommu/arm-smmu: Support Tegra234 SMMU arm64: tegra: Add Tegra234 IOMMUs .../devicetree/bindings/iommu/arm,smmu.yaml | 13 +- arch/arm64/boot/dts/nvidia/tegra234.dtsi | 426 ++++++++++++++++++ drivers/iommu/arm/arm-smmu/arm-smmu-impl.c | 3 +- 3 files changed, 440 insertions(+), 2 deletions(-) Acked-by: Robin Murphy