From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 41144CC6B19 for ; Wed, 14 Oct 2026 04:34:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jgrKJENA6Fuo/kBiIZwLHpnxCBpu7F/vcADbosM2nII=; b=Q0OLU5dyG59DfP/tX0jCz2lDVN EOzNNNPY2xc9zhyCKdCbUKBtyWsfO01MIBA6Zj7S0k8tS2dUy7cA1vG9RhsJX4zGk/diDxGtRHaGT ec/osqq0Guiy/ossHPfGw6FWha0Ag284Le5p/Qa0+IP5qVDm7pOXBRGBef1IARjDalxg/9a5Q9phT etKqQA8e2Sf03HMktpkJcg80wBqdP7i0bPb0V7n32E73xnP/eqmMDSib5XlDK0P7KAJNNMDBAeUvQ mMYnCxFOT0y41l6xPtXGaQH4vptac0einC+PstPosKMWLbt8OcpHI7SYYnFO0IC1EEeBzJo7czs9V H5DOkcAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xGqgf-0000000EVSK-2dQU; Wed, 14 Oct 2026 04:33:57 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1xGqgc-0000000EVS2-2IsX; Wed, 14 Oct 2026 04:33:54 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id B509960213; Wed, 14 Oct 2026 04:33:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF5541F000FF; Wed, 14 Oct 2026 04:33:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791952433; bh=jgrKJENA6Fuo/kBiIZwLHpnxCBpu7F/vcADbosM2nII=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=bXZ1cR0ReD4VORVk4VdqfFYNw0NqiNoCQxEWXenGRsIR1SJYoUL0iLjQbmilRgtuv KmyEY3Ubi4MKwXDMWA1K2bLUWf5P6jJxcGlz45GJRoRIfbF4ggFCtjyKr3uKtEGLY2 iU7WQeT+1QddV0alJIgB+wuyZO2Zu+E0hQYPvcIbGQSfAdRGuXF5sWcA3I81tVSsDp /X7sba4zBQ29cFX+5++4g1nI6Ep98jOi+9Tvp+gv/M0phur0hNIRGqO7kVKAiGBtma RAxZuU4+hVN3DDsMn5ko0pjOpw8XZNhB7v3WdFAVzAZYQoWAFQK9g1PdktCxx21LnN kxzyLfTIXSN4Q== Date: Wed, 14 Oct 2026 12:13:49 +0800 From: Jisheng Zhang To: Geert Uytterhoeven Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Conor Dooley , Will Deacon , Mark Rutland , Magnus Damm , linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH] perf/renesas: Remove remaining RISCV_ALTERNATIVE references Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Oct 13, 2026 at 10:38:39AM +0200, Geert Uytterhoeven wrote: > As riscv always selects RISCV_ALTERNATIVE, the option was removed. > However, a few references were left, making it impossible to enable > RZ/Five support (ARCH_R9A07G043). > > Fix this by removing all remaining references. > > Fixes: b924210f542e13c7 ("riscv: remove RISCV_ALTERNATIVE Kconfig option") > Signed-off-by: Geert Uytterhoeven Reviewed-by: Jisheng Zhang > --- > To be applied to riscv/for-next, or folded into the original commit. > --- > drivers/perf/Kconfig | 2 +- > drivers/soc/renesas/Kconfig | 1 - > 2 files changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig > index 245e7bb763b9947a..8cef4bdef76aecab 100644 > --- a/drivers/perf/Kconfig > +++ b/drivers/perf/Kconfig > @@ -117,7 +117,7 @@ config STARFIVE_STARLINK_PMU > > config ANDES_CUSTOM_PMU > bool "Andes custom PMU support" > - depends on ARCH_RENESAS && RISCV_ALTERNATIVE && RISCV_PMU_SBI > + depends on ARCH_RENESAS && RISCV_PMU_SBI > default y > help > The Andes cores implement the PMU overflow extension very > diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig > index a63df28df3b5e7c7..0b6876ef6dca228b 100644 > --- a/drivers/soc/renesas/Kconfig > +++ b/drivers/soc/renesas/Kconfig > @@ -461,7 +461,6 @@ config ARCH_R9A07G043 > bool "RISC-V Platform support for R9A07G043F (RZ/Five)" > depends on NONPORTABLE > depends on !DMA_DIRECT_REMAP > - depends on RISCV_ALTERNATIVE > depends on !RISCV_ISA_ZICBOM > depends on RISCV_SBI > select ARCH_RZG2L > -- > 2.43.0 >