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 0EC33C4332F for ; Wed, 4 Jan 2023 11:02:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233383AbjADLC3 (ORCPT ); Wed, 4 Jan 2023 06:02:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234940AbjADLCN (ORCPT ); Wed, 4 Jan 2023 06:02:13 -0500 Received: from mail.marcansoft.com (marcansoft.com [212.63.210.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD78013CFC; Wed, 4 Jan 2023 03:01:43 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sendonly@marcansoft.com) by mail.marcansoft.com (Postfix) with ESMTPSA id 4365941DF4; Wed, 4 Jan 2023 11:01:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=marcan.st; s=default; t=1672830102; bh=g7nUA2ypvc1Zay8J+5szjWXvFzadUoopE1ZxgZRaixY=; h=From:To:Cc:Subject:Date; b=SUbRwVaI8Jj/dp61tMcU9Dj4JGwB7DpZjsOmKST3J0lgzG3eIYsoEBY81cev6g5Rw XCerjQyyAe0KMZujuXypSvG7OHY2o+6GuJ4xbFWliOuNMFJ3typMuWvwDUmlCpvlDR RYN7quLsVUBH7kXSerrDxYwY3JoymyBmV3TjY6MWeYbQ9LZxymbIwMwA3ULJTNEyMl M8AiEchCWD47JB9CAqJYb+0j3xKgX5y7FdW4NvD7G7TnBNZG6oKJgj1KMpb6u/lXHN 4GcOKk3NuUitTuOW6TwmUazPvA3MFKBgjyoB2XjCQ5QwfOzNCQ9Hm56mD9+c/Vsgeg vFLPLYqxeShyA== From: Hector Martin To: Joerg Roedel , Will Deacon , Robin Murphy Cc: Sven Peter , Alyssa Rosenzweig , Janne Grunau , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, iommu@lists.linux.dev, asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Hector Martin Subject: [PATCH 0/7] iommu: dart: Apple t8110 DART support Date: Wed, 4 Jan 2023 20:00:06 +0900 Message-Id: <20230104110013.24738-1-marcan@marcan.st> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi all, This series adds support for the T8110 DARTs used for the Thunderbolt controllers on T600x SoCs and everywhere on T8112 SoCs. This new DART revision shuffles the registers around and removes support for multiple TTBR registers per SID (which never made sense on 16K configurations), but otherwise works much like the existing DART hardware. The pagetable format is the same as t600x, so no changes are needed there. Once reviewed, I'd like to merge patch #1 through the Asahi-SoC tree so we can start using it in device trees right away, instead of waiting for one release cycle. Patches #2 onwards should go through the IOMMU tree. Hector Martin (7): dt-bindings: iommu: dart: add t8110 compatible iommu: dart: Add suspend/resume support iommu: dart: Support >64 stream IDs iommu: dart: Support a variable number of TTBRs per stream iommu: dart: Fix DART_PARAMS1/2 bit define names iommu: dart: Support different variants with different registers iommu: dart: Add t8110 DART support .../devicetree/bindings/iommu/apple,dart.yaml | 1 + drivers/iommu/apple-dart.c | 559 ++++++++++++++---- 2 files changed, 450 insertions(+), 110 deletions(-) -- 2.35.1