Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp383957rdb; Thu, 30 Nov 2023 07:20:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IEnwD4qwwcBBrX+bUHpFrDJ3w9OurQLz5M/J/iEPfwg8I6uOjnzOMb8BuH/rliDRFtCpU2X X-Received: by 2002:a17:902:7d87:b0:1d0:1216:8f1f with SMTP id a7-20020a1709027d8700b001d012168f1fmr5679132plm.52.1701357631784; Thu, 30 Nov 2023 07:20:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701357631; cv=none; d=google.com; s=arc-20160816; b=fKkuNAutF7/Ijuu+u+1v2rGaVh548aXo9TQ0mL/42Kf4gsxOuAD8poZMQQCIfZFST8 coaazwfFrozsCATBW+2jzjDl0QRtDawH3eF7U3e3pyIJjVn+4eP36RiUgo3FbHIWj9kv qy6u4p2q/VNBxSlq2NpKhs1WhjDvQMWOfGlrjk1vLppQCyqYCDxenVCza9/E44PGn3pL 7+9urkrF73Ff95NXJLrylFJ16pOgqLV9GVoW1CPIxS4tDakDXXxlhJrjnBhN9BfenPel x3NBeFdqPaBw7+/tJnpjjjz0C/PSu8bwoMfzOiyvYpnIZ4Vu4h0xUiuOfgL0HnvYehTU wv9A== 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=O3TPicaObXUf+CQ2/13bF4S5EM9ZMGJpI/eXjOZpsCQ=; fh=NvA51qyXSn7kpTUnUCR3XxNBvNL2Nf7YWYn3beZK+Y8=; b=BHtI0kJlgxpmAUB61kBjrQkJpHJu/T4yAyyLbiaO9C8NVGk5p6AnKWp68Wjo+wbYyK AKHygMOz4wTmAytoEPDMEeO4yP0RhsG8gezpvyaKOI9aoYe3JxglcZHbd5PEc2CX5AtP aToB+xgxnPxQMrv5iXZK+LO8cgtshGLs46yobzuMzUptTDR7tqMpnjsizGJpzaTfNpNg Y2IOdeVtAMe2xGhPHGXKIr+MDpnh6fOyhm6IkLNcstIu07Luegz7tTCv6IXMz/cxboTy vH9tQoLR1mrDZ58S9t5fwFcB5AIxDegslwiEFhne76SywEIdeccJDjjLHFMIj9gurJ8O 8nRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=rjPwgCGo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id a5-20020a170902ee8500b001cf6453b25esi1362845pld.543.2023.11.30.07.20.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 07:20:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=rjPwgCGo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 0906080215B7; Thu, 30 Nov 2023 07:20:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346242AbjK3PUL (ORCPT + 99 others); Thu, 30 Nov 2023 10:20:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346231AbjK3PUI (ORCPT ); Thu, 30 Nov 2023 10:20:08 -0500 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3340910E6 for ; Thu, 30 Nov 2023 07:20:15 -0800 (PST) Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 0EEBB3FA55 for ; Thu, 30 Nov 2023 15:20:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1701357610; bh=O3TPicaObXUf+CQ2/13bF4S5EM9ZMGJpI/eXjOZpsCQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=rjPwgCGosAQVwCOmWpGHVVCvFG4aIq8Ii7KxZ8Vfkoxy1vM8gTKTxbc+QjsjCmeHj K1HZfIZjdFVdKvUfv8zesr7G3+6IgkQDnmV8dI6pHfBAUhgEX5y/L2/17jTzOAU5zS zYq7arAxqEiuyruPZ9GfuiBYadqUJ3jLxcN7sLTCNTfBzrTaLWHGKXEKkKXw3zfxaM myQUxaojkcXxPEJZ6FSlS6cJTAcBlegkT5J5KKiQqWaljLG0Wo4YCERqLxl2bJPdqE PdS25p44Og+fql3Fl9SvYVNYZrHmSNubRAeVR06BzY5ZbYvNqfEvLM6U+m7H9W8M9t tWJ4M4kbu8zAw== Received: by mail-pf1-f198.google.com with SMTP id d2e1a72fcca58-6cba754b041so1391432b3a.3 for ; Thu, 30 Nov 2023 07:20:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701357607; x=1701962407; 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=O3TPicaObXUf+CQ2/13bF4S5EM9ZMGJpI/eXjOZpsCQ=; b=hJi8mZ/o9hI9TcfRZc+iJHaqduYcD9vM/reQtZQ7hXURWdemSR12v8A+B+ERKJoZoi krMQ1oAQqghxpMaxjnyUA4yZcL5A9QKD52lGPgHiMSDOhuDdZKcwoBPDzK/XNGH6fzIo FKqyoIF2SbdrYe66l4vrFEjdfifaeESXNiuvL9paykWLoZKteFy3rUzJpKKgzkExgzCa 2zmCiJMYg+5YZWFKCrWakUFY61d5L5AXWiYKj02usnsz+gzFqlVzNKOAmni5a3BgKp9N eF5Zv6CnsumZFmVF8i17Fogn2gtpyGCeK7Y6II2w1Oi3oi/YsPDvbmWxipH5NHQyK24E QQqQ== X-Gm-Message-State: AOJu0YyMkp/SSemCTCUb3gmNfwUckYGEPrVRmJhezQId9Wk/4W5NZfoR I9WKdN7BovzzKdmcitcM4jMkZqNXxDU0wiW693taD0dUu4R2MTUwYtM9wIwdT7TVWaCtg5DXZbO hIaD5qLSplBbJ2cucUqFJQwCR5cHWSpVtLQ/DgmCrBg== X-Received: by 2002:a05:6a00:1914:b0:68f:f38d:f76c with SMTP id y20-20020a056a00191400b0068ff38df76cmr24404052pfi.6.1701357607362; Thu, 30 Nov 2023 07:20:07 -0800 (PST) X-Received: by 2002:a05:6a00:1914:b0:68f:f38d:f76c with SMTP id y20-20020a056a00191400b0068ff38df76cmr24404026pfi.6.1701357607117; Thu, 30 Nov 2023 07:20:07 -0800 (PST) Received: from stitch.. ([80.71.140.73]) by smtp.gmail.com with ESMTPSA id y125-20020a636483000000b005bd3d6e270dsm1356002pgb.68.2023.11.30.07.20.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 07:20:06 -0800 (PST) From: Emil Renner Berthing To: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Emil Renner Berthing , Paul Walmsley , Palmer Dabbelt , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Cristian Ciocaltea , Geert Uytterhoeven Subject: [PATCH v2 3/8] riscv: dts: starfive: Mark the JH7100 as having non-coherent DMAs Date: Thu, 30 Nov 2023 16:19:27 +0100 Message-Id: <20231130151932.729708-4-emil.renner.berthing@canonical.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231130151932.729708-1-emil.renner.berthing@canonical.com> References: <20231130151932.729708-1-emil.renner.berthing@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email 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 (howler.vger.email [0.0.0.0]); Thu, 30 Nov 2023 07:20:29 -0800 (PST) From: Emil Renner Berthing The StarFive JH7100 SoC has non-coherent device DMAs, so mark the soc bus as such. Link: https://github.com/starfive-tech/JH7100_Docs/blob/main/JH7100%20Cache%20Coherence%20V1.0.pdf Signed-off-by: Emil Renner Berthing --- 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 a40a8544b860..7c1009428c1f 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 { -- 2.40.1