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 58521C433EF for ; Sat, 2 Apr 2022 12:58:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354827AbiDBNAW (ORCPT ); Sat, 2 Apr 2022 09:00:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349733AbiDBNAR (ORCPT ); Sat, 2 Apr 2022 09:00:17 -0400 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECF86E93; Sat, 2 Apr 2022 05:58:23 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 5F01D5C0143; Sat, 2 Apr 2022 08:58:23 -0400 (EDT) Received: from imap47 ([10.202.2.97]) by compute2.internal (MEProxy); Sat, 02 Apr 2022 08:58:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svenpeter.dev; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; bh=e72bX3p4b48wpbYJ/u6Hs+Uz3FIweL zhnqtPOQPMPjM=; b=SJwtH7IQ/BxZxuwom9tizbP2N+RQW8uL17YE5OF//JiVVe cLilGzTSKohekRmUXFU7VltAHtTqKkz8im8q3zbV84T9C3rRJmWoNYbCXaEoen4a fnimMZXOFjcNTwZXn9lOaMSPGAfOYpCZYRYd5eHIbDRvLUgfr7GBHaQ/vvMTgASj 0CliNzPO/ASRsjOkKgVxgR4zp3rlUKVmSJbW2nZu3d8YQFqpZyrarYwn5CRfx6Vc WbFiI4WX3yKNfFv42LIHwUGymAeSTmIl8R2beeqUhEOVoj2N2W0N8HpyWhUeH1Cg Vfe1PdCMDiwlK53Yd3cPTNUT8ZDSs3FkLlsSFaTg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=e72bX3p4b48wpbYJ/ u6Hs+Uz3FIweLzhnqtPOQPMPjM=; b=k8hPoDsiwXAQxi3pWhyRQKJznH3xEShQZ IYwqTWouxkaiOeQ3ChYl8nP7gse1DKbNsPbHB58UuZXvX2A8ucrc9nPPCr5Bl62U fJLcnqNutSRDtEZT5DgFBmMULg94wAzIRGybaq6U4LvTKmbuo+xAwWHsys5EbffY GKrVZPTMURcJwqsXQ0S9FY/OKawTIovSdfV4NCT1yCZ15vgfsRBqGaTG//BFXKOW 6Fngvo0HVyLCWI0goaBd2NClyho2p0nkl3e0JepihUOqgIOJa3CJMfxhy7VILHSQ M188UTqKwN6/E4s2cVc0IN64t9dkWplYohDeaV8ScgvKqwIYVNSkw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeikedgheelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdfuvhgv nhcurfgvthgvrhdfuceoshhvvghnsehsvhgvnhhpvghtvghrrdguvghvqeenucggtffrrg htthgvrhhnpefgieegieffuefhtedtjefgteejteefleefgfefgfdvvddtgffhffduhedv feekffenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsvhgvnhesshhvvghnphgvthgvrhdruggvvh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 2514527402C7; Sat, 2 Apr 2022 08:58:23 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-382-g88b93171a9-fm-20220330.001-g88b93171 Mime-Version: 1.0 Message-Id: <076879ce-242e-4c24-9052-003de63d3f63@www.fastmail.com> In-Reply-To: References: <20220321165049.35985-1-sven@svenpeter.dev> <20220321165049.35985-2-sven@svenpeter.dev> Date: Sat, 02 Apr 2022 14:58:01 +0200 From: "Sven Peter" To: "Rob Herring" Cc: "Hector Martin" , "Alyssa Rosenzweig" , "Arnd Bergmann" , "Keith Busch" , "axboe@fb.com" , "hch@lst.de" , "sagi@grimberg.me" , "Marc Zyngier" , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org Subject: Re: [PATCH 1/9] dt-bindings: soc: apple: Add Apple SART Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 31, 2022, at 23:23, Rob Herring wrote: > On Mon, Mar 21, 2022 at 05:50:41PM +0100, Sven Peter wrote: >> Apple SoCs such as the M1 come with a simple DMA address filter called >> SART. Unlike a real IOMMU no pagetables can be configured but instead >> DMA transactions can be allowed for up to 16 paddr regions. >> >> Signed-off-by: Sven Peter >> --- >> .../bindings/soc/apple/apple,sart.yaml | 52 +++++++++++++++++++ > > Close enough to an IOMMU in terms of its purpose, so put in > bindings/iommu/ Ok, will put it there. I guess I can also use iommu for the node name then, e.g. iommu@7bc50000 { compatible = "apple,t8103-sart"; reg = <0x7bc50000 0x4000>; }; Thanks, Sven 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 EA236C433EF for ; Sat, 2 Apr 2022 12:59:35 +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:Subject:Cc:To:From:Date:References: In-Reply-To:Message-Id:Mime-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IlqAV3XjQxbqxIO9zYHL7UhMh3hwzVNi2VKzh/Z9I4s=; b=RBNF+FxMPa89gN KSZJ75036gvhGUwWUpECzA4X6WHVOM9+8JpZ6u/MOS5niz9tyx39WsX5XnRDppiw5+h9lsQ4vCe+x rvRaIPW+9hcnnrsbEe04LL1usxmfDkn/oY/LuicLRn5kvBhkNZn/7EU8qF6/GNC7mPUSTroymAk/k 6cS0CcQCAQSSctfUg18fWLF0CxNZw3lGIk/FOzbGhB2X+MU0eHF2VyhuXjJ7//g3aB8P2C9oXHWLA woN5ZJXgC7pweMK05GDZGU2ihmHUApw4vg05wCDnjb9wVHXDDCn8Rc/q3x+tJmBAbUS5r8K/JWmzO uZ4ZFyTwPMRmj4581ZHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nadKl-008nMf-4L; Sat, 02 Apr 2022 12:58:27 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nadKi-008nL8-1F; Sat, 02 Apr 2022 12:58:25 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 5F01D5C0143; Sat, 2 Apr 2022 08:58:23 -0400 (EDT) Received: from imap47 ([10.202.2.97]) by compute2.internal (MEProxy); Sat, 02 Apr 2022 08:58:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svenpeter.dev; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; bh=e72bX3p4b48wpbYJ/u6Hs+Uz3FIweL zhnqtPOQPMPjM=; b=SJwtH7IQ/BxZxuwom9tizbP2N+RQW8uL17YE5OF//JiVVe cLilGzTSKohekRmUXFU7VltAHtTqKkz8im8q3zbV84T9C3rRJmWoNYbCXaEoen4a fnimMZXOFjcNTwZXn9lOaMSPGAfOYpCZYRYd5eHIbDRvLUgfr7GBHaQ/vvMTgASj 0CliNzPO/ASRsjOkKgVxgR4zp3rlUKVmSJbW2nZu3d8YQFqpZyrarYwn5CRfx6Vc WbFiI4WX3yKNfFv42LIHwUGymAeSTmIl8R2beeqUhEOVoj2N2W0N8HpyWhUeH1Cg Vfe1PdCMDiwlK53Yd3cPTNUT8ZDSs3FkLlsSFaTg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=e72bX3p4b48wpbYJ/ u6Hs+Uz3FIweLzhnqtPOQPMPjM=; b=k8hPoDsiwXAQxi3pWhyRQKJznH3xEShQZ IYwqTWouxkaiOeQ3ChYl8nP7gse1DKbNsPbHB58UuZXvX2A8ucrc9nPPCr5Bl62U fJLcnqNutSRDtEZT5DgFBmMULg94wAzIRGybaq6U4LvTKmbuo+xAwWHsys5EbffY GKrVZPTMURcJwqsXQ0S9FY/OKawTIovSdfV4NCT1yCZ15vgfsRBqGaTG//BFXKOW 6Fngvo0HVyLCWI0goaBd2NClyho2p0nkl3e0JepihUOqgIOJa3CJMfxhy7VILHSQ M188UTqKwN6/E4s2cVc0IN64t9dkWplYohDeaV8ScgvKqwIYVNSkw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeikedgheelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdfuvhgv nhcurfgvthgvrhdfuceoshhvvghnsehsvhgvnhhpvghtvghrrdguvghvqeenucggtffrrg htthgvrhhnpefgieegieffuefhtedtjefgteejteefleefgfefgfdvvddtgffhffduhedv feekffenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsvhgvnhesshhvvghnphgvthgvrhdruggvvh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 2514527402C7; Sat, 2 Apr 2022 08:58:23 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-382-g88b93171a9-fm-20220330.001-g88b93171 Mime-Version: 1.0 Message-Id: <076879ce-242e-4c24-9052-003de63d3f63@www.fastmail.com> In-Reply-To: References: <20220321165049.35985-1-sven@svenpeter.dev> <20220321165049.35985-2-sven@svenpeter.dev> Date: Sat, 02 Apr 2022 14:58:01 +0200 From: "Sven Peter" To: "Rob Herring" Cc: "Hector Martin" , "Alyssa Rosenzweig" , "Arnd Bergmann" , "Keith Busch" , "axboe@fb.com" , "hch@lst.de" , "sagi@grimberg.me" , "Marc Zyngier" , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org Subject: Re: [PATCH 1/9] dt-bindings: soc: apple: Add Apple SART X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220402_055824_197109_F889B9B4 X-CRM114-Status: UNSURE ( 8.47 ) X-CRM114-Notice: Please train this message. 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 On Thu, Mar 31, 2022, at 23:23, Rob Herring wrote: > On Mon, Mar 21, 2022 at 05:50:41PM +0100, Sven Peter wrote: >> Apple SoCs such as the M1 come with a simple DMA address filter called >> SART. Unlike a real IOMMU no pagetables can be configured but instead >> DMA transactions can be allowed for up to 16 paddr regions. >> >> Signed-off-by: Sven Peter >> --- >> .../bindings/soc/apple/apple,sart.yaml | 52 +++++++++++++++++++ > > Close enough to an IOMMU in terms of its purpose, so put in > bindings/iommu/ Ok, will put it there. I guess I can also use iommu for the node name then, e.g. iommu@7bc50000 { compatible = "apple,t8103-sart"; reg = <0x7bc50000 0x4000>; }; Thanks, Sven _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel