Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2414476rdb; Tue, 12 Sep 2023 00:34:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGWv3C3FBshbI1fTE/kznbI/a/Tn4Ih43KA+xEdKfhnFAyqZhRkDBxaS/XJCNPNd9wB9vNE X-Received: by 2002:a05:6a20:7da5:b0:13e:99c0:fe6e with SMTP id v37-20020a056a207da500b0013e99c0fe6emr2209626pzj.5.1694504075555; Tue, 12 Sep 2023 00:34:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694504075; cv=none; d=google.com; s=arc-20160816; b=PsBk35ihHYxYkVE6X6fuxkmzdxzNd+kJMSTboqx9ga3fXzUWYILjwAKUqPkM8OK+mD c5eOapS65qhGPBclEyQs14lvWq/bB1tV60bC02GTijz8P/bae6K76+JSIKbO8XO/6NZn bM+N9K8znsNEmeP6q5/W5nzOTEzP3orSYYbz/z2FtGPnG1u+wiSqaHMvUQxb7Hks+6wD auv0qoIvcRmn5dIq/ssML7WbdgP778fFgxYn1vOz0i2ZSX1UEfHNoi9CB/2UZaHgX0/C jq374HvvUQT3yLIW4hftQCWtz61L3GjN7TddkT/1F6aefjrVINGy3bsRyi4LoB9AHOFJ iZFg== 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=0YY2rmOr7n25zgEkAFy8xxKuJlkM4gQ3JZ+fvb8Zog4=; fh=3XMcsrNZ76pIBItVjCI6p/SD63uh8Gf1iyB6k9KC/dc=; b=wuqCTWRGT0J8JikeARnO4Moukx5lvHEZtu810O0I3nYO2UV+JWqbnVrLz8Ef9Bv0yd h6fsdLWOwtD3tW5IfnY5U0a57MdmETewXXULWIDtEHP3hTyXCL22zhcAs363B+qF/2YB bE7gnE4w115zszrs/h3T2CQiguKVRDPBzdwypZB8e/6Wh5X4ESwEEyX+ScmyGoF7G+OX +UrNahFE8O/3s0LzMd3lWpAmwGJnTop7b+ufuOW6omH0g+8CkexKEkSyagzfkk3/o2ZG IOPLe93DIPUgye6YaVFbwbyEt0H6ZUWfImgndt/g8ZxKZO5AR7C4hSjAPjGmpmVTMU3b LAzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B36S8DTT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id g14-20020a63e60e000000b005740ab95917si7204159pgh.45.2023.09.12.00.34.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 00:34:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B36S8DTT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 6C8338052BE1; Tue, 12 Sep 2023 00:34:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.8 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231635AbjILHed (ORCPT + 99 others); Tue, 12 Sep 2023 03:34:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229981AbjILHec (ORCPT ); Tue, 12 Sep 2023 03:34:32 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88B84B9; Tue, 12 Sep 2023 00:34:28 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6DE0C433C8; Tue, 12 Sep 2023 07:34:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694504068; bh=xC6q3HYiwW9CEGzJvj/sjpQyCTVoGfRxTt9DU15lsZM=; h=From:To:Cc:Subject:Date:From; b=B36S8DTT292C3Y/z3w0PZdqkISNsor2tvJRyDzHkyvoejCDbdPUO+eAs2CVWuy3Ni HkDmMaRwCxbfPegnuc7asX99szOYHD/gq/kH9BcwqE5POyG1S0U+QCp4bvbC61Dleg zzdvafPvBPod5m5Yqgdb6ZRgtEr8ySKIhNnbIQYjceYnfIZWQueqxgs0Gc4oqFIjgn IQkacC0hQf0mCsutjBAROzg2nv9GRxjqgCyNTo2AUK+CFzV7H2L13Yvbzq4oI8flJE I8VnE/BeSrM3RcnwLyOuUh0E9ecDT66E71MzgOqRFIwkBKxBxAiA/4tS5LD1mwXfXT yWSKvvGQhV6Lg== From: Jisheng Zhang To: Guo Ren , Fu Wei , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Drew Fustini Subject: [PATCH v2] riscv: dts: thead: set dma-noncoherent to soc bus Date: Tue, 12 Sep 2023 15:22:32 +0800 Message-Id: <20230912072232.2455-1-jszhang@kernel.org> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 (groat.vger.email [0.0.0.0]); Tue, 12 Sep 2023 00:34:33 -0700 (PDT) X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, 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 groat.vger.email riscv select ARCH_DMA_DEFAULT_COHERENT by default, and th1520 isn't dma coherent, so set dma-noncoherent to reflect this fact. Signed-off-by: Jisheng Zhang Tested-by: Drew Fustini --- Since v1: - rebase on v6.6-rc1 - collect Tested-by tag arch/riscv/boot/dts/thead/th1520.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi index ce708183b6f6..ff364709a6df 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -139,6 +139,7 @@ soc { interrupt-parent = <&plic>; #address-cells = <2>; #size-cells = <2>; + dma-noncoherent; ranges; plic: interrupt-controller@ffd8000000 { -- 2.40.1