Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp223433pxb; Thu, 14 Apr 2022 20:48:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzy8P9GQ4BdeqSWOW+TbILQnWOuS+tTuHxSA+9WEDQnJRPJTAT0aaFv3N/uoiQwPR/hlKZM X-Received: by 2002:a05:6402:42cb:b0:421:c735:1fd3 with SMTP id i11-20020a05640242cb00b00421c7351fd3mr3189016edc.341.1649994514955; Thu, 14 Apr 2022 20:48:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649994514; cv=none; d=google.com; s=arc-20160816; b=QqQXGNNCsHqGhY9H8Su9shupq5mT3wIGg/xsUXzlk3UDQZqxCfKpSU1WvmjFRADV32 3LfIHDqaGYbpe3pdbZLWSqfCTYt8AihLBbD/hEoUxeg7YNgLH3om65XB6sQY34mdZdBv D5B8Oot4/+asQ6TmCaCauhyshjOysI6SgMac6AwJ2KKYMa8/UkJrc+pPKN9kg+5L88nC 9hY1s5Glte9uAcO4MQXHc8SJGlj5ixjUg8bBlau/tEiDl1D3QKRJ/tHPJbg7OqMuuxS4 xVxQEkUx5oYNksW5cPqsJtqZpVYeIUblmdyKfyu7oaRnfcykoouI2lsae3R8IBk4N03l /HSQ== 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=ZhgotGtN7H32XaYe1sAMElBr8P/GQISiherHJAmnvp0=; b=PsO8zrkV6vMHwaKlfFhmxi4u1fwmLkKizXQkBObMTCLWvvGYrlYBZNB1lKqylPB7nv 95QAExKcvlvdqVn/IatFgSX2rF8K4dRde00Ap8khx901fGjEFQzGzvB9fo15THk/V5hk rYalv5j6ryHmDXfi4Nen4G48JGk58j6O9trZuinT9e48u6gB8sLe2sn2dTjLJlYU2nSr K6oht54pQsUKc0HDez8NSFscaB6HYn79b+FvR3XMRS8UyWAfCMVqY3AI+Iv9al4s02SS hJ0C3+AKU+6bOS6peSFAm97Esfco+9jlWyee9ZA7w/7c8++YjOQsYFT8MRMKKPPLqpAK fDLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jfzmDxGZ; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g8-20020a056402090800b0041d8c2e752fsi416892edz.4.2022.04.14.20.48.06; Thu, 14 Apr 2022 20:48:34 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=jfzmDxGZ; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242184AbiDNKTV (ORCPT + 99 others); Thu, 14 Apr 2022 06:19:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234231AbiDNKTL (ORCPT ); Thu, 14 Apr 2022 06:19:11 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA6AD716E8; Thu, 14 Apr 2022 03:16:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4BC1761E80; Thu, 14 Apr 2022 10:16:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73885C385AB; Thu, 14 Apr 2022 10:16:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649931405; bh=eWSuTzQIdCpcp7wBi/vcp2ypL+Y0N4uLV0cvMiaCagk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jfzmDxGZT+wBJXbTlE24zBER1/D37jua/LZ/4V/ygcygMf7tlDq/FllX8NN1HvIik av4u6IqNI9yTQT7Q7ZITuySBh/9G549wYixkdRbnQ0yJU/6rzhF/YtooRCU0cRvZUS FSujsnQ6OkF+Ng5+7tRRhpAg439HkwcJMx6XSEbd4VbAerF5zpXXNt34sT5PjuFnYM k9cCDqpIJ/93PS24W7/sQatOGVQJ0RhXuzLDKeVF5nTwW/oLA9WbFJljkZZLXt3lp9 qbIPHdivpH0r5tPWaGXLMCwyctz7tRHSGjKkmeBL9SSyTaWdZjUS0PaJY6X1J9RIst JA9Cc5qUNYWLg== From: Vinod Koul To: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, Vinod Koul , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/7] arm64: dts: qcom: sm8450: Fix missing iommus for qup Date: Thu, 14 Apr 2022 15:46:25 +0530 Message-Id: <20220414101630.1189052-3-vkoul@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220414101630.1189052-1-vkoul@kernel.org> References: <20220414101630.1189052-1-vkoul@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 qupv3_id_0 was missing iommus property which cause any dma transaction to fail and board crash. So add the missing iommus. While at it also add interconnect nodes for qup Fixes: 5188049c9b36 ("arm64: dts: qcom: Add base SM8450 DTSI") Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index bfbb6e04fcb4..93ff677f0d35 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -738,6 +738,9 @@ qupv3_id_0: geniqup@9c0000 { clock-names = "m-ahb", "s-ahb"; clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; + iommus = <&apps_smmu 0x5a3 0x0>; + interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>; + interconnect-names = "qup-core"; #address-cells = <2>; #size-cells = <2>; ranges; -- 2.34.1