Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp898769rdb; Sat, 7 Oct 2023 03:57:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGobVzjMiUchdz/N5KO57fwPmFe+gaGyG7F13AK8bMmr/7InAdKLTkrpS72NtikP4mchBu9 X-Received: by 2002:a81:5b82:0:b0:594:e97b:f6fa with SMTP id p124-20020a815b82000000b00594e97bf6famr12057119ywb.30.1696676243964; Sat, 07 Oct 2023 03:57:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696676243; cv=none; d=google.com; s=arc-20160816; b=GVQn5Zm9tlcG5SQ3+7XOeFY1n8Ci9ZFhqy0eQ1CR1OYoNYhrS3G/8MKJPIn8qdxMuU 080Ay6REcJi0IbhLzQa6PWXWoUrdt8bsYIoJ3sZ5Raq1X/eIhz7ZjW+aGsknPSYAb/Mx 7GV+Sr2X7PnAsiJFvoqahbwvvWQjSQeUy9dhtvZp67dueIIGwSRdB/Ls7lSTsOSdpyqG 4MMX5TpSOsfgHdOsVorykE7XskEMc20pUKyhKdmEuPm+Ln4bWfXhgWZEloXOxiufk0CV sgmqek+VOChruUtQNC34FBLL6ZS+FKpJtY+5SbAvmqO/XrcA9XPu4I57jfE9LiC85iRC 6KhA== 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=vzxHVUf1E/nyslqBbhrRVP8QFH6rIBbsbWRY00E313w=; fh=Fzv2aYLDjK0dd3fDpzsN8+GxoOvYKi0/DFgXrT6MJPE=; b=xSpDvzHJj9P80Ynk57/CLaAvrcgmZMywr8tgcqsJ83lU+LQnqZ6Wzb38vIrjNOYWTe HOaTmVRXsTLsWBDhnvmJpnJ4f2zZCEDHMTXxIXXijnDhp285+1MTlwVHc7nb+CRHeMqr 6jKA3TgJ5Rx6XzEgVtJtVY8bFEgIBGPVJcPlqe3M43EsBcez0eFBt9ZZh0Xypr0S1XaN jIrAPXGL04m08UMndvn+Rc40XvALvui5xtG6LQbAjLRD6Zl2ZAMWDIEeNQr/cRi5F26h vgpV6XwTE60dBNHFPwPRwcrSs33+3kM7IgydJ/s+JzdyAUThF+yIzs/kEhoy0MavO34v LQAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mPHOeOAj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id h14-20020a17090ac38e00b0026d41496190si7850652pjt.85.2023.10.07.03.57.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 03:57:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mPHOeOAj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 2E5058119784; Sat, 7 Oct 2023 03:57:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343834AbjJGK5D (ORCPT + 99 others); Sat, 7 Oct 2023 06:57:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343782AbjJGK5C (ORCPT ); Sat, 7 Oct 2023 06:57:02 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3343F93; Sat, 7 Oct 2023 03:57:01 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F9ADC433C8; Sat, 7 Oct 2023 10:56:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696676220; bh=FbDCBpNcB5UA8Pkt82Ea7XaptxlhhJwPIUs8N5p1Y3w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mPHOeOAjSgipfP1E4/ZSmHjMoLg/VK4jn8AUf5SjmhS5D/fjs07/blfVev+cunNlC hEV8rDSOWcB898Ig04TXWx8V5U5mJnNuwK7iFi54crqVa1+LjCTMVHNL8el4BlwkDb hd4otYl2Meusl5NrydfCzJJu1M4OpD0Z0vY8xWvBu2LAnVHb5YlNo7pJOEvO7/1kq8 52K98XE0Hlz7VtObYvd7EghONIef2r15mwpXKuiWYIKWFuYOs0WAE4VU6F6lWKOLjZ prGsLoarVS0wyeoXYguBgdxJ5pUo37HMGuvDKcZLm0h7uBe9RA83hk2sps8SVlM3XF vcRa1z2hVf+3Q== Date: Sat, 7 Oct 2023 11:56:56 +0100 From: Conor Dooley To: Randy Dunlap Cc: Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , linux-riscv , Paul Walmsley , Palmer Dabbelt , Albert Ou Subject: Re: linux-next: Tree for Oct 6 (riscv: andes) Message-ID: <20231007-poach-refute-b84fe5b7431a@spud> References: <20231006153809.2054a0f8@canb.auug.org.au> <09a6b0f0-76a1-45e3-ab52-329c47393d1d@infradead.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vJKcyeb3DdW70Crt" Content-Disposition: inline In-Reply-To: <09a6b0f0-76a1-45e3-ab52-329c47393d1d@infradead.org> X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Sat, 07 Oct 2023 03:57:21 -0700 (PDT) X-Spam-Level: ** --vJKcyeb3DdW70Crt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 06, 2023 at 05:28:27PM -0700, Randy Dunlap wrote: >=20 >=20 > On 10/5/23 21:38, Stephen Rothwell wrote: > > Hi all, > >=20 > > Changes since 20231005: > >=20 >=20 > on riscv 64bit: >=20 > WARNING: unmet direct dependencies detected for ERRATA_ANDES > Depends on [n]: RISCV_ALTERNATIVE [=3Dn] && RISCV_SBI [=3Dy] > Selected by [y]: > - ARCH_R9A07G043 [=3Dy] && SOC_RENESAS [=3Dy] && RISCV [=3Dy] && NONPOR= TABLE [=3Dy] && RISCV_SBI [=3Dy] >=20 > ../arch/riscv/errata/andes/errata.c:59:54: warning: 'struct alt_entry' de= clared inside parameter list will not be visible outside of this definition= or declaration > 59 | void __init_or_module andes_errata_patch_func(struct alt_entry *b= egin, struct alt_entry *end, > | ^~~~~~~~~ >=20 >=20 > Full randconfig file is attached. Riiight. XIP_KERNEL is enabled, which means no alternatives are permitted, but that R9A config option selects the Andes errata, which in turn depends on alternatives. I suppose we could do something like (untested): diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig index 7b74de732718..6fe85255e2ce 100644 --- a/drivers/soc/renesas/Kconfig +++ b/drivers/soc/renesas/Kconfig @@ -343,7 +343,7 @@ config ARCH_R9A07G043 select ARCH_RZG2L select AX45MP_L2_CACHE if RISCV_DMA_NONCOHERENT select DMA_GLOBAL_POOL - select ERRATA_ANDES if RISCV_SBI + select ERRATA_ANDES if (RISCV_SBI & RISCV_ALTERNATIVE) select ERRATA_ANDES_CMO if ERRATA_ANDES help This enables support for the Renesas RZ/Five SoC. --vJKcyeb3DdW70Crt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZSE5eAAKCRB4tDGHoIJi 0sYXAP4lnHnMabjCni4wbpGFk69frnCb9rSEfcZuCdPQHjzcVwD/Tu5poWLRcoxu oUkhKLb+7gPk3njdHxW8GTEBJQZTNQc= =ZG8q -----END PGP SIGNATURE----- --vJKcyeb3DdW70Crt--