Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp807565rwb; Mon, 26 Sep 2022 06:11:39 -0700 (PDT) X-Google-Smtp-Source: AMsMyM59E8QIaxChuBLX4WMsI3je+eh6ubki74C72vZh8suIwDoCo1O7RmOIXoMfHRL8LcR0cDpc X-Received: by 2002:a05:6402:884:b0:457:5650:65cb with SMTP id e4-20020a056402088400b00457565065cbmr3572464edy.245.1664197899544; Mon, 26 Sep 2022 06:11:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664197899; cv=none; d=google.com; s=arc-20160816; b=hVZ0X73aO852uK/BadxDyWoyq+w5GVAeUfSt965Riztc3IHZlNRkhKVT4OZHhhdkR3 jLyxSuCTcR7c3Tcx+FYZO6pQm3YLf26GtsV+eAxvfrDrBDadALuNzTTagRPqrp2TJsAI hc7b+6+JSvdm+GdxroQxEm/As6xmPgVbnJOP+84toZa3UKCkiWFtnEsf/b/wA1QaFw/P 9ijIwoW+WgHieXUujOWjZVmMUodWYGAoiW9ma7xo9bTyxif/zRMixxRJ7oMMFksKAyo8 oovRJJP7+bsqFNvq4Xoc/smfYOmtJdIp/zGKMGhJdac5kxRc1J6xA7nPOd7TyKHH8xcV YBjg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=NAIApWd5yv3QR/OGJwV5HFqvVEOIP4xQ+u3UttMYNIA=; b=FEAAOXexHUxhbDXefUtje865rv+ljKNuGUXa2Wu7cmZFdElnTaEW9vvbHF3VRR3tfy mxOurglY1DFEOsCw8FGfPv6Oa1+/LGT6aOWUTilKTlonQyFZnnbDlnc+l16C/NZPKFsL 5v626lv+7eVA4o/8iNDQ8UFQepLLrrcleM0MUN0eASUfEUVTs19gv8D3WUP5pGWulfKB aYATDTmonWHogRftcjILoRWVqp13x3CkXEIS9q2u/Tug03r5HStwE8Ko5i6vNkuLJWct X+cdo0W3kMxZ5FyOKuPgpGA9oZ7AoP8dDtxG62h3cPuwRArqHuk5daXIhJYpTHn88/5m 8Urg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=08owrhqO; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fw38-20020a170907502600b00781ebe14ffesi12989082ejc.816.2022.09.26.06.11.12; Mon, 26 Sep 2022 06:11:39 -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=@linuxfoundation.org header.s=korg header.b=08owrhqO; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239282AbiIZMGq (ORCPT + 99 others); Mon, 26 Sep 2022 08:06:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239045AbiIZMDW (ORCPT ); Mon, 26 Sep 2022 08:03:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 478A87CAB9; Mon, 26 Sep 2022 03:54:02 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8AE7660AF0; Mon, 26 Sep 2022 10:44:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B956C433B5; Mon, 26 Sep 2022 10:44:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664189045; bh=jN9KKvCki6cYrlMLOPZxNTrmQsWhVjW4jDwmuoUfl0A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=08owrhqOvZbvTS4RLUknuDt+uTBikGb1CD/kksxfUXE4eBx6tIpKGWsblzdmQW9Wb wcfdnkWuSX6Sd/B64bKiCvH7+k7Yx+e5b5vfepxHEjfUXqLC6/bAbjAJe6bOSQU1Kq LgCLszLmuSZjVkAF048l9PXxuo8ieAjwaUStxNMM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , Heiko Stuebner , Palmer Dabbelt Subject: [PATCH 5.19 055/207] riscv: fix RISCV_ISA_SVPBMT kconfig dependency warning Date: Mon, 26 Sep 2022 12:10:44 +0200 Message-Id: <20220926100809.082416166@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220926100806.522017616@linuxfoundation.org> References: <20220926100806.522017616@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 From: Randy Dunlap commit 225e47ea20ea4f37031131f4fa7a6c281fac6657 upstream. 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: stable@vger.kernel.org Reviewed-by: Heiko Stuebner Link: https://lore.kernel.org/r/20220709014929.14221-1-rdunlap@infradead.org/ Signed-off-by: Palmer Dabbelt Signed-off-by: Greg Kroah-Hartman --- arch/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -361,6 +361,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