Received: by 2002:a05:7412:bc1a:b0:d7:7d3a:4fe2 with SMTP id ki26csp916718rdb; Sun, 20 Aug 2023 08:26:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHtuyVYvvWGIFfGS4CoCBoFe2s/5+vORy+E/q6YUSZIskL7ybJNYGLtYcdBoc3K/zuQUQIk X-Received: by 2002:a05:6358:6f16:b0:12f:158e:ed88 with SMTP id r22-20020a0563586f1600b0012f158eed88mr3933374rwn.22.1692545205223; Sun, 20 Aug 2023 08:26:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692545205; cv=none; d=google.com; s=arc-20160816; b=gYppy+oI/fsmA9H4IL7XAA8Q+HV1frjEfumEB/ZZC+4C/fZnxwaXLe/3/GffTGVQrM VVx856M2JdEwbNgkQH3gCi8mtfa5Hm3ge4Zmq5oJJmT/SZ/tBP8jDre7thPgp12dvX8M iSPe62xwNyUR0esx2PhtTb6cKfFQGZ7GpZvuoR+MDu29WCl3ODBrec1hyY6OcF6jAwJV Pw/Ekj1iSKgKUub1IsaElRlXnbvH0Pb27tzkGNkO2+K2eI62gqmek7Y03/JYdLPDjP0Q d+avYOEXf3XNy4N6THbtvhxYPefYeUvdQUAX/rgIlp4gcgn4ziPv6fTh3Yo2qetPMyZ9 WuRQ== 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=R5StZgisw6RgVZRRPBvchB1hzY/rF7Eq0nti2oPmUj0=; fh=RYGm1wVpUhZJeFcgKNnohRVQDz31qp5OO8t671gH16o=; b=0FtDvRE+6rXnRboeA1nrSkD4tU/aLQ9eyoZSDzGQrcVCr3y0ogNCq1n10LJNkLu/GT 0Eega6YT/KUSHmJlxfZzLJxmv7jLguhv5h6OFINRpC4hldrD/Akwzil0a2Vkt2pS8AuP YSK2Vg/mZPJc3kCxf9c/+UjKWQWwrpPPjrgK2SlYEy93SnFj+rVdRRrxhsKZfqK1lr7o Yhlst/gkpqHwpJp4RpVXjggEgRhCtrRpAdpNV5nSrAHas4+GW1LKPRrjKtwBEUMt8Cqe esaLelThPoWv5MW2ksDBOimqxoHk27QlH3+G3lXltGDKNnIQsKkRCyyWoQ3CZcQ5FPss F4yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lBhFelwx; 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 l3-20020a656803000000b0055fce913d52si5419197pgt.761.2023.08.20.08.26.33; Sun, 20 Aug 2023 08:26:45 -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=lBhFelwx; 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 S230459AbjHTMIv (ORCPT + 99 others); Sun, 20 Aug 2023 08:08:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230211AbjHTMIt (ORCPT ); Sun, 20 Aug 2023 08:08:49 -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 7A34F173E; Sun, 20 Aug 2023 05:05:44 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1024260B93; Sun, 20 Aug 2023 12:05:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF683C433C8; Sun, 20 Aug 2023 12:05:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692533143; bh=mYM2vfohaXJm9wMSr8t3sP42ybTz9TQCqDlYfD3i/x8=; h=From:To:Cc:Subject:Date:From; b=lBhFelwx0NXe7LAJI7Vn46GBOQtmqGHSWiJ9xvWWj7syXxBBmMS850A3yOhjhd4hW 24lA71wAFjQtELNwM9sjlDmBalHCRbXHSMeqi8a28iRF192wrZu4aA/2Ib1KIh8ODC 1FcsJI1R+n6BeR5AqBmL68bXv/bLjnzgvJ/j/4G6yhXSgg7T4LCvSLqBRwX9eaSUem 2hg/gemykNUTwdDPhAfaWze4Hg2uDidXBm87CYhpUAkAgeprjMu7FB1YJ/Bgacuc/P CHFtOfaz6jfeYNwDYVy9fviPVZPlE+B8GZoFux7vq/fEAJm1cGIrrzP2ekt1zQQ+5f iQp+8lIMBROBQ== From: Jisheng Zhang To: Guo Ren , Fu Wei , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: inux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] riscv: dts: thead: set dma-noncoherent to soc bus Date: Sun, 20 Aug 2023 19:53:53 +0800 Message-Id: <20230820115353.1962-1-jszhang@kernel.org> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 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 --- 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 56a73134b49e..58108f0eb3fd 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