Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1114406imw; Fri, 8 Jul 2022 19:31:07 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tLqkdQ2gEB8k6Km7ji+Skk/627VNhmH1inU8XbISQ4vHqqCUGjx95jO22K+NezoLHe/HeL X-Received: by 2002:a17:906:938a:b0:726:942a:54ef with SMTP id l10-20020a170906938a00b00726942a54efmr6707571ejx.728.1657333867024; Fri, 08 Jul 2022 19:31:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657333867; cv=none; d=google.com; s=arc-20160816; b=iM0RJ1QrODeh/zsRKz+g8ZqN0yyDPLb0B83wN7cxBJzVCENPVjzKmEwhpUTq7Tpd6o 49xUaw3RILZMZEgzUi9bSs3IotiLW3Zgz8JDUiBXf68uJaLOqTSBginJqJ1Jtprqd70c O6TU1ljZ7Z2nvflRWkP3V7GR2znPbyMHNNNWkT2PtA84aUJaFQ2kx3iFtamppU85H/0H V1C3CKyWQF3i3RwrqbShVRw8MoIxwe+e69j+VtjmrntSEiRy4rA4ODTV24TIfUGH+9wh Wyu5jzWtzoChx837FbAIcp0VoUNE3G+8yizOCJx0chZLd1q8Wbu/CvFFLFYG9MfflAFw 84Sg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=aHkveyM+Om9u2IdcFldBf9uD1c2apNFY/SnalVz/8kw=; b=EX9P4kS6Hh+aSw0ujDwDT3gUXfSfvzfZzcjxwJVdcGffZ6W0eiQ+0+2s1JL8BmiEM4 mxrEpmtDqj8l+BQ0mJbvRcp76gaRSyDCvUMxUljkWuzYqyriXYIF+c2H6VENrAbt5IFz 2KerfBco2llsgJckSjZPQFtggbNkYbM+XKHlAHXaJb/TC773SrIQpcl0WY1lheuGgLt0 bQYFgfDGXo5OexLl8huC/AniDclgYcAEhTDCEv1aTmhevW1evpSVrNQb6fgt3Kzl35SZ CVBt/zzsdczZuFLIY8Ce8AAN0vSovW1wr75WmdPv4P+mUEHXDd4peBdG0M7SoznS1wZr cr8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=UbHcmh9m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e16-20020a056402191000b0043a50590dabsi717745edz.87.2022.07.08.19.30.40; Fri, 08 Jul 2022 19:31:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=UbHcmh9m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229543AbiGIBtn (ORCPT + 99 others); Fri, 8 Jul 2022 21:49:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbiGIBtm (ORCPT ); Fri, 8 Jul 2022 21:49:42 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D0E1709BB for ; Fri, 8 Jul 2022 18:49:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=aHkveyM+Om9u2IdcFldBf9uD1c2apNFY/SnalVz/8kw=; b=UbHcmh9mUxnQGeVW674eJWgYeo P29zhK3BeUIsE3QES2Up8mHl0nWDHapO+/eOdR8iLIJqHKwh5WbDVf2bucZxjIXcIIFK/EONqVu/N ybjniFNFbj13lntQzf3R1YM218NE1r858HHZCI5EeF6xmjXYzejWD2tk2CTwqYMrrEji82xCHlEAj baQH8uMrP8uDUzp2tyE645adqxVwRwbH5F6pBs9cwNg8fVXajHHnOlHixRBmGhwFs9w54rv4wc9NH NhYL30uHz+bWDraLNLU5qNMBP4YY+/qN7xTsv2QKxpADicJQ4ibKZly9uMuQKLpfN+a5tcrzO0fh+ ZddVrIcw==; Received: from [2601:1c0:6280:3f0::a6b3] (helo=casper.infradead.org) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9zbD-0041Xe-Cq; Sat, 09 Jul 2022 01:49:35 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Wei Fu , Liu Shaohua , Guo Ren , Heiko Stuebner , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org Subject: [PATCH] riscv: fix RISCV_ISA_SVPBMT kconfig dependency warning Date: Fri, 8 Jul 2022 18:49:29 -0700 Message-Id: <20220709014929.14221-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RISCV_ISA_SVPBMT selects RISCV_ALTERNATIVE which depends on !XIP_KERNEL. Therefore RISCV_ISA_SVPBMT should also depend on !XIP_KERNEL so quieten this kconfig warning: WARNING: unmet direct dependencies detected for RISCV_ALTERNATIVE Depends on [n]: !XIP_KERNEL [=y] Selected by [y]: - RISCV_ISA_SVPBMT [=y] && 64BIT [=y] && MMU [=y] Fixes: ff689fd21cb1 ("riscv: add RISC-V Svpbmt extension support") Signed-off-by: Randy Dunlap Cc: Wei Fu Cc: Liu Shaohua Cc: Guo Ren Cc: Heiko Stuebner Cc: Paul Walmsley Cc: Palmer Dabbelt Cc: Albert Ou Cc: linux-riscv@lists.infradead.org --- arch/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -362,6 +362,7 @@ config RISCV_ISA_C config RISCV_ISA_SVPBMT bool "SVPBMT extension support" depends on 64BIT && MMU + depends on !XIP_KERNEL select RISCV_ALTERNATIVE default y help