Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp329207rdb; Thu, 30 Nov 2023 06:05:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IEZkRukiy1A9uNePyGd/XurPbGTk9DxGeI6hGl3a82C63QWVVraZflK6iMmOX+ZhAefy4F1 X-Received: by 2002:a05:6a00:3926:b0:68f:a92a:8509 with SMTP id fh38-20020a056a00392600b0068fa92a8509mr40162795pfb.7.1701353132118; Thu, 30 Nov 2023 06:05:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701353132; cv=none; d=google.com; s=arc-20160816; b=GgBEaqc4lDTWo50thfm47wt01fPJkDO1ykOnEQIH3j+w/12hYkBmVUVX3/iQqnQq7d hfLWbfF3QVseJ8DGjhZbLg+IBU7LgJ9WEDR3qzllT0Vw/7AFAvVQYQrJvqcX2uKmsO4i 06w/OIaJWgfRqjatgaydDxi7H8T+Hpscw6TN2hQj7BNBKkQ8KsjLpSIOP9uSQTpKOTI9 bLq7ZJYs2NWz601jpYA0etxm+1Q1sdWFw3HmHZk1BnutpsP7TBJ6n/n2Nq9IIGt/6t7A nB3KjQ8CJvsPgcpjEAQFAdp/Y7fB+kjlJkbXKM5K+NSfTQtja8XTySgg2SPYCZZKkyU3 vL4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=LfuK+lnjpMq7KDvcItzq/BzXTfN4AnB0Pxhw/37Mz3U=; fh=M/Ksa/lA6OGDRDlDfYLvKp1UstPqbarIZMVJxTOTbno=; b=qEVwxai1CcS0KXgHh7ikueEnu8kmMSOzD8KXePHcYvVDR7i1IgqsheWRPJ8XYLfvJN SSbW/pf9Sz+ZPXB0uKgWxJbl8jIotESDY19FgYbnfPkRlLlQqhcxh/+K9yuDPrjBHwkz Quh7qIW2sA8JwjIXsgwugD4chX6fug/r5aq7uC/wY+BKR3KXtqHNnIxiY8qtNeAPJGTk lfBDUNhv19Hfbj/rUQh0tIOS7hn0pbswdNBH2/SD9j7sBZNjLA3oV0Cz8ycdUvp+dKvG nouiKUX5JUPlqtYQd8EYDO9WZ+L2LDxlno1tzFeyA+fw8CtIOxpxHP7M1kqcRavLAT7h KvBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=STUxfY0m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id t5-20020a654085000000b005c14c9b2d90si1303108pgp.59.2023.11.30.06.05.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 06:05:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=STUxfY0m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id 4AF048030A07; Thu, 30 Nov 2023 06:05:23 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345799AbjK3OFE (ORCPT + 99 others); Thu, 30 Nov 2023 09:05:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345794AbjK3OFC (ORCPT ); Thu, 30 Nov 2023 09:05:02 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADF071B4 for ; Thu, 30 Nov 2023 06:05:08 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40A52C433C8; Thu, 30 Nov 2023 14:05:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701353108; bh=lmIGpKWrJyGtIsNIsR54E9YSDqwPCFA4y8LfMhRheK4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=STUxfY0mRk7um76FD5/rHkPm2ztlpi6k/23SFfFByJTfCbR1vyS5z3yel3e2eWO9a 3ntX+q9LMyax8uzDlOX6ROZnAiqC+DErfFoYCU2aH2dOXFLiOCnDLU7T2/IyFTV7TO DPZKBfTNhASlgO5i0IdjK/TmS8ELPXrr5rZDnMl28ulftr+WTxB8BlYvf2dlkCBCnM ssX5AtKHdo0OV3IeBZPuH7rjrdsSd6PwtqmZSNizLyisS48kCd8KyvlsIXflO7ABOg jnSeI/AsywjB2WRTo2/kLi2RBsQr+JYYBZloviOZLzUdezNiPGs0cffFYGyXuJBOCl W5GwPvauUn2tw== Date: Thu, 30 Nov 2023 14:05:03 +0000 From: Conor Dooley To: Emil Renner Berthing Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Walmsley , Palmer Dabbelt , Emil Renner Berthing , Rob Herring , Krzysztof Kozlowski , Cristian Ciocaltea Subject: Re: [PATCH v1 1/8] riscv: errata: Add StarFive JH7100 errata Message-ID: <20231130-creed-fragrant-e0d91f125cb2@spud> References: <20231126232746.264302-1-emil.renner.berthing@canonical.com> <20231126232746.264302-2-emil.renner.berthing@canonical.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ioHz8gwtxd+71Mjh" Content-Disposition: inline In-Reply-To: <20231126232746.264302-2-emil.renner.berthing@canonical.com> 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,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 agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 30 Nov 2023 06:05:23 -0800 (PST) --ioHz8gwtxd+71Mjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 27, 2023 at 12:27:39AM +0100, Emil Renner Berthing wrote: > This not really an errata, but since the JH7100 was made before > the standard Zicbom extension it needs the DMA_GLOBAL_POOL and > RISCV_NONSTANDARD_CACHE_OPS enabled to work correctly. >=20 > Signed-off-by: Emil Renner Berthing Acked-by: Conor Dooley > --- > arch/riscv/Kconfig.errata | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) >=20 > diff --git a/arch/riscv/Kconfig.errata b/arch/riscv/Kconfig.errata > index e2c731cfed8c..692de149141f 100644 > --- a/arch/riscv/Kconfig.errata > +++ b/arch/riscv/Kconfig.errata > @@ -53,6 +53,23 @@ config ERRATA_SIFIVE_CIP_1200 > =20 > If you don't know what to do here, say "Y". > =20 > +config ERRATA_STARFIVE_JH7100 > + bool "StarFive JH7100 support" > + depends on ARCH_STARFIVE && NONPORTABLE > + select DMA_GLOBAL_POOL > + select RISCV_DMA_NONCOHERENT > + select RISCV_NONSTANDARD_CACHE_OPS > + select SIFIVE_CCACHE > + default n > + help > + The StarFive JH7100 was a test chip for the JH7110 and has > + caches that are non-coherent with respect to peripheral DMAs. > + It was designed before the Zicbom extension so needs non-standard > + cache operations through the SiFive cache controller. > + > + Say "Y" if you want to support the BeagleV Starlight and/or > + StarFive VisionFive V1 boards. > + > config ERRATA_THEAD > bool "T-HEAD errata" > depends on RISCV_ALTERNATIVE > --=20 > 2.40.1 >=20 --ioHz8gwtxd+71Mjh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZWiWbQAKCRB4tDGHoIJi 0u/jAQCrrpHJcB50JqgVgzMBgnx7WBxwRTTudybT8nQKUtYhFwD/cfgMwzTaZjJq WBDq1ck0ck5FCB5pz9sJ3Wmfg/dAmg4= =Mabv -----END PGP SIGNATURE----- --ioHz8gwtxd+71Mjh--