From patchwork Tue Nov 15 10:11:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 20283 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2626561wru; Tue, 15 Nov 2022 02:12:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf63sbOaIPzAgxP6C7kc9u0J8tLF/8l+cQMFwmaT2gy8BSTo8Pjn/0tR7MUrhoFC7VamRmnb X-Received: by 2002:a17:906:412:b0:78d:85fe:4951 with SMTP id d18-20020a170906041200b0078d85fe4951mr12758453eja.593.1668507151866; Tue, 15 Nov 2022 02:12:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668507151; cv=none; d=google.com; s=arc-20160816; b=oxQtti9mupWEmfRniJckvcv6GJlHMbqQyYvYPSKCP5lNb2TwmDOhMw7Zvb5vFNRGzR CQ5xR1ePB7B7PiI4gd3lKnB89s0vkhXkWbRXwo9nyjLSV9qCmKA4Z7ZChlRM33NH+307 n5pG4SVaQfIUQZH7BTnNyGeASSRdbz/Q1uxECEevy3ZbuS1bcc4ZCRLIlsMNEwkRlYrG QENxv1LrqmL+fxjsF+NN+ULZvncxJomYD6I+PUS6cDB0H2EmGCRUYpwpcIDeuFFQzJTL sJjiddnZDNHIJ9TAUDY6QnSzlfPvz62stXl5I4r040a4MLUx5P0c4DsQROSACubZOres lJRQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NfBgTtD294Syf19P5TEZLHXl1EmS+js1r4r+M1tq4WI=; b=ka4S8LLaGKn88BGhL4lZ/8SC/Y8/ZdABV9aOhmHqHiHhugM/ie9kWmdJQsEigNx5uK qbsbu25ec4k9rum/9r4OXEk+I+8npYvh6TIQ405wCKhkE4dOCTu2QkmfZT415pg7qu1S Kda6u5E4+W9LVYbqoiQrFdMpaL4l0zdvE48KiuRTFTSwl9E+EMdbXmwGtQlWO82Zn+k4 q4LDtqZmoDUYDvQ+EDvK7uneHcIb8WZjc16Vsdoktp8c7v7+/jA1iizY3cNOYpBPoA7W V3MV6gmhvDw3o+Z+dCf3vDpzt8/+f8khnVLWA0fnxVI847xl6inKCxS6rSK/eRN2fc/x ED1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=lbWCja0P; 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=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr22-20020a1709073f9600b0078d3a35e181si10558705ejc.871.2022.11.15.02.12.07; Tue, 15 Nov 2022 02:12:31 -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=@collabora.com header.s=mail header.b=lbWCja0P; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238274AbiKOKLl (ORCPT + 99 others); Tue, 15 Nov 2022 05:11:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238262AbiKOKLh (ORCPT ); Tue, 15 Nov 2022 05:11:37 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2DFF5F82; Tue, 15 Nov 2022 02:11:35 -0800 (PST) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 6901D6602980; Tue, 15 Nov 2022 10:11:33 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1668507094; bh=NHdspCLp4Pq3hK88QRXd3z7hZRds4FeUTB1LzXblsv8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lbWCja0PZqnIvmCSwCgIigaRxo2WvBLvsVsUSfRGzVy9DwF8HbAmznUKxZfZZOOQQ mygWfD7EyzHZnchZwVcskuwwgz+2tlHQKiMHEGHrkUul478JFlL3s+3wJp4IVFMTFu RaxPXSKcMMASOqwm25YQ4+Q8EAahav06y5n7LyArSi7woPwymtQbppJfUHpf5UusKN l6KPbGW9FC45541w8cXP6QLpRNwrxUC79gVPDBoDetTKY5acf41Djz8OGgs38noCPK afgzqpjc5nu4QgzB4opsNxd3vdW59tPH1X29HBWaiUHDn+VNexmv2dd1DI1bWzVATq 5YyrgphgxBFaQ== From: AngeloGioacchino Del Regno To: agross@kernel.org Cc: andersson@kernel.org, konrad.dybcio@linaro.org, joro@8bytes.org, will@kernel.org, robin.murphy@arm.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, robdclark@gmail.com, linux-arm-msm@vger.kernel.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, marijn.suijten@somainline.org, kernel@collabora.com, luca@z3ntu.xyz, a39.skl@gmail.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Krzysztof Kozlowski Subject: [PATCH v3 1/6] dt-bindings: iommu: qcom,iommu: Document qcom,ctx-num property Date: Tue, 15 Nov 2022 11:11:17 +0100 Message-Id: <20221115101122.155440-2-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221115101122.155440-1-angelogioacchino.delregno@collabora.com> References: <20221115101122.155440-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749556555181012387?= X-GMAIL-MSGID: =?utf-8?q?1749556555181012387?= Add a new "qcom,ctx-num" property to force an ASID number on IOMMU contexts where required. Signed-off-by: Marijn Suijten [Marijn: Rebased over next-20221111] Signed-off-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/iommu/qcom,iommu.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iommu/qcom,iommu.txt b/Documentation/devicetree/bindings/iommu/qcom,iommu.txt index 059139abce35..7d4e0a18b08e 100644 --- a/Documentation/devicetree/bindings/iommu/qcom,iommu.txt +++ b/Documentation/devicetree/bindings/iommu/qcom,iommu.txt @@ -46,6 +46,7 @@ to non-secure vs secure interrupt line. for routing of context bank irq's to secure vs non- secure lines. (Ie. if the iommu contains secure context banks) +- qcom,ctx-num : The ASID number associated to the context bank ** Examples: