From patchwork Fri Nov 11 14:59:12 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: 18870 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp789415wru; Fri, 11 Nov 2022 07:01:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf7Qeb1yVaVwHnjxoDryvU5PeJ8JtnvwZBwrq7SN7Or+tjw6FgwN6ZQnZSdltHEIp/gEDvrZ X-Received: by 2002:aa7:da55:0:b0:464:718c:b271 with SMTP id w21-20020aa7da55000000b00464718cb271mr1760390eds.287.1668178909214; Fri, 11 Nov 2022 07:01:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668178909; cv=none; d=google.com; s=arc-20160816; b=umXnDUsMrg6ZCuR/zONYSllx8IPRXr5b7an4F2Mx1eGwiejv6bMQ4MxfvYM0B1EKKU ZSSwsmwSHx6E887zqTHaHM5VPLNe1GUMhcF3vF++shI/2xitmm2jf8sViBrY51mg5Qc+ kXoD7ZHrF3bla/oqMZu9EKMLVAuw974ON+Dqw/83gBC2UJzirCtHrEPZCo2WMS2+/eu9 qoaKGrhgzyi9E8EXJsn0+k5hthK7rnP+a8T8IMbENclJOc70GHCiLALsNyrhw1Pz9T0a W5DqjoWZr2u1FtleirbS5dmdFZtve3KNsAQscmIphRQJ8658BYRbGGIxZoeclr53Q77Y McRg== 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=k2MSh5y8q3fhC3HHh7E2RjPcNkX4co5blRM6Z/FOmjQ=; b=jTsfBvlI8CIA7GLqFfyzdZm87k142p3c/0LupUgKYGUju1HgxIJjzgrUb+zDZc7Xkr y02/5O0wSFDr0BlAlEcdHlnpj8pUPYubyTAjOoGznt4psL7S0A37mJzhqxvlTi6v/xZO eH6C60uIy/G90FyMLYSus7xBCNlI/JyVdRhee8rD2gExmidwTjL2Dn+24BL5Wd2ovk1r YPtdtYzV9nWzCmmqe7WAy18S+ew/NH9qmoJUwlpUP6YXaiSEUe8kLUK5AiBOyqR6lhEV TDB5ftSYxaktAz1volbBciStJGbXvmmb962/uE4RGGSVZhN84DmSjoq9ImwRlrVE+92y ffBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="c/TK7nM7"; 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 q9-20020a056402518900b0045d9ceae6d8si2658744edd.492.2022.11.11.07.01.23; Fri, 11 Nov 2022 07:01:49 -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="c/TK7nM7"; 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 S234810AbiKKPAK (ORCPT + 99 others); Fri, 11 Nov 2022 10:00:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234820AbiKKO7b (ORCPT ); Fri, 11 Nov 2022 09:59:31 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30E7F64A02; Fri, 11 Nov 2022 06:59:29 -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 BA0F96602A53; Fri, 11 Nov 2022 14:59:26 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1668178767; bh=+s8U+ysOQ3GldrqmWhai/Lpf4c/N59+UHllqmAZ7ue4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=c/TK7nM727YT6ta5popYpO7ux/3o1JbfwxfHFijgAW4tIxOZo8QD3lwGpBigrTacY ydlA5EFtIYMTHKJNozdVS6O/nQ6hfdvvuYKsjdKeowv4FJZLa3Pfltpk5JAumDpkWB IOTTv57a+GESrRJgxIVKQ/qZ2ArpVfHvCGbciGUvbG7GVBOYXTD3yWsW90zqCEHGto TbMAUMqCOWL0SEcHBhDXjykvzJOG3FKLJSdMWZqaCwQqQEiRyvTqOjdqEbyEUfONx2 4Gy6ThSCSDbPMWD0xJM6iV1NesHlH6xX4Y6grDtk6cuteweyp2Lj+/FK2E55F0N1nl Tly/ertgIkr8Q== 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 Subject: [PATCH v2 1/8] dt-bindings: iommu: qcom,iommu: Document qcom,ctx-num property Date: Fri, 11 Nov 2022 15:59:12 +0100 Message-Id: <20221111145919.221159-2-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221111145919.221159-1-angelogioacchino.delregno@collabora.com> References: <20221111145919.221159-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?1749212368307219048?= X-GMAIL-MSGID: =?utf-8?q?1749212368307219048?= 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: