Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp543656pxr; Mon, 11 Apr 2022 00:18:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzccjGsVcihXmTa4MhWrcPAXtcF6O2U8aAbllDH85OBCWBOj/GT+ieHfzt5qQ86RDcNXO14 X-Received: by 2002:a17:902:8304:b0:155:d594:5c04 with SMTP id bd4-20020a170902830400b00155d5945c04mr30207476plb.105.1649661503570; Mon, 11 Apr 2022 00:18:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649661503; cv=none; d=google.com; s=arc-20160816; b=M46hQBXztdMhO7XcFiTv4UIIAxae8GPyFAZS4/dp95KF033kjjKVRXIESYQsVR9v3G AcdOKu9mC4P+/6Br60NIK354D1xY109SElMrR59sX8KWDznbjDkqPuO6oa+yNLJh32g/ flXROqxY4yytvoKEyDdzWGzHVMWoC6z0NyJv8n497wEntNOSsCIYhDS9Uy9YBmQY0wDK pRuDAby3wstSkOTb0UTSXbfbaSn1dv1jt5G2RMLfruaPAGACoSEkTQG5p1tefSzMHH7d cwVUyY+fG3IrM7nbPhKjsOBDhHNCBG2fGlnDUAqCFGTpAVM35G39aPGxJ9lTJHRB0ZBH d/qw== 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=ROno+fSVX2ST3zHwFKC2Cb/T5gT1F1McUAUXklUQVvA=; b=HzMTyYvMe/IvBAmXji7LsWI1XZsm8so0iElMTd33FPtwPg2uMxpI8sBexOFBoWgyi+ vOQ6Yb4jSCE1sx3VCM2vV7aEFHYJOYOOqa9sKWKAJjrjaM4++BxNC9MwD6WqnACppl5A ErUFE07mRJQJSQULtxJO5LgU0j7ERf0vqJ4FQ0eRb4WtZUv3v6zs2a6y+f0fQu0+zpiM uWGepKayhrDd/YPigcSjs1Sgzyepzw1E8XdTiUJf7/gxrCW4Uh9uJDQ1b9jDifu/kkIK dPn+VBRqwvxV7vNmwUyOOHy483epWpkUdVrCSIWwBhBeqcbpDTJS7UvxY7BYEYEXog0V cO0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=gn6SwgAt; 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 g13-20020a056a000b8d00b004faec051bd4si7741767pfj.242.2022.04.11.00.18.02; Mon, 11 Apr 2022 00:18:23 -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=bombadil.20210309 header.b=gn6SwgAt; 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 S232835AbiDIWze (ORCPT + 99 others); Sat, 9 Apr 2022 18:55:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230498AbiDIWzc (ORCPT ); Sat, 9 Apr 2022 18:55:32 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B8666213C; Sat, 9 Apr 2022 15:53:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=ROno+fSVX2ST3zHwFKC2Cb/T5gT1F1McUAUXklUQVvA=; b=gn6SwgAtZ7c4je7+kW7StqPt3z BuHpJRdWKUCGJuQlbFEUfYx6jz0emH2pg+7IQ0ihZrw6uBuUnMqsH8lauV/Uwaw+ThdYem4kr96Rl 3OL44vvVuPW2GggibzdS0/9OIGX92jIrzMFWozhA9H2Fv1/cRvC6YyP5BhNcncb/Vw16EO8M+46Np RgEIkl5chZRNglhtpTnu7gu9zSVFfnAMuoMaeqLMJHdNvWGVPF5cfy0rRi7h3/OJBSzqvBT4TMD5a RhU8nBp1CVOLCZKh7PWcOxKKthh1Q1qkiH3+etyhkl3ozMpIlxkh9T21dDut5Hnmbz5wEGi2jWYR9 Ren4K4AQ==; Received: from [2601:1c0:6280:3f0::aa0b] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndJxH-003syH-MI; Sat, 09 Apr 2022 22:53:19 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , Anup Patel , Anup Patel , Anup Patel , Palmer Dabbelt , linux-pm@vger.kernel.org, linux-riscv@lists.infradead.org, Paul Walmsley , Palmer Dabbelt , Albert Ou Subject: [PATCH] RISC-V: cpuidle: fix Kconfig select for RISCV_SBI_CPUIDLE Date: Sat, 9 Apr 2022 15:53:17 -0700 Message-Id: <20220409225317.14332-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.34.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 There can be lots of build errors when building cpuidle-riscv-sbi.o. They are all caused by a kconfig problem with this warning: WARNING: unmet direct dependencies detected for RISCV_SBI_CPUIDLE Depends on [n]: CPU_IDLE [=y] && RISCV [=y] && RISCV_SBI [=n] Selected by [y]: - SOC_VIRT [=y] && CPU_IDLE [=y] so make the 'select' of RISCV_SBI_CPUIDLE also depend on RISCV_SBI. Fixes: c5179ef1ca0c ("RISC-V: Enable RISC-V SBI CPU Idle driver for QEMU virt machine") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Anup Patel Cc: Anup Patel Cc: Anup Patel Cc: Palmer Dabbelt Cc: linux-pm@vger.kernel.org Cc: linux-riscv@lists.infradead.org Cc: Paul Walmsley Cc: Palmer Dabbelt Cc: Albert Ou --- arch/riscv/Kconfig.socs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/riscv/Kconfig.socs +++ b/arch/riscv/Kconfig.socs @@ -38,7 +38,7 @@ config SOC_VIRT select SIFIVE_PLIC select PM_GENERIC_DOMAINS if PM select PM_GENERIC_DOMAINS_OF if PM && OF - select RISCV_SBI_CPUIDLE if CPU_IDLE + select RISCV_SBI_CPUIDLE if CPU_IDLE && RISCV_SBI help This enables support for QEMU Virt Machine.