Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6490350rwn; Tue, 13 Sep 2022 05:11:48 -0700 (PDT) X-Google-Smtp-Source: AA6agR5YsO6gFSxOBoWG8BuKwdlh02Tx+iUqlJ6pMmgLA2RChLCIGt91LpPjf72ONOMPVD6WAMWZ X-Received: by 2002:a17:907:2d9e:b0:775:3737:ac45 with SMTP id gt30-20020a1709072d9e00b007753737ac45mr17312327ejc.714.1663071107942; Tue, 13 Sep 2022 05:11:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663071107; cv=none; d=google.com; s=arc-20160816; b=dvD68oBbFQrbEjf6CbH6UDjrZpZ4bbhNgbOzsuFf5hf29mxB/Fd2zb+olvMNeknRn3 w05jjmaqGZjlLNfoiVgC2CI23KkMhHXqr1zQLrwISftSNBNCBghg5q9jGtkZmbv0G8Uv j+QSw/Ftwl/z6OlhaD9iPcK9KfTYq6pvXocoxPXXuLFwpkohezS0lV0dZ9Pu2fgki3+m eDhETtvoMceGc2qeneghT4C3PkNmDCgExdXsiKlWfOzfgKZE8pOTurlTVlhXFZYroASR icHPpysKzlf9+lDtdeeOTGvxWiMl04WVgflXu5wCYzGjDRTObvZqkGmAfPwHg1pUHwXu ngrQ== 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; bh=TgNC6KXZrhSRbZPuib3Ogeg1rtTDw9niwsYGrbVgoJc=; b=0V9qTVHsArgEdEBgz8/0obmuquWKopMKWmE5xVTweF80fev62GJcxpbyGTEJwpNFED 9r4t6H9vUKQZrTUrfGzWEhXL/KdqYEkr2z1yuKqc50DzGYrzhW+S9ovT3SIhEmQPGqgD jBiEkoYTs7UgiIPWTaTVIQ1MuLKPKzwANfkfqfcUvUtA9nY6p62Q0Woo8UUJCq4rEBsi lf0PERd59j6KsGxApysJRp+BF7qSXbuoNrjRnpgtOzqFL9+VG7DWXKV7AvIC3APOtg5x EEg6O1L9LfpCBllDUSFS7u1Kxr4WXwLzfW/K8nEo/iXuQmoZFRYBuhinWQGVb3WX5MdD qkog== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ht16-20020a170907609000b0073d4db38fdesi9746891ejc.475.2022.09.13.05.11.18; Tue, 13 Sep 2022 05:11:47 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231946AbiIMMAS (ORCPT + 99 others); Tue, 13 Sep 2022 08:00:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231293AbiIMMAP (ORCPT ); Tue, 13 Sep 2022 08:00:15 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DB73167EE for ; Tue, 13 Sep 2022 05:00:12 -0700 (PDT) Received: from [185.122.133.20] (helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oY4aH-0004d9-8j; Tue, 13 Sep 2022 14:00:09 +0200 From: Heiko Stuebner To: linux-kernel@vger.kernel.org, Randy Dunlap Cc: Randy Dunlap , Wei Fu , Liu Shaohua , Guo Ren , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org Subject: Re: [PATCH] riscv: fix RISCV_ISA_SVPBMT kconfig dependency warning Date: Tue, 13 Sep 2022 14:00:08 +0200 Message-ID: <3122575.5fSG56mABF@phil> In-Reply-To: <20220709014929.14221-1-rdunlap@infradead.org> References: <20220709014929.14221-1-rdunlap@infradead.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR 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 Hi Palmer, Am Samstag, 9. Juli 2022, 03:49:29 CEST schrieb Randy Dunlap: > 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 I think this should also be applied as fix? Thanks Heiko > 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 >