From patchwork Mon Nov 27 15:28:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 170234 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3216756vqx; Mon, 27 Nov 2023 07:30:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IFyHZM6JHcHYFa+lLlopJhpdQS4OFeYxukcER4Gn+sAB4+7951c9iiWTKxb2beyW9chB1FU X-Received: by 2002:a05:6a20:e121:b0:18b:e49:fdd2 with SMTP id kr33-20020a056a20e12100b0018b0e49fdd2mr17259748pzb.9.1701099058485; Mon, 27 Nov 2023 07:30:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701099058; cv=none; d=google.com; s=arc-20160816; b=URTYPT7pFBwH0bGjo66xyuQDs3bRt8fBti0X9HQkvWRPeL+Tloncj8WimZ+bqUBXme 4JuFupinxodlk30lVsJZ71wsLr3yx+IwZNptXI9GemLUfvpHxLTGDB9ZBEnVIrZY9Gvk SxDQ0lKK/mEEXCdRxdAxvLUjmZuujEW7cZb0yYGgGVhwOOAXkP41LUX8ZccxHATO7LAO 7L6vokaMNgelPGxD4gYSxi4iRQvAixBtxTyI6rM787JNnJuDQgSsXfvL/KXL1GnDy8kC o/321ba2yK8IgdybV1cHWiycnry2xO1Ic9OuQkE1sIAGUiAon6ZPWx4jULQSOzSo7NHq u40w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=fzHhRUdqYzC89phn7gbVveYcCLwhSTvqnPb56NAvVOE=; fh=9kk1b97t5E1IrS441vwb7g0C8HqHeoqsAYjLwfbyq0A=; b=IRBYIPjh9bEMItTDvvCW47phciF25LpSk2wYkYwBsySl0uCOFgpYe+M9GGLG2uh94Q ZiYzFwbz7PUhBCBw0llgzJdVvm5Z84hNXQ8zellFYQqLQgcwPl+plEoXQpVqmgUxrlpu UBaBSqmqCq+lO2OoT4w7epL3XtKRXq5lJRqYLXLDeEx9n2DjJOxMfbc1ZX9rfB1ZE9XN 75FjZT2qNtykafyay7Xm73GK4j/38LuuLRBDbeOC+5IZyqQwuKGqfd2pZCA5QpZmBOAJ g557OBTWBrf7XdpzJjkLJgM3Rhqw9Ljm6nztxL8ObT6XGli8Jp/rA7NYiBWOjigUXLQ1 P9Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CD4a6Tif; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id u17-20020a632351000000b005ae22729b09si9998472pgm.683.2023.11.27.07.30.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 07:30:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CD4a6Tif; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id EF84880698F6; Mon, 27 Nov 2023 07:30:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233982AbjK0P3M (ORCPT + 99 others); Mon, 27 Nov 2023 10:29:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233937AbjK0P3I (ORCPT ); Mon, 27 Nov 2023 10:29:08 -0500 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8744C191 for ; Mon, 27 Nov 2023 07:29:09 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-50aaaf6e58fso6628523e87.2 for ; Mon, 27 Nov 2023 07:29:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701098947; x=1701703747; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=fzHhRUdqYzC89phn7gbVveYcCLwhSTvqnPb56NAvVOE=; b=CD4a6TifEvRyGn/Jv2KZFFdl+HnXBjxcdoC6qjQCwFbSCdC9+Irtn2UhzUPwKNqRza W+ovEizHTZW09RLOQmHlSo7xZXUc0zum98mg9QsuhHbkgS96kCkWGj6hidonngUKMnh6 xwdjuzjVRkfD1IcQyi7hGUl4C1opKrDKLZ2euQwbU4Z6kgnmpK3/1W017sZW1z0wRTnL hl47d0H7E0uaV/hGFkSpZtIo4NUPp7gcR4ohTce5Qn0JegnXvsa+oJDXwL3OTYi7ecOh +hkDrBXIgDVx63VV/C1Z/IwZcGWodmF/8Dpb0WXZHv9O4prBBn7MoicPfCMlUbH7DyD3 WmxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701098947; x=1701703747; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fzHhRUdqYzC89phn7gbVveYcCLwhSTvqnPb56NAvVOE=; b=uudfysIBkpk1z2E8kwfE2Disjv7YZN2o9cAQEyaXw/5t2CuMwhRjCCXepFIgxYxui+ jX+u9tXGfL5Jp0i9cgHFMTni7mpGrPFizZD+/eqJJNvvWqu0y7yiSjbXe0anBjc7RRex 7xoGbWWurCfdCvqpCXAQLFxs6+NZKk7mQfu4kCqVYWDs5sH3CJs4YjSqLLjfjJhUtx3j OuAxdeRaxfhOqyC+UgEo6A3lyPh1JdYuzqXQs6ow44Pi4xgeB1FT1+FgAAcuH9utlUSQ HTbjCzK7HGnOtfHMiNr+1qyKL9KbuX4o1v5qbYOxHbfK1Q40raq/B7MJFvVmDo0eJM5a Nohg== X-Gm-Message-State: AOJu0Yx/MBTpEktSJUL/x5OccKFtm0WJNP3pxIfU1LtFfhzgeekQrPPY ruZldje3i0YO32cD3rfsTmG3Iw== X-Received: by 2002:ac2:43cb:0:b0:50b:ad16:bca0 with SMTP id u11-20020ac243cb000000b0050bad16bca0mr3545964lfl.40.1701098947808; Mon, 27 Nov 2023 07:29:07 -0800 (PST) Received: from [10.167.154.1] (178235187180.dynamic-4-waw-k-2-3-0.vectranet.pl. [178.235.187.180]) by smtp.gmail.com with ESMTPSA id e7-20020a056402104700b00542db304680sm5321002edu.63.2023.11.27.07.29.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 07:29:07 -0800 (PST) From: Konrad Dybcio Date: Mon, 27 Nov 2023 16:28:45 +0100 Subject: [PATCH v2 05/12] iommu/arm-smmu-qcom: Add QCM2290 DPU compatible MIME-Version: 1.0 Message-Id: <20231125-topic-rb1_feat-v2-5-979b28f35e4a@linaro.org> References: <20231125-topic-rb1_feat-v2-0-979b28f35e4a@linaro.org> In-Reply-To: <20231125-topic-rb1_feat-v2-0-979b28f35e4a@linaro.org> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Loic Poulain , Bryan O'Donoghue , Andy Gross , Bjorn Andersson , Krzysztof Kozlowski , Georgi Djakov , Will Deacon , Robin Murphy , Joerg Roedel , Krishna Manikandan , Robert Marko , Das Srinagesh , cros-qcom-dts-watchers@chromium.org Cc: Marijn Suijten , Rob Herring , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1701098925; l=876; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=G/TOscakzMl5L7lLg+f1aIz+xjyCycciuqgvdkeUR9s=; b=VIz+Y9084yjDi3/47tMxdkTC2e177oM5XcQ6dTdEpAKxC7RNhwq2iZQcKfXPJV4yp7X01NvAb VckWTM1fxXjDzEfWhm9T0ZWjcXcDhTcG2S1DXVj6948Sceq8Wj0LnzX X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 27 Nov 2023 07:30:16 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783731646251217570 X-GMAIL-MSGID: 1783731646251217570 Add the QCM2290 DPU compatible to clients compatible list, as it also needs the workarounds. Signed-off-by: Konrad Dybcio Reviewed-by: Dmitry Baryshkov --- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c index 549ae4dba3a6..aea5e85b20ff 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -245,6 +245,7 @@ static const struct of_device_id qcom_smmu_client_of_match[] __maybe_unused = { { .compatible = "qcom,adreno" }, { .compatible = "qcom,mdp4" }, { .compatible = "qcom,mdss" }, + { .compatible = "qcom,qcm2290-mdss" }, { .compatible = "qcom,sc7180-mdss" }, { .compatible = "qcom,sc7180-mss-pil" }, { .compatible = "qcom,sc7280-mdss" },