From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E179C4C95; Fri, 16 Sep 2022 11:57:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81E6AC43143; Fri, 16 Sep 2022 11:57:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663329458; bh=4mAe95msSQk1H+17nLH8cwEk5y1qk5VEu4IIy8UaDa8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=R6QPhiyg9IXbFuqFLDXgN+P1tpHp6w/wnaxSvuTy3k596sfMSPVyO5SIxdulHhQ6m lYtKfB/Cf5WDFmVsfOKhM8CcR9qNsz16L+9BxCvu4bOAGPgYhj+B3vQolsh58MhygI r1VBOyeDPwG9jbmPviGl0bPpu6ZKZvbpLI945/Um+8ZSU83ivWww5wmG4Se1x/SeqA TSZ6wtKQUBjN7ueYBxMqJdy2a/Hm2+EgY0J8X+CeTNqXlDc5Jt2cd8b6E3OqJB4fWa PPfWr5iLPngTKOgQ6mSPhN5Vj1ImY2vt3dPsD+p9brHvX6VGvexUUO/VECLn7ARPJm B3RIaFPKYhfEg== Received: by mail-vs1-f47.google.com with SMTP id q26so16958316vsr.7; Fri, 16 Sep 2022 04:57:38 -0700 (PDT) X-Gm-Message-State: ACrzQf3poWTm6+atQ4FaxiPpcCYaGEiaBWJkIKImjaM9j/naNzZjibEo xXrkYR+uRPGa1Gag6Dx3EMG8CAGxR0M0kKHKfQ== X-Google-Smtp-Source: AMsMyM5KW5eWL7Cqt5T0A2gzwu5JCELe579DpI/4acsgJ1Dh4ttemvDob7uKBCVevdtJkNDewsUUe9f+tsuuCBHwFRM= X-Received: by 2002:a67:c097:0:b0:390:d097:df91 with SMTP id x23-20020a67c097000000b00390d097df91mr1767890vsi.85.1663329457398; Fri, 16 Sep 2022 04:57:37 -0700 (PDT) Precedence: bulk X-Mailing-List: asahi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20220916094152.87137-1-j@jannau.net> <20220916094152.87137-4-j@jannau.net> In-Reply-To: <20220916094152.87137-4-j@jannau.net> From: Rob Herring Date: Fri, 16 Sep 2022 06:57:26 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 3/5] iommu/io-pgtable: Add DART subpage protection support To: Janne Grunau Cc: iommu@lists.linux.dev, Konrad Dybcio , asahi@lists.linux.dev, Sven Peter , Alyssa Rosenzweig , Hector Martin , Joerg Roedel , Will Deacon , Linux IOMMU , linux-arm-kernel , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" On Fri, Sep 16, 2022 at 4:43 AM Janne Grunau wrote: > > From: Sven Peter > > DART allows to only expose a subpage to the device. While this is an > optional feature on the M1 DARTs the new ones present on the Pro/Max > models require this field in every PTE. > > Signed-off-by: Sven Peter > Signed-off-by: Janne Grunau > > --- > > (no changes since v3) > > Changes in v3: > - apply change to io-pgtable-dart.c > > drivers/iommu/io-pgtable-dart.c | 8 ++++++++ > 1 file changed, 8 insertions(+) Reviewed-by: Rob Herring 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 0323EECAAD8 for ; Fri, 16 Sep 2022 11:58:47 +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:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=z5g94oeoNtzMGTfZktNgU7uoEXq8D0tga4w6xqG6fwQ=; b=PVlbHijnm9v9yi /cm/fgnvxxokr3Q0xEsguYi1oKR6VGu75e4cSuo184XqIc82xAMYDsx1xEVDjXHWcXykJ9L0hAWsW cnz4zxJWdL2gb7IcjwG4q/Xwe3l5yfNAtWAantdAbnR6sSPVLckuTIOPBnINTcEvc5kQXvTtzyVuS CoxkMLZCtA8psrvCYBaMH+gqmpc9KHcuSresR8++2VjilbM6dYmZAidSaQXr3WMu/QnPjlGxPgPeW lzQ50GspjpmoM4ISGOnQi/IIHXaITSGFeLDsyGbBt3lyAASdHOp0Liil3IDb43cuj/hfy4uUGP999 5kICrniEv2QQNyQnUokg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oZ9yZ-00CvmB-IB; Fri, 16 Sep 2022 11:57:43 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oZ9yX-00Cvif-3v for linux-arm-kernel@lists.infradead.org; Fri, 16 Sep 2022 11:57:42 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id BDB08B82676 for ; Fri, 16 Sep 2022 11:57:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C61AC433B5 for ; Fri, 16 Sep 2022 11:57:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663329458; bh=4mAe95msSQk1H+17nLH8cwEk5y1qk5VEu4IIy8UaDa8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=R6QPhiyg9IXbFuqFLDXgN+P1tpHp6w/wnaxSvuTy3k596sfMSPVyO5SIxdulHhQ6m lYtKfB/Cf5WDFmVsfOKhM8CcR9qNsz16L+9BxCvu4bOAGPgYhj+B3vQolsh58MhygI r1VBOyeDPwG9jbmPviGl0bPpu6ZKZvbpLI945/Um+8ZSU83ivWww5wmG4Se1x/SeqA TSZ6wtKQUBjN7ueYBxMqJdy2a/Hm2+EgY0J8X+CeTNqXlDc5Jt2cd8b6E3OqJB4fWa PPfWr5iLPngTKOgQ6mSPhN5Vj1ImY2vt3dPsD+p9brHvX6VGvexUUO/VECLn7ARPJm B3RIaFPKYhfEg== Received: by mail-vs1-f45.google.com with SMTP id m66so22411197vsm.12 for ; Fri, 16 Sep 2022 04:57:38 -0700 (PDT) X-Gm-Message-State: ACrzQf0+6tqtRUHB+2uiv3KiazTGn0lE3FXgiGWLlsrURFfj9O7qlVXx wOaHDb+aadHYUiDKj/W77m90pj/VU0FcwNiJeA== X-Google-Smtp-Source: AMsMyM5KW5eWL7Cqt5T0A2gzwu5JCELe579DpI/4acsgJ1Dh4ttemvDob7uKBCVevdtJkNDewsUUe9f+tsuuCBHwFRM= X-Received: by 2002:a67:c097:0:b0:390:d097:df91 with SMTP id x23-20020a67c097000000b00390d097df91mr1767890vsi.85.1663329457398; Fri, 16 Sep 2022 04:57:37 -0700 (PDT) MIME-Version: 1.0 References: <20220916094152.87137-1-j@jannau.net> <20220916094152.87137-4-j@jannau.net> In-Reply-To: <20220916094152.87137-4-j@jannau.net> From: Rob Herring Date: Fri, 16 Sep 2022 06:57:26 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 3/5] iommu/io-pgtable: Add DART subpage protection support To: Janne Grunau Cc: iommu@lists.linux.dev, Konrad Dybcio , asahi@lists.linux.dev, Sven Peter , Alyssa Rosenzweig , Hector Martin , Joerg Roedel , Will Deacon , Linux IOMMU , linux-arm-kernel , "linux-kernel@vger.kernel.org" X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220916_045741_329935_E000A00B X-CRM114-Status: GOOD ( 15.16 ) 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 Fri, Sep 16, 2022 at 4:43 AM Janne Grunau wrote: > > From: Sven Peter > > DART allows to only expose a subpage to the device. While this is an > optional feature on the M1 DARTs the new ones present on the Pro/Max > models require this field in every PTE. > > Signed-off-by: Sven Peter > Signed-off-by: Janne Grunau > > --- > > (no changes since v3) > > Changes in v3: > - apply change to io-pgtable-dart.c > > drivers/iommu/io-pgtable-dart.c | 8 ++++++++ > 1 file changed, 8 insertions(+) Reviewed-by: Rob Herring _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel