From patchwork Mon Dec 12 10:06:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 32293 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2154132wrr; Mon, 12 Dec 2022 02:12:52 -0800 (PST) X-Google-Smtp-Source: AA0mqf4bZjBwbPv0c6F+6WhPdzIJ28LPYt7Fmem1B8lPukCDjM1gvGLEUzX/qwStlyDZq0zZTrfd X-Received: by 2002:a05:6a20:939e:b0:ac:36bd:3f74 with SMTP id x30-20020a056a20939e00b000ac36bd3f74mr22039046pzh.34.1670839972209; Mon, 12 Dec 2022 02:12:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670839972; cv=none; d=google.com; s=arc-20160816; b=b6ir5pHVC+CtLUbfRkQZJxsm8r646oJodZv0SCasfxAhZrYrRbi9S3pK8Az2HTjql1 dHSa9x9vZrMpopjaWmbfnnHCkvoipRMG5A6iWLgec+c07kUwDRHYEDN2M9fwv2UJm8T5 CwrHbnOJUpv/lLiJS9v2E9KFer9xfozYb+8odJk9BriyJDF0p5sRkUt2IqM5DKsp5GKP 6qypUsruUCBYwhAF12fnkKy1GG3k8JgC1NKIdSzXd/BfeQ5kq+bn12X2UKiYlZEhwuI3 CPfVYHsPMmJshLiiMca7vpL/jMINs4NfxN2koAfrKp4kYpJTXFhhTUGg0AOzkjNSBKG6 L1GA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=AxHwpzdAgeysBPjazrb8MZAklpvcch7q79EoiQSklm4=; b=OlCul2LvCE8nMtY7KmL9WYMa6DXVmx+5YZINPbtZVsfjxOYQswP5N6Q+cyI4oLaUiW jvt+nvDL76Mf5tWQBFJCRu7lcqB7fg6s3r0TJyTAOyMpB7g0RuujwHVGwhBpN3wF9yUL HyaXnZ6+3ZikP8sou8NTG3r6yuE9NRfU/fFccXzlUWeDeQ9Zd2vVtr4SVCCLhmgLueJm rCpxS+9OVwKnUWBzKlo+1LpJnA1C6rG/NNTR4FerYgm4VTlhblVCeaHPyGMPJQNQ4Zw6 1MibV9Od3Xk933wdQWeWs22QfDPJWpxn0NTX4vVOfL5wr4eBmfK7nOKoCWTsUAR2Nhgn hknQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="a/cqR3Om"; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d10-20020a63734a000000b00476c94abbc5si8366545pgn.681.2022.12.12.02.12.38; Mon, 12 Dec 2022 02:12:52 -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=@linaro.org header.s=google header.b="a/cqR3Om"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231481AbiLLKGZ (ORCPT + 99 others); Mon, 12 Dec 2022 05:06:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230343AbiLLKGX (ORCPT ); Mon, 12 Dec 2022 05:06:23 -0500 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59C0829E for ; Mon, 12 Dec 2022 02:06:22 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id cf42so17723249lfb.1 for ; Mon, 12 Dec 2022 02:06:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=AxHwpzdAgeysBPjazrb8MZAklpvcch7q79EoiQSklm4=; b=a/cqR3OmFlwQ2CdWLT4/9k8uaKshPkOmZbfG58+OuOX46knLAG7cQEu2GCEwRyPqEs y/hD4vUys0tprqY3OHNqDXo7pdF4W9IOwifvY+6SIB9TvrQWqas14voG4g4kXszGsOvA NXtqYPzKGddJg0cs9et+X09UEkCyx+/dWT4W2GNM0wrmvOoP28wTJMLQNVnDyxgT076S I6L9kDhnyEsTfpFw6PLHrFYzHEXpNx+Mf9F3PFJFgKtz7I60mQqetqkr8qkQaRX/wj2w PI/avCbXLGjhbVdybY4qsfoAh38TItwsuK7GO61nal47ZsRU0eOnsY1bDwBvpL9ym8hy 2tRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AxHwpzdAgeysBPjazrb8MZAklpvcch7q79EoiQSklm4=; b=xU6aqm+D5Zn9LTHdZ2xgZdLci8RldAM5NrjlJ7vyn4VFcnw2wrXu3+YzdA78eb9VAn vS3SpXeGV13mGgJnD606jGmCh08iNOMT8CitkKJunCMil7XtRPjyqv6oP6CYwxHWzLK8 dp6ZFDI4MuIf0WGeHiCwf4XOA4XlvRHLuQMKJeROmXZQmheVgikxXgBPTaab+UVzlRnL 96U+JwFnSJCUhmOXmrVB+1yb88Lx1xfk6zle7SbAfxqVbiCc+Hwos5kV0fYgK5rPGwyy FZ2K54hNt5+0UX2nkD5hI7ezna9ie8Zpp0o3PPati7cG0tJC0L5qXl4CaTECQEQq4FSK e0xQ== X-Gm-Message-State: ANoB5pkZoY/fgIsB0UkxCxL4otX3/jGOzOYm8XvIuElAUOmr5NSLqd5n 81afbxLmnO0tcNNJ9VOMPji/FA== X-Received: by 2002:a05:6512:358d:b0:4b5:6c00:429b with SMTP id m13-20020a056512358d00b004b56c00429bmr3733559lfr.26.1670839580725; Mon, 12 Dec 2022 02:06:20 -0800 (PST) Received: from localhost.localdomain (abxh44.neoplus.adsl.tpnet.pl. [83.9.1.44]) by smtp.gmail.com with ESMTPSA id o27-20020ac25e3b000000b00498fc3d4cfdsm1586330lfg.189.2022.12.12.02.06.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 02:06:20 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Will Deacon , Robin Murphy , Joerg Roedel , Dmitry Baryshkov , Konrad Dybcio , Sai Prakash Ranjan , Rob Clark , Adam Skladowski , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] iommu/arm-smmu-qcom: Add SM8150 DPU compatible Date: Mon, 12 Dec 2022 11:06:16 +0100 Message-Id: <20221212100617.18190-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.38.1 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,RCVD_IN_DNSWL_NONE, 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?1752002694722531581?= X-GMAIL-MSGID: =?utf-8?q?1752002694722531581?= From: Marijn Suijten Add the SM8150 DPU compatible to clients compatible list, as it also needs the workarounds. Signed-off-by: Marijn Suijten Signed-off-by: Konrad Dybcio --- Depends on the binding here: [1] https://lore.kernel.org/linux-arm-msm/20221212093315.11390-1-konrad.dybcio@linaro.org/T/#t 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 6610f5d2877d..cd74c1efcfde 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -255,6 +255,7 @@ static const struct of_device_id qcom_smmu_client_of_match[] __maybe_unused = { { .compatible = "qcom,sdm845-mss-pil" }, { .compatible = "qcom,sm6350-mdss" }, { .compatible = "qcom,sm6375-mdss" }, + { .compatible = "qcom,sm8150-mdss" }, { .compatible = "qcom,sm8250-mdss" }, { } };