From patchwork Mon Jan 23 13:19:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 47143 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1605244wrn; Mon, 23 Jan 2023 05:22:58 -0800 (PST) X-Google-Smtp-Source: AMrXdXtRM+5wJdcxOuhKWSu8uukphyUSb+DyVV9SH+YEqeoUqNeEGMpKT8Kdb2MpNMGHorF+4xNQ X-Received: by 2002:a17:902:e845:b0:192:f45e:4197 with SMTP id t5-20020a170902e84500b00192f45e4197mr33855609plg.31.1674480178167; Mon, 23 Jan 2023 05:22:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674480178; cv=none; d=google.com; s=arc-20160816; b=sKzD/tYLy+xp+O6f/lLNzy0SEFz9ggz9sT3J7ji3dHVTDzGuyjPPJWmm/N5P7aiBsh yodmTT4LDBZpeLq0Rb/F8e/e7WzLZqb53xZ7ay+kLJGsR9YHapk7B24WJt7DtJlx7Khc IET/9FiAVBfmM/MQW9kH1JgDoY6H0g9lK+MNkbj3bauQEnoiJIjY2PPQExELMCySSEfX Y9NhDCiPa3PvXgsdYiVvrWqMI54N+uO3V9pGwSQhiWgJvlLwpE7Jhhhvle5VTwllOcFZ VArN5FICvv00GFnb7ixI9JVZBmZK9rP0lU53U4RBnEJKEcZ0VyeX6l65VAM1ZtXr46wT l0Sg== 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=WMZ85FVbs1razWOw43g+c6f7IoFKYG0ZHhwwE8xTxuk=; b=mfTHpadlyB2ECyBbixLe9jsNAmnMqqnvNSDQP2VUG9AAO5WfFVdQ9uJ8zrnM2piyZD IbmVeXaE2jDGe0/oUG8H/9+6pUvsFwIxndeJmqkcXUbbcl05RaK2SfUBcB9vJvWyKVWe 3EdEMsVLFOa55o+oi8yDo/PmBtOEKRTXaSC6z4Q+Thv8qE2C+QF0KmehGNWUJsGrwsII HcPKV/ddCNBX+8VJoauJgRpMYrCv9LFIZVWPgGi4D+px0hoKcmUASkqcGm5Lo26Hlj7q +R0ajluxhp5NR7u4arh4iL2e+fDDarnOx0TgVWDycd1q4g41kN5CUxOsGJDmvUEqmyLB v3ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=R7WF00+j; 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 m13-20020a637d4d000000b0047798cc3bffsi9293228pgn.246.2023.01.23.05.22.33; Mon, 23 Jan 2023 05:22:58 -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=R7WF00+j; 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 S231841AbjAWNUK (ORCPT + 99 others); Mon, 23 Jan 2023 08:20:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231904AbjAWNUG (ORCPT ); Mon, 23 Jan 2023 08:20:06 -0500 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24F7D252B9 for ; Mon, 23 Jan 2023 05:20:04 -0800 (PST) Received: by mail-pf1-x429.google.com with SMTP id x4so8741918pfj.1 for ; Mon, 23 Jan 2023 05:20:04 -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=WMZ85FVbs1razWOw43g+c6f7IoFKYG0ZHhwwE8xTxuk=; b=R7WF00+j43cj6mfbSwdgDbnXqdJSVInk67fmnpePKQTkc1eEkRY1aljW9i42KBmHtI MvhiEesapa/loy+KhbJD56v+31cNMXcs+3kdI94inkovtcm+TS7VGL9DMvth7jBBZlcA gRNkj+jw3ZE+BB6jVlIvADMp/u6BEKriJCINNoIL4wm4HQDlNIi1A5jHlaPDWD3U18Fu cjh5deSJvaq7b88shlvPBXuphs1LkSjY9+pN6Hyj21UTnoOSvxltYW2AorYouJIDb0iC ZUy2CsfyiJky0rLaHaTPYzVpn2EHt2I+FLCGXsKpinP+6ttzEoU1XiMNedEAC+fL03KZ mc4Q== 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=WMZ85FVbs1razWOw43g+c6f7IoFKYG0ZHhwwE8xTxuk=; b=igvlRvNDCEbGs3sur+D6k4uY6bV5YRyzZITqHljVbjkxbhYY58S1KxHBi58OpXTQHm f6A0TDpGkiL5C7V19BeN2EuPuK4QG8QwTD6oDa/56/qLP+kusftY8HWntjFSdbqL4May +1vQdPwFpx0xvU6BSWYxzuGgnLH9WnmAQBCV8+OVy+CUt7x1orsOFrphD18usK7fbq2K 8nBd2Bx/6Mr5PFa9fKZRGlhvO6JVY3YeYWD4uqo6gIgDLEFo8iEWuqY5cwBnvfRJ+ybx ksrYFi9a8JxaF/cFuPPHc8jvu+uSvBl1wRrqoyKdsJukwP/3VbIVdQz/UzYCRHiZHaB9 rEsw== X-Gm-Message-State: AFqh2kqQAZ0M75ByUM0VEnbM/i8wTPhcZ86FHFlLUH+DSFeqVOLq3+o2 cjKlhbJ3syLQ9+bvtQC7pPJV X-Received: by 2002:a05:6a00:44c5:b0:580:8c2c:d0ad with SMTP id cv5-20020a056a0044c500b005808c2cd0admr23386125pfb.13.1674480003621; Mon, 23 Jan 2023 05:20:03 -0800 (PST) Received: from localhost.localdomain ([117.193.209.165]) by smtp.gmail.com with ESMTPSA id q20-20020aa79834000000b0058134d2df41sm30818783pfl.146.2023.01.23.05.19.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 05:20:02 -0800 (PST) From: Manivannan Sadhasivam To: andersson@kernel.org, will@kernel.org, joro@8bytes.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, dmitry.baryshkov@linaro.org, Manivannan Sadhasivam , stable@vger.kernel.org Subject: [PATCH 3/3] ARM: dts: qcom: sdx65: Add Qcom SMMU-500 as the fallback for IOMMU node Date: Mon, 23 Jan 2023 18:49:31 +0530 Message-Id: <20230123131931.263024-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230123131931.263024-1-manivannan.sadhasivam@linaro.org> References: <20230123131931.263024-1-manivannan.sadhasivam@linaro.org> 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=unavailable 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?1755819695415160017?= X-GMAIL-MSGID: =?utf-8?q?1755819727072522980?= SDX65 uses the Qcom version of the SMMU-500 IP. So use "qcom,smmu-500" compatible as the fallback to the SoC specific compatible. Cc: # 5.19 Fixes: 98187f7b74bf ("ARM: dts: qcom: sdx65: Enable ARM SMMU") Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx65.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-sdx65.dtsi b/arch/arm/boot/dts/qcom-sdx65.dtsi index b073e0c63df4..408c4b87d44b 100644 --- a/arch/arm/boot/dts/qcom-sdx65.dtsi +++ b/arch/arm/boot/dts/qcom-sdx65.dtsi @@ -455,7 +455,7 @@ pil-reloc@94c { }; apps_smmu: iommu@15000000 { - compatible = "qcom,sdx65-smmu-500", "arm,mmu-500"; + compatible = "qcom,sdx65-smmu-500", "qcom,smmu-500", "arm,mmu-500"; reg = <0x15000000 0x40000>; #iommu-cells = <2>; #global-interrupts = <1>;