Message ID | 20230128111114.4049-1-sven@svenpeter.dev |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1293890wrn; Sat, 28 Jan 2023 03:15:01 -0800 (PST) X-Google-Smtp-Source: AMrXdXtRiIDREd7GjIZIu5Htq3r36JcUOO2GBS3WhbPO8ylpx2jpcHhXKP0aDsMbVYiJQ+cuBusi X-Received: by 2002:a05:6402:430c:b0:49e:50e:1553 with SMTP id m12-20020a056402430c00b0049e050e1553mr62755525edc.3.1674904501087; Sat, 28 Jan 2023 03:15:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674904501; cv=none; d=google.com; s=arc-20160816; b=J7OvESPCjflAeZKI8tQow9AAQFjJIRJMECeEv1EzOEGiKYemECZppAT6klpOsSxnX8 tw/3tWQkLtvCojQZygOFr/aMpC2hrOT3bma2HuD0/dOdKSsF/tJ4BjwJ4VCideAUu8Mp RADnkTkbEeeTSeex9swg2moaQYe+xVNmDkZYQXtgW3QKD34VHolf2fjWEFtmsFR4t2iB MX9QBfGA5BNtJIszmAXxnmmv89Muy/8PJzvwozK8W7Sbitohlq1X32VLBi209q9hou3l 8jVwU6TPkJh9egbrU4VzK3nNicudw3NJtvMmV0TKmhIdwJjr0oYqPLqM3iVtL+HTEl0C PXeA== 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:feedback-id:dkim-signature :dkim-signature; bh=xDomocLJf03dCkIOxFCLTmZfi+dECzZoANJhC04FOUg=; b=qmjCTrrHn9UFxW7ohnod2ZLukDz2P3RXnE/MEN6N+Ew0c2OUce6A3iGteZAG1bjugo KwBNVQFU42hAzC2FjSE06w14YmU4fG55VLFlAFC6x+yQpUSi9CJ9x9icr2mCZsI1m0wY SsUFfRwjcTnV9TlEBlgfDaYg502AbJkQ6+BQaU3nXeOhXHcXhfB8Vrd0hma28bkgtRP+ bnUkKsV6rc3tsOj7Jrz4AGgd8ugzgVar0V/w/4qCAeotEutrs39uWPoi+ipSlCx0HoHD kHCKvGh5OP3wagi4t47cQ5UtuK3/LqWIgig0OeQ/PjfJ2BQyLT/+q3IJeMF/WPdZ6ws4 KbRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@svenpeter.dev header.s=fm3 header.b="rDfp/wHu"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=cJzlVy+p; 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=NONE sp=NONE dis=NONE) header.from=svenpeter.dev Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t10-20020a50ab4a000000b004a1fe53d698si5447434edc.418.2023.01.28.03.14.37; Sat, 28 Jan 2023 03:15:01 -0800 (PST) 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=@svenpeter.dev header.s=fm3 header.b="rDfp/wHu"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=cJzlVy+p; 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=NONE sp=NONE dis=NONE) header.from=svenpeter.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233810AbjA1LLd (ORCPT <rfc822;jesperjuhl76@gmail.com> + 99 others); Sat, 28 Jan 2023 06:11:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231472AbjA1LLb (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 28 Jan 2023 06:11:31 -0500 Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D74D1EFC5; Sat, 28 Jan 2023 03:11:30 -0800 (PST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 2B136320077A; Sat, 28 Jan 2023 06:11:27 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sat, 28 Jan 2023 06:11:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svenpeter.dev; h=cc:cc:content-transfer-encoding:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm3; t=1674904286; x=1674990686; bh=xDomocLJf0 3dCkIOxFCLTmZfi+dECzZoANJhC04FOUg=; b=rDfp/wHubIgL8zdEbfERntzhyR yuGwH3l7OnTflO1d3w0ryGp7lMPWsIf7pPRART36FwCGDMe0PNDyLg2u8+SIl3i8 sM/xgJXYisu9q3U/c4LmvpexbpecBkdTgHpBoJmOfLD522J4tvGtI+mnL6dv6qYZ x3gH829HawFTW+ix7HJ6rV8Z6EVAlPxidyFMADkED3Or4DEvtCt8YjJOJqVcBSbp zrgn8uRetSxXKY/5rVbGecjVSfCBmpFHC+M9B4LoBZOzTnxENJxupWzvfeIlTNhV XKqlWg3OPCHt+sJ+S6fdupVIpMha/Jf2I52FLT1HFqCxQdASW9G6ehvoDmnw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1674904286; x=1674990686; bh=xDomocLJf03dCkIOxFCLTmZfi+dECzZoANJ hC04FOUg=; b=cJzlVy+puyryLt6DlT2axtUawKzi7sDeWqCg/AnkMDMwu+11XjL u7nyfZpTl09ilndUocKijBLGxVPLq3sPgezj9/zD6p+OkLvCxS4k34ST+F06WPBx SiFm7MCPHoOexsn2WBIvNosP5Hy6APSwDjOwwS+KC1eRlgROAz+Jlxm322iaPy28 Z60UEsD8/XtZP0DrE3IMeQ4vNaSZeHL0lxD1LTQ5xhsOavYEXCZrWXr/xFT+H66x wlFqXwm/7FakIWq+pz0JGmihm70eYvK1jS4fAJyLq/NsOg39sM4J1sB2cPGjtPf2 pT8zXUjGUwft5xobNLJjCfcYwc89b8TgEMA== X-ME-Sender: <xms:3QLVY1HZOl3F4BxUGSU2xHKzHgD53OKvjyWgWMnWHnRuTmb9IFikxw> <xme:3QLVY6Vp723A04WZKcfd5_d7_5N3CbFJcRkPACSycaUDzkQXoA_47HPY2QDTvUz8H IVkIo68jC6vda5nsGk> X-ME-Received: <xmr:3QLVY3KRVllc4SUsb_B6k37V7VuRMIcfzMiU7ZfMJ88aYR69L5Hla7lI9JCU6_xHTF7srxE4cm7HuGhKuoO4chEyO5xBtofqLTGQOhE6C29UbC5_EGswDhzANjCHzQ> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedruddvkedgvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepufhvvghnucfr vghtvghruceoshhvvghnsehsvhgvnhhpvghtvghrrdguvghvqeenucggtffrrghtthgvrh hnpeeludffieehueevtdffvedtueelleejuddugfettdevhfefffdvgffhjeehgfelleen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsvhgvnh esshhvvghnphgvthgvrhdruggvvh X-ME-Proxy: <xmx:3QLVY7HFgwbJXAXQ5RkdnoBIAGFGsLvwEPHO8gYS6SaE_Fk3JChu3g> <xmx:3QLVY7X2JyNQT6N14U-b4cRTKmRqonhj8i-yhcIQ62DkYku42cRU1w> <xmx:3QLVY2NFbcWOxlj8ckUHzo9WYMStv_5UNPk6p13lMitCWFgzwfrJug> <xmx:3gLVY-N2u8rV0ZRTmlryWJGpg41MQ8oHS3Dr7o1iXZvgj1f6WXICEA> Feedback-ID: i51094778:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 28 Jan 2023 06:11:23 -0500 (EST) From: Sven Peter <sven@svenpeter.dev> To: Hector Martin <marcan@marcan.st>, Sven Peter <sven@svenpeter.dev> Cc: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Alyssa Rosenzweig <alyssa@rosenzweig.io>, Joerg Roedel <joro@8bytes.org>, Will Deacon <will@kernel.org>, Robin Murphy <robin.murphy@arm.com>, linux-arm-kernel@lists.infradead.org, asahi@lists.linux.dev, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] Apple M1 USB4/Thunderbolt DART support Date: Sat, 28 Jan 2023 12:11:10 +0100 Message-Id: <20230128111114.4049-1-sven@svenpeter.dev> X-Mailer: git-send-email 2.30.1 (Apple Git-130) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756264662263434606?= X-GMAIL-MSGID: =?utf-8?q?1756264662263434606?= |
Series | Apple M1 USB4/Thunderbolt DART support | |
Message
Sven Peter
Jan. 28, 2023, 11:11 a.m. UTC
Hi, The M1 SoCs have a second slightly different variant of the regular DART used for the USB4 PCIe ports. It supports 64 instead of 16 streams which requires a minor change to the MMIO layout. There seems to be no way to tell them apart from the regular DARTs by just looking at the DART_PARAMs register so we have to add a new compatible for those. Best, Sven Sven Peter (4): dt-bindings: iommu: dart: Add t8103-usb4-dart compatible iommu: dart: Add flag to override bypass support iommu: dart: Write to all DART_T8020_STREAM_SELECT iommu: dart: Add support for t8103 USB4 DART .../devicetree/bindings/iommu/apple,dart.yaml | 1 + drivers/iommu/apple-dart.c | 42 ++++++++++++++++++- 2 files changed, 41 insertions(+), 2 deletions(-)