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 X-Spam-Level: X-Spam-Status: No, score=-16.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A15D6C49361 for ; Fri, 18 Jun 2021 19:48:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8ABCA613C2 for ; Fri, 18 Jun 2021 19:48:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232083AbhFRTuV (ORCPT ); Fri, 18 Jun 2021 15:50:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:41606 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbhFRTuV (ORCPT ); Fri, 18 Jun 2021 15:50:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C5D4F61284 for ; Fri, 18 Jun 2021 19:48:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624045691; bh=qkc2MGqHvyVub+dZlUlMfi1Ge8BQxPm0xrrh4ob2XuQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=UvBXGpsCp4GW2OXicEqRgt1naVvarBwoMXPrd0uoEna1yVXUvQvJYhNXWIkPuyC50 /nsrsENo9dEmMXiyhQa+Ru7REIc760yyNX39bjmShonUWwfaH/SSa+21d9sRs+d3id +83vyUUHNWVG8Y50m8vEQw07K0Q67hUkx1PK/g5pEidQngjffg15xBJ1Ik/mQGEUs7 4V9d2FrvdrEL7Pby7/QAF5MqPq8ATPDrMnPVzr65EyTH96vTM8DDrbRmq3ugwkceKB hFNNw4dhCX7WcXu862CNnHK0lQbopHAYIFAjQKDacAZpF3MKmU5xF984C3svs7Nzpy zmcHRmXvyDE4w== Received: by mail-ed1-f48.google.com with SMTP id h17so182187edw.11 for ; Fri, 18 Jun 2021 12:48:11 -0700 (PDT) X-Gm-Message-State: AOAM5315pe+35cqcc5O+O6F51pqGbK6fxdI/d3wHLX146S/Qxtc94lHl rQxf+oVPbfrSPwUqW+1LhZMEM0cW44hrtsLHng== X-Google-Smtp-Source: ABdhPJw1eLcJOIk68SqoUPZvUGfPSxyK19pxr4bmx3ZN67yWYW4HyzECYtMFKa8UGYfyjdFuPr6pihmA0/bbVI3Vg40= X-Received: by 2002:aa7:cac9:: with SMTP id l9mr7102053edt.373.1624045690409; Fri, 18 Jun 2021 12:48:10 -0700 (PDT) MIME-Version: 1.0 References: <20210603164632.1000458-1-thierry.reding@gmail.com> <20210603164632.1000458-3-thierry.reding@gmail.com> In-Reply-To: <20210603164632.1000458-3-thierry.reding@gmail.com> From: Rob Herring Date: Fri, 18 Jun 2021 13:47:59 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 2/9] dt-bindings: arm-smmu: Add Tegra186 compatible string To: Thierry Reding , Will Deacon Cc: Krzysztof Kozlowski , Joerg Roedel , Linux IOMMU , Jon Hunter , Nicolin Chen , linux-tegra , Robin Murphy , linux-arm-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org On Thu, Jun 3, 2021 at 10:49 AM Thierry Reding wrote: > > From: Thierry Reding > > The ARM SMMU instantiations found on Tegra186 and later need inter- > operation with the memory controller in order to correctly program > stream ID overrides. > > Furthermore, on Tegra194 multiple instances of the SMMU can gang up > to achieve higher throughput. In order to do this, they have to be > programmed identically so that the memory controller can interleave > memory accesses between them. > > Add the Tegra186 compatible string to make sure the interoperation > with the memory controller can be enabled on that SoC generation. > > Signed-off-by: Thierry Reding > --- > Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > index 9d27aa5111d4..1181b590db71 100644 > --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > @@ -54,8 +54,14 @@ properties: > - const: arm,mmu-500 > - description: NVIDIA SoCs that program two ARM MMU-500s identically > items: > + - description: NVIDIA SoCs that require memory controller interaction This is not valid jsonschema: /builds/robherring/linux-dt/Documentation/devicetree/bindings/iommu/arm,smmu.yaml: properties:compatible:oneOf:4:items: 'anyOf' conditional failed, one must be fixed: None is not of type 'object', 'boolean' None is not of type 'array' from schema $id: http://json-schema.org/draft-07/schema# /builds/robherring/linux-dt/Documentation/devicetree/bindings/iommu/arm,smmu.yaml: properties:compatible:oneOf:4:items: 'oneOf' conditional failed, one must be fixed: None is not of type 'object' None is not of type 'array' from schema $id: http://devicetree.org/meta-schemas/keywords.yaml# /builds/robherring/linux-dt/Documentation/devicetree/bindings/iommu/arm,smmu.yaml: properties:compatible:oneOf:4:items: 'oneOf' conditional failed, one must be fixed: None is not of type 'object' None is not of type 'array' from schema $id: http://devicetree.org/meta-schemas/string-array.yaml# /builds/robherring/linux-dt/Documentation/devicetree/bindings/iommu/arm,smmu.yaml: properties:compatible:oneOf:5:items: 'oneOf' conditional failed, one must be fixed: [{'enum': [{'const': 'nvidia,tegra194-smmu'}, {'const': 'nvidia,tegra186-smmu'}]}, {'const': 'nvidia,smmu-500'}] is not of type 'object' {'const': 'nvidia,tegra194-smmu'} is not of type 'string' {'const': 'nvidia,tegra186-smmu'} is not of type 'string' from schema $id: http://devicetree.org/meta-schemas/string-array.yaml# This was not reviewed nor tested since the DT list was not Cc'ed. Rob 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 X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95117C48BDF for ; Fri, 18 Jun 2021 19:48:16 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.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 296786128C for ; Fri, 18 Jun 2021 19:48:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 296786128C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id DEB5B4011B; Fri, 18 Jun 2021 19:48:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jf9PSF54Oc0z; Fri, 18 Jun 2021 19:48:15 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp2.osuosl.org (Postfix) with ESMTPS id BAC48400C0; Fri, 18 Jun 2021 19:48:14 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 8F4A5C000D; Fri, 18 Jun 2021 19:48:14 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 0D1C4C000B for ; Fri, 18 Jun 2021 19:48:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id D9CFE605CE for ; Fri, 18 Jun 2021 19:48:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SFr3cf4DQyRv for ; Fri, 18 Jun 2021 19:48:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp3.osuosl.org (Postfix) with ESMTPS id 5FD93605D9 for ; Fri, 18 Jun 2021 19:48:12 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id CF7F4613D1 for ; Fri, 18 Jun 2021 19:48:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624045691; bh=qkc2MGqHvyVub+dZlUlMfi1Ge8BQxPm0xrrh4ob2XuQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=UvBXGpsCp4GW2OXicEqRgt1naVvarBwoMXPrd0uoEna1yVXUvQvJYhNXWIkPuyC50 /nsrsENo9dEmMXiyhQa+Ru7REIc760yyNX39bjmShonUWwfaH/SSa+21d9sRs+d3id +83vyUUHNWVG8Y50m8vEQw07K0Q67hUkx1PK/g5pEidQngjffg15xBJ1Ik/mQGEUs7 4V9d2FrvdrEL7Pby7/QAF5MqPq8ATPDrMnPVzr65EyTH96vTM8DDrbRmq3ugwkceKB hFNNw4dhCX7WcXu862CNnHK0lQbopHAYIFAjQKDacAZpF3MKmU5xF984C3svs7Nzpy zmcHRmXvyDE4w== Received: by mail-ed1-f54.google.com with SMTP id t7so10101299edd.5 for ; Fri, 18 Jun 2021 12:48:11 -0700 (PDT) X-Gm-Message-State: AOAM530N8MctjFyPzZx4neiXqZwWg3RvgqvS/Q84IkwOUubjNRuf7Hov hEC28p6EaHd8C6C9JKZpNa/XpOx+isTuqrk+Rg== X-Google-Smtp-Source: ABdhPJw1eLcJOIk68SqoUPZvUGfPSxyK19pxr4bmx3ZN67yWYW4HyzECYtMFKa8UGYfyjdFuPr6pihmA0/bbVI3Vg40= X-Received: by 2002:aa7:cac9:: with SMTP id l9mr7102053edt.373.1624045690409; Fri, 18 Jun 2021 12:48:10 -0700 (PDT) MIME-Version: 1.0 References: <20210603164632.1000458-1-thierry.reding@gmail.com> <20210603164632.1000458-3-thierry.reding@gmail.com> In-Reply-To: <20210603164632.1000458-3-thierry.reding@gmail.com> From: Rob Herring Date: Fri, 18 Jun 2021 13:47:59 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 2/9] dt-bindings: arm-smmu: Add Tegra186 compatible string To: Thierry Reding , Will Deacon Cc: Krzysztof Kozlowski , Jon Hunter , Linux IOMMU , Nicolin Chen , linux-tegra , Robin Murphy , linux-arm-kernel X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" On Thu, Jun 3, 2021 at 10:49 AM Thierry Reding wrote: > > From: Thierry Reding > > The ARM SMMU instantiations found on Tegra186 and later need inter- > operation with the memory controller in order to correctly program > stream ID overrides. > > Furthermore, on Tegra194 multiple instances of the SMMU can gang up > to achieve higher throughput. In order to do this, they have to be > programmed identically so that the memory controller can interleave > memory accesses between them. > > Add the Tegra186 compatible string to make sure the interoperation > with the memory controller can be enabled on that SoC generation. > > Signed-off-by: Thierry Reding > --- > Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > index 9d27aa5111d4..1181b590db71 100644 > --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > @@ -54,8 +54,14 @@ properties: > - const: arm,mmu-500 > - description: NVIDIA SoCs that program two ARM MMU-500s identically > items: > + - description: NVIDIA SoCs that require memory controller interaction This is not valid jsonschema: /builds/robherring/linux-dt/Documentation/devicetree/bindings/iommu/arm,smmu.yaml: properties:compatible:oneOf:4:items: 'anyOf' conditional failed, one must be fixed: None is not of type 'object', 'boolean' None is not of type 'array' from schema $id: http://json-schema.org/draft-07/schema# /builds/robherring/linux-dt/Documentation/devicetree/bindings/iommu/arm,smmu.yaml: properties:compatible:oneOf:4:items: 'oneOf' conditional failed, one must be fixed: None is not of type 'object' None is not of type 'array' from schema $id: http://devicetree.org/meta-schemas/keywords.yaml# /builds/robherring/linux-dt/Documentation/devicetree/bindings/iommu/arm,smmu.yaml: properties:compatible:oneOf:4:items: 'oneOf' conditional failed, one must be fixed: None is not of type 'object' None is not of type 'array' from schema $id: http://devicetree.org/meta-schemas/string-array.yaml# /builds/robherring/linux-dt/Documentation/devicetree/bindings/iommu/arm,smmu.yaml: properties:compatible:oneOf:5:items: 'oneOf' conditional failed, one must be fixed: [{'enum': [{'const': 'nvidia,tegra194-smmu'}, {'const': 'nvidia,tegra186-smmu'}]}, {'const': 'nvidia,smmu-500'}] is not of type 'object' {'const': 'nvidia,tegra194-smmu'} is not of type 'string' {'const': 'nvidia,tegra186-smmu'} is not of type 'string' from schema $id: http://devicetree.org/meta-schemas/string-array.yaml# This was not reviewed nor tested since the DT list was not Cc'ed. Rob _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu 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 X-Spam-Level: X-Spam-Status: No, score=-14.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90535C48BDF for ; Fri, 18 Jun 2021 19:50:01 +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 5822B61284 for ; Fri, 18 Jun 2021 19:50:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5822B61284 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@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: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=5oKTAoUAMp1GcnPXks0N/Dj+ef8wHgDxFSI4k27YaKU=; b=JjyIwMnMAuCg8D lBubWZyvBkYePLAbXWgkROOZhxdrNN4INIdFVHaEbG5S7vHKvYrIl3B+p4Bzcli4xdNb3X3NkDxpr bJkdpmKh9z9/jLKxhhWUd+vfqlsXboiL9O71Khik1qzM+/7fECUCJBmsHJuTqhJrJ6th3tfFqlQlz 8Mkb5gzseaR+O/le/V6UDCCmXi6fJiIlHsbr9N5HMjhkEnT2C6MF/Ogj6JvqKPDv40lFHab9ZQE93 4rDHrLID66MZ1+Hy7R0pxVXCaPfAXWMV9JITKgzUZfKHjJlTGTt+60Az5mj+nQ71MtrJjbKDuBPQe 8Ew5Y+etVRiFetQwVMvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1luKTQ-00FMjC-Tj; Fri, 18 Jun 2021 19:48:17 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1luKTM-00FMil-Nt for linux-arm-kernel@lists.infradead.org; Fri, 18 Jun 2021 19:48:14 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id C0F0A6128C for ; Fri, 18 Jun 2021 19:48:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624045691; bh=qkc2MGqHvyVub+dZlUlMfi1Ge8BQxPm0xrrh4ob2XuQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=UvBXGpsCp4GW2OXicEqRgt1naVvarBwoMXPrd0uoEna1yVXUvQvJYhNXWIkPuyC50 /nsrsENo9dEmMXiyhQa+Ru7REIc760yyNX39bjmShonUWwfaH/SSa+21d9sRs+d3id +83vyUUHNWVG8Y50m8vEQw07K0Q67hUkx1PK/g5pEidQngjffg15xBJ1Ik/mQGEUs7 4V9d2FrvdrEL7Pby7/QAF5MqPq8ATPDrMnPVzr65EyTH96vTM8DDrbRmq3ugwkceKB hFNNw4dhCX7WcXu862CNnHK0lQbopHAYIFAjQKDacAZpF3MKmU5xF984C3svs7Nzpy zmcHRmXvyDE4w== Received: by mail-ed1-f43.google.com with SMTP id n20so10110100edv.8 for ; Fri, 18 Jun 2021 12:48:11 -0700 (PDT) X-Gm-Message-State: AOAM533FkSLOvFQyaAdDvk6UOyiT2GhCwGaOkGfb4eXxo84DSsMYU/gh yBYOAg91aksppXsgAs/ar0zfhOLYY7HBfrZPCQ== X-Google-Smtp-Source: ABdhPJw1eLcJOIk68SqoUPZvUGfPSxyK19pxr4bmx3ZN67yWYW4HyzECYtMFKa8UGYfyjdFuPr6pihmA0/bbVI3Vg40= X-Received: by 2002:aa7:cac9:: with SMTP id l9mr7102053edt.373.1624045690409; Fri, 18 Jun 2021 12:48:10 -0700 (PDT) MIME-Version: 1.0 References: <20210603164632.1000458-1-thierry.reding@gmail.com> <20210603164632.1000458-3-thierry.reding@gmail.com> In-Reply-To: <20210603164632.1000458-3-thierry.reding@gmail.com> From: Rob Herring Date: Fri, 18 Jun 2021 13:47:59 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 2/9] dt-bindings: arm-smmu: Add Tegra186 compatible string To: Thierry Reding , Will Deacon Cc: Krzysztof Kozlowski , Joerg Roedel , Linux IOMMU , Jon Hunter , Nicolin Chen , linux-tegra , Robin Murphy , linux-arm-kernel X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210618_124812_859755_3B0D1FB9 X-CRM114-Status: GOOD ( 18.01 ) 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, Jun 3, 2021 at 10:49 AM Thierry Reding wrote: > > From: Thierry Reding > > The ARM SMMU instantiations found on Tegra186 and later need inter- > operation with the memory controller in order to correctly program > stream ID overrides. > > Furthermore, on Tegra194 multiple instances of the SMMU can gang up > to achieve higher throughput. In order to do this, they have to be > programmed identically so that the memory controller can interleave > memory accesses between them. > > Add the Tegra186 compatible string to make sure the interoperation > with the memory controller can be enabled on that SoC generation. > > Signed-off-by: Thierry Reding > --- > Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > index 9d27aa5111d4..1181b590db71 100644 > --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml > @@ -54,8 +54,14 @@ properties: > - const: arm,mmu-500 > - description: NVIDIA SoCs that program two ARM MMU-500s identically > items: > + - description: NVIDIA SoCs that require memory controller interaction This is not valid jsonschema: /builds/robherring/linux-dt/Documentation/devicetree/bindings/iommu/arm,smmu.yaml: properties:compatible:oneOf:4:items: 'anyOf' conditional failed, one must be fixed: None is not of type 'object', 'boolean' None is not of type 'array' from schema $id: http://json-schema.org/draft-07/schema# /builds/robherring/linux-dt/Documentation/devicetree/bindings/iommu/arm,smmu.yaml: properties:compatible:oneOf:4:items: 'oneOf' conditional failed, one must be fixed: None is not of type 'object' None is not of type 'array' from schema $id: http://devicetree.org/meta-schemas/keywords.yaml# /builds/robherring/linux-dt/Documentation/devicetree/bindings/iommu/arm,smmu.yaml: properties:compatible:oneOf:4:items: 'oneOf' conditional failed, one must be fixed: None is not of type 'object' None is not of type 'array' from schema $id: http://devicetree.org/meta-schemas/string-array.yaml# /builds/robherring/linux-dt/Documentation/devicetree/bindings/iommu/arm,smmu.yaml: properties:compatible:oneOf:5:items: 'oneOf' conditional failed, one must be fixed: [{'enum': [{'const': 'nvidia,tegra194-smmu'}, {'const': 'nvidia,tegra186-smmu'}]}, {'const': 'nvidia,smmu-500'}] is not of type 'object' {'const': 'nvidia,tegra194-smmu'} is not of type 'string' {'const': 'nvidia,tegra186-smmu'} is not of type 'string' from schema $id: http://devicetree.org/meta-schemas/string-array.yaml# This was not reviewed nor tested since the DT list was not Cc'ed. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel