From patchwork Mon Nov 14 17:06:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13042618 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 A1D1AC4332F for ; Mon, 14 Nov 2022 17:08:32 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jxp9ot/WOlrh9ZAqro3L5YCkgAhR6Ufk+Q1itIyfloU=; b=R4oDW6O3QDNmOZ Zcp2SQdJUWD7D1gekrmdvIYZx1nCNkJZhciUq96O9a74InJm3kgwAJtBjX/tTSGDbMFinPtYuwVb/ r9d/FR7Sqeblkyf2zksMPVKZMhBuOB5LYEnhWWo7vgBzsT87Zq4Ow+/9PphbmFBmLXnCCBPp5wV9g a7Vc4ABTIGFNzyi9RbDHwS5DVsYQF1A3bkW2PUwIFzigVNzKw8H0B1YeoZGFn7voEYJGLNWudIi6S txSGsSQXLqE2a+TS2X86D/OdivplwgkwnBE7vVkkVUbsJtzQg4FAlduWkLTaFrjJwow5BX8yWYwhP NBSEQmLQX3Wz6sEk5zCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oucvg-002xw0-S8; Mon, 14 Nov 2022 17:07:28 +0000 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oucux-002xZC-Cx for linux-arm-kernel@lists.infradead.org; Mon, 14 Nov 2022 17:06:44 +0000 Received: by mail-lf1-x12b.google.com with SMTP id s8so3199116lfc.8 for ; Mon, 14 Nov 2022 09:06:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=M86vyazE9Kflr9n552n2x/ESkf8Js4Xoz0IPa0raNpo=; b=fgqOwllverskI61dHhNZtF3+xSvrcivld3PuPj3bkEYBDO3Jbv50ZHOMblFGOSBHSm +si76klJ+5ctBfWH6fCJMz6WhtAxw1dN3FbKN6oJk1im2Y0ChpqDXHXVHxpA26178iyl tbEU4VsLcvALLKY3egWPEjOdPCzmNdguj9NoUVfouoPfXq2xlma9mDlczpQUU+RQnOhg XT8LW+vpBmGYDs/LlJF/jNuOGepJuH4ZFIKmb3f6JSVC6SUda4VpfJ3r6uhoI8MAD4Lb 37uyOyiyOLzhm/yU8KDnoJEVpCL8qGSNNLyB/dW038cuSZ9hwNg1xc7sxJFDOez3l/Fv f0yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=M86vyazE9Kflr9n552n2x/ESkf8Js4Xoz0IPa0raNpo=; b=hOHIYs8c1KeWgbvmqrlS/dNaHybzcGBI1QLgpJQyUsVNinNIFCsYNNg0ef8dztw5kh HCVIm/u9sjCw8Pdt/w+eixaBm6jdUTYyDX5bgxaKpBhOWf28AyWyGgtupD2hg/DjpMQ1 hg265eKazZfCUCqXJ1NZGjHasmFwgkexSuBXRLw4Jnwfv9SrIr5rN/sMdEj8rvV3NshV E5L3PMchVrAbo04XwhFG1+f8UHc4Rpxa5DF8fCJPTHPYbeDN7voVW+mhMvSkR+fvmG5o EJ6qadhSMSyIIdK0iaBKt1b6oxtDaO10iiT1873PwosqYb2ekRYqflWDj7P4ltticTyT p+QA== X-Gm-Message-State: ANoB5pnAGE8OEBiPNgPSvdpnddJt63F8v9D+j1E0FYedQrp88Qe6ids+ EwJChd0TCgSGeLmHgK+e8Ed1wbugolfcBA== X-Google-Smtp-Source: AA0mqf54HDkotHA1FucjW2uec3Ub8+MjnMSJp6XZF6+mS6lVAK+bcof5fa6YOgzHa27BsQPhfyrL8g== X-Received: by 2002:a05:6512:32c1:b0:49a:75ee:d5c8 with SMTP id f1-20020a05651232c100b0049a75eed5c8mr5089951lfg.152.1668445598742; Mon, 14 Nov 2022 09:06:38 -0800 (PST) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id q7-20020a056512210700b004a2ae643b99sm1896344lfr.170.2022.11.14.09.06.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Nov 2022 09:06:38 -0800 (PST) From: Dmitry Baryshkov To: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , Bjorn Andersson , Konrad Dybcio , Rob Clark Cc: Vinod Koul , Sai Prakash Ranjan , linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, freedreno@lists.freedesktop.org Subject: [PATCH v1 03/10] dt-bindings: arm-smmu: add special case for Google Cheza platform Date: Mon, 14 Nov 2022 20:06:28 +0300 Message-Id: <20221114170635.1406534-4-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221114170635.1406534-1-dmitry.baryshkov@linaro.org> References: <20221114170635.1406534-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221114_090643_467010_E6D127E1 X-CRM114-Status: GOOD ( 11.13 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Cheza fw does not properly program the GPU aperture to allow the GPU to update the SMMU pagetables for context switches. The board file works around this by dropping the "qcom,adreno-smmu" compat string. Add this usecase to arm,smmu.yaml schema. Signed-off-by: Dmitry Baryshkov Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index 99f34a40cfe2..29a8b3ff8fa0 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -69,6 +69,10 @@ properties: - qcom,sdm845-smmu-v2 - const: qcom,adreno-smmu - const: qcom,smmu-v2 + - description: Qcom Adreno GPUs on Google Cheza platform + items: + - const: qcom,sdm845-smmu-v2 + - const: qcom,smmu-v2 - description: Marvell SoCs implementing "arm,mmu-500" items: - const: marvell,ap806-smmu-500