Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938580AbcLPAZC (ORCPT ); Thu, 15 Dec 2016 19:25:02 -0500 Received: from mail-by2nam01on0068.outbound.protection.outlook.com ([104.47.34.68]:18411 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932768AbcLPAYv (ORCPT ); Thu, 15 Dec 2016 19:24:51 -0500 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com;nxp.com; dkim=none (message not signed) header.d=none; X-IncomingTopHeaderMarker: OriginalChecksum:;UpperCasedChecksum:;SizeAsReceived:699;Count:8 From: Stuart Yoder To: , CC: , , , , , Stuart Yoder Subject: [PATCH] Docs: dt: Be explicit and consistent in reference to IOMMU specifiers Date: Thu, 15 Dec 2016 18:16:13 -0600 Message-ID: <1481847373-2602-1-git-send-email-stuart.yoder@nxp.com> X-Mailer: git-send-email 1.9.0 X-IncomingHeaderCount: 8 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131263214436829036;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.168.50;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(336005)(7916002)(39380400002)(39840400002)(39850400002)(39450400003)(39860400002)(39400400002)(39410400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(105606002)(92566002)(5001770100001)(106466001)(48376002)(5003940100001)(36756003)(189998001)(4326007)(47776003)(86362001)(68736007)(97736004)(626004)(8666005)(81156014)(104016004)(85426001)(6666003)(2906002)(81166006)(33646002)(50226002)(5660300001)(356003)(50466002)(50986999)(305945005)(77096006)(38730400001)(8676002)(8936002)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR03MB2465;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD014;1:thizHDVQLzb8RtWnRyHmVrOn0Kik86ySYxMWvf+7C4h9gg7FgSkACc9e5Um+AaXj8lmXWsvD+ZVmH0bvBClSUMZcecx9CaerXb6bX6lSsyvexf5JUPAc/VX8SVixzJA2gKhuo2PaQWzdwLRomZv3PCu9kgoybgJenwLj/9oKuxuDILdFhhxQy+dYcgeG/YHaZSr4rc2Kq4erg8HvnfpIKw8N5rwDetg/4KsiMsf75w6gVQesZbFlMP1ursl13VGrK+t/Acwd77Wg0I4Fdkgd0/UtoXOzV2ywwWTGDlsVN3NwnYSDRmf6dYeHZIR5/Xi1dBb/Sg7SZS3iF12D9oDr0VjL/a9Ofjx/ZF1IHZ/drZ+3hYVTFasymHZVw1iu3usFUcTr+xrIcpyonoQL7Ghr9xYR0dbGD+PQIdfxDBx1yj4e/Nw/XNYC1uq17QekyWKY7XDRHun1eHYa4t3fzQi7yVF+2MFxjZDY/mXTHyH5+m10T3Av1Ps86eBTXSsxlZR1cBXaNbIHPbbztuEmVPiSeKm3U0cEHpsEe5toU9FnwGEwm3jj3LeyoBHdi8kcRt7UYvmRPF5AvScWdszPEdCquuM0YKF915kVpo3iBfpYxOirEQN9gnpjgE1uS+eadbfgk072yl0rvyYCNiK3EatPGhT3vXFeI+gfBWEHa085NyhjNF02yptPVCBzSaAyKH5CQI3JUNiAWXqROcPE3UstreQefBkXdPtQ+DIXHqy1L+TeesR9aKPDrwwtSNsuif5C MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: d4ed0e6d-c354-43be-476c-08d42549d70c X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BN6PR03MB2465; X-Microsoft-Exchange-Diagnostics: 1;BN6PR03MB2465;3:B8gGyEM3fQC+tBHd4T7gb23E7oXghpWI2DCieo7msFG4GswM2KrWZZye3wm7xT8YWBe6gZieNi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IW/DnhLmDmfoZbPkmsAThR4SJx+nbMZV493a6kM8CKeF+iNsiChJ0Vg== X-Microsoft-Exchange-Diagnostics: 1;BN6PR03MB2465;31:iXxpd3TCb1hiP8VVxefMF1G70Z6XRqjDzgZxq05dJsgMORivjNAXkPNsSg4Yi7Ut+UimOD6NZA1eR4Q+dGIbOMBvc+Zywv93xE7A49vUB5Tmn2bVciljgCrcRsGUKMHVD7Vgj0Th6N6MQO6SvJ1lyZ6OXso283iDsOuluZCn7DUU3Ry/rc5pCkD10Eel4uG6FfnLViGIia0y1KOHWtMludgj9rkGu0WF+ee4m2V19FADmo5gvPE7LY4ySa6xemoQ4BxeGydGuHdMy2AoL5euICE6Y5CredjR0dL5JDOafW0= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6095060)(601004)(2401047)(13023025)(13024025)(13015025)(13018025)(13017025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6096035)(20161123559025)(20161123563025)(20161123565025)(20161123556025)(20161123561025);SRVR:BN6PR03MB2465;BCL:0;PCL:0;RULEID:(400006);SRVR:BN6PR03MB2465; X-Microsoft-Exchange-Diagnostics: 1;BN6PR03MB2465;4:SiTd6ewO6pfCu/0MzRFa2BD+0zAxZp+Lz5bK+DY5X1w/vPlx2pl/vXQlQR9n18xYmL08DJ++LFpStxdFh/pMg9rRMFuf4gP6MbJK8VAAZTOT8ceQ9pFGpdxP0ZbzvKXhoOVw/QpUN/azgp7JgfvL2Ff9i//3HmsxRWrRV7TndJg8W/Z7pFph7QN20nwGPk7vrbYpr9OwnWe8b0YqNJqjoyMl+VboAnaJYWGOYH4Ip+7QfwURmGD1yVbHACGcWQ92zlaNGJpVoRUQKB7qb+dnSyNvrfUJcF4UIClOYHp0lKW1rzi4NVTq5Bei8WSk0dOiOgu59cvAMNIl+EppvOEnOilis9fAKMM6ohIEfaZY9XwW0RfKNRPe9ReJw8wLfo013TxP/ZTsu6yLr/ETSoeRd7KVQHYhsfieRbp2CbmH7oNzdE5cz5Jc3FE0FhYk789Y7bGKvvekDOt4XMEeBdkaUv4uWCM5ByZr41yNU3IP3nkFuMXIaXOxELDIkmpPcwCvVHl9VTnJynX180ZPGwykVTDVqzp93O1eLfJCNVgi9lzMbSr+M3+voqCdnquadGhHIO0nP7e9gU853UXWik50+5dAf5L+/zsCZcAsOTCW6C4HvQ2whBBHvj1BE7uCMPmZpsWM5kINgc8hn7jYEXs7dF9lFMv45y4lUEoJu1WlPD+0PaFY/ETua2pwID7/oIqelG0H0Zi56njA/YEEZQIAcdLfmPsb+zwFuyeiDIOhXXk4xxvv02x9+rlCrmlEnj03 X-Forefront-PRVS: 01583E185C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN6PR03MB2465;23:UWP7D/IvL/rPvhh66cbcJG0Ih+WtZoo7Qt6wmphAX?= =?us-ascii?Q?U8i5EEz+ySzZrafvHw1LPI4zogIhlQtOh9uLBq2cVuYRqfgfVqr1O+F7VfHF?= =?us-ascii?Q?RIBs74hg4F4p/iF3MnhKrSrNrUNig75shQydvYGXh6+JdnSTJQwjZJC5KqCi?= =?us-ascii?Q?3/HmwuKsipEhMhbs8r9lCajEYZgI5rPYJcAPFv/CneXyf5uAld55VtG7UN6k?= =?us-ascii?Q?DuMVzJIFm4M/XtppIHoGc0SanfcNrrWq2ej4+46mApClZa1fox3ybtI5na+J?= =?us-ascii?Q?SwqKQrgxUB0GZCAcxuTwWLe3lHSdhvbyCmcuiVjsP3Ai2VQ8JLct6zKQU6QR?= =?us-ascii?Q?LRfIaOvVZ/gCPpYNFLvmMAu8E5iBkAPXkomymgxRCeXrliSIWj/daZWUDL5M?= =?us-ascii?Q?5KMWdJPRCARoDLeng8zf2Vsypxge+BYjsyK7aKClu67TufUD5xlaNJU2w3dk?= =?us-ascii?Q?j1UtWQP0zBWs8csuOzQWrm0kayVaXBGmxY1PFBGWZfh9QoBSPPvfvZXutsu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VK/HkuX3VUlqdo44HX5WoBwbQC02x7Wn+fc6juoD8Jj6Q== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Dec 2016 00:24:00.6564 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2465 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3087 Lines: 67 The generic IOMMU binding says that the meaning of an 'IOMMU specifier' is defined by the binding of a specific SMMU. The ARM SMMU binding never explicitly uses the term 'specifier' at all. Update implicit references to use the explicit term. In the iommu-map binding change references to iommu-specifier to "IOMMU specifier" so we are 100% consistent everywhere with terminology and capitalization. Signed-off-by: Stuart Yoder --- Documentation/devicetree/bindings/iommu/arm,smmu.txt | 10 +++++----- Documentation/devicetree/bindings/pci/pci-iommu.txt | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.txt b/Documentation/devicetree/bindings/iommu/arm,smmu.txt index e862d148..6cdf32d 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.txt +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.txt @@ -36,15 +36,15 @@ conditions. combined interrupt, it must be listed multiple times. - #iommu-cells : See Documentation/devicetree/bindings/iommu/iommu.txt - for details. With a value of 1, each "iommus" entry + for details. With a value of 1, each IOMMU specifier represents a distinct stream ID emitted by that device into the relevant SMMU. SMMUs with stream matching support and complex masters - may use a value of 2, where the second cell represents - an SMR mask to combine with the ID in the first cell. - Care must be taken to ensure the set of matched IDs - does not result in conflicts. + may use a value of 2, where the second cell of the + IOMMU specifier represents an SMR mask to combine with + the ID in the first cell. Care must be taken to ensure + the set of matched IDs does not result in conflicts. ** System MMU optional properties: diff --git a/Documentation/devicetree/bindings/pci/pci-iommu.txt b/Documentation/devicetree/bindings/pci/pci-iommu.txt index 56c8296..0def586 100644 --- a/Documentation/devicetree/bindings/pci/pci-iommu.txt +++ b/Documentation/devicetree/bindings/pci/pci-iommu.txt @@ -32,17 +32,17 @@ PCI root complex Optional properties ------------------- -- iommu-map: Maps a Requester ID to an IOMMU and associated iommu-specifier +- iommu-map: Maps a Requester ID to an IOMMU and associated IOMMU specifier data. The property is an arbitrary number of tuples of (rid-base,iommu,iommu-base,length). Any RID r in the interval [rid-base, rid-base + length) is associated with - the listed IOMMU, with the iommu-specifier (r - rid-base + iommu-base). + the listed IOMMU, with the IOMMU specifier (r - rid-base + iommu-base). - iommu-map-mask: A mask to be applied to each Requester ID prior to being - mapped to an iommu-specifier per the iommu-map property. + mapped to an IOMMU specifier per the iommu-map property. Example (1) -- 1.9.0