Message ID | 20231029042712.520010-7-cristian.ciocaltea@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp1519861vqb; Sat, 28 Oct 2023 21:28:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHKep8RxD0A8u/ujrphgOhjRn8HOekgFYzRlFhSIn5tJruCTSoQgBYwMg0De1hkDv4+BRNh X-Received: by 2002:a17:902:cec5:b0:1cc:3385:b7b1 with SMTP id d5-20020a170902cec500b001cc3385b7b1mr3561695plg.3.1698553688757; Sat, 28 Oct 2023 21:28:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698553688; cv=none; d=google.com; s=arc-20160816; b=sGVqzNJ/AEUJg0O46Uu/eyZWeH3yHkbryNF6vB4v5lR+EtnL9XbUhENIymEda6MGTO WncRW/X6qPKxRlYyyFXKMA7GhEtZHQtKBKQ6BRvKCsXSj2py8YXvk2hT/itqGupy1dgW PX+e9bTAOiVABrOA+Gy2DlLipH+11yDwUpESWucaEjS1dtb7fsW/gTTsEAvoo87porIL 7E2KZBf/aVwBRNEbb1IHMuKv5MCK9jS4NJmJkycZ9M3qHq1C6Ys+ZnBas7Ow6B+6E/9S u8lvJM276dU28vP4REfhJ/Bj+lasdutBpkyWHjOtQOMrxOlP5Lua7atUJLUh4o6B5x0H W2Fg== 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=k95lR2SkhBwwrFQfyiZ4jmYR/7Z5RCNeVgWoLCe1gPk=; fh=25s3loOErHHhz1K9ubO5//IshGSacG8hTjzYtMWmGEo=; b=FnlNQx08SzSeyZxSfZats7Qey8f2Cicz56gByBPZiMS7XCYwaSZN7YEQ2ahriIIUbL RMimXozYwNth6bXlpFWtTV9DAe7w+GIx3CdBqSlTap7HFdi53xYPznZeAD0l/xuQGS/i QEib8a2TotOMYDwg1EOp7mAYeW8gP7uVQC6XVFLS2ScuTyzBVxmQg3jWziUxPyO914vC hOxgLRBwTnQgRdHQNsSFDtAVVBxvw4EJGalxuBOd5nCeuBDy7vbcfR1myR1+AYucfmb5 mk/xggmsTkOst9sWar5+2poDxiZmrUTTbRYE1pji9u8ORsFxN48SEzGVodtvkhnDUkbi ejSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=hO7JKhCf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id lc11-20020a170902fa8b00b001cc0cd0772dsi3243293plb.86.2023.10.28.21.28.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Oct 2023 21:28:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=hO7JKhCf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 691F88087261; Sat, 28 Oct 2023 21:28:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230077AbjJ2E1u (ORCPT <rfc822;fengqi706@gmail.com> + 30 others); Sun, 29 Oct 2023 00:27:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230055AbjJ2E1n (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 29 Oct 2023 00:27:43 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B30C10B; Sat, 28 Oct 2023 21:27:38 -0700 (PDT) Received: from localhost (unknown [188.24.143.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id B04776607388; Sun, 29 Oct 2023 04:27:36 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1698553656; bh=ws/tHftC6ooYXFFPrRkdjo583U1IPv/5VDVbOl/IleQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hO7JKhCfgez4T2EdD7WdvDzdPCr/74lUNLBlZiIJrZFAB1wawXL4bQeTCrsiL5oK2 Ef/Y6mxqH+0jfzTktFf4NAqixF5R8VcduHXBNa8HanlJ9Ee+qTcgwm0K7AhyHFFk50 xq2HZox5esJDX1w7WAVPy5G4wHEaeqO7RREU38MBxdSct1YdbILqymZ3Ckdg9ybW8e samRlBIopNGtUSJVE9F3pKDQ8BtRBwWKUUxN6dCOH45PlHOcB2wNbSBmoIRuixe4PD IKf2ch/qYB7zxV+dxuUfMYSyzOHObaGDiiCibF5A5UcNEVC7Gsr38czGoBvd9lfTRl QBaTfTewEIMOA== From: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> To: "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Emil Renner Berthing <kernel@esmil.dk>, Samin Guo <samin.guo@starfivetech.com>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Jose Abreu <joabreu@synopsys.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Richard Cochran <richardcochran@gmail.com>, Giuseppe Cavallaro <peppe.cavallaro@st.com> Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, kernel@collabora.com Subject: [PATCH v2 06/12] riscv: dts: starfive: jh7100: Add dma-noncoherent property Date: Sun, 29 Oct 2023 06:27:06 +0200 Message-ID: <20231029042712.520010-7-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231029042712.520010-1-cristian.ciocaltea@collabora.com> References: <20231029042712.520010-1-cristian.ciocaltea@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,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 fry.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Sat, 28 Oct 2023 21:28:06 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781062632680743299 X-GMAIL-MSGID: 1781062632680743299 |
Series |
Enable networking support for StarFive JH7100 SoC
|
|
Commit Message
Cristian Ciocaltea
Oct. 29, 2023, 4:27 a.m. UTC
The RISC-V architecture is by default coherent, since it selects
ARCH_DMA_DEFAULT_COHERENT, but the StarFive JH7100 is not, hence provide
the dma-noncoherent property to the soc DT node.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
---
arch/riscv/boot/dts/starfive/jh7100.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv/boot/dts/starfive/jh7100.dtsi b/arch/riscv/boot/dts/starfive/jh7100.dtsi index e68cafe7545f..06bb157ce111 100644 --- a/arch/riscv/boot/dts/starfive/jh7100.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7100.dtsi @@ -144,6 +144,7 @@ soc { interrupt-parent = <&plic>; #address-cells = <2>; #size-cells = <2>; + dma-noncoherent; ranges; clint: clint@2000000 {