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 X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0BD24C2B9F2 for ; Sat, 22 May 2021 21:20:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DFDBF61164 for ; Sat, 22 May 2021 21:20:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231438AbhEVVWH (ORCPT ); Sat, 22 May 2021 17:22:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231379AbhEVVWE (ORCPT ); Sat, 22 May 2021 17:22:04 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66FB0C061574 for ; Sat, 22 May 2021 14:20:39 -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=wcv2ThiXVnl/yNUWKXIyeJhKwjtkGI4Y78Y/91jUBdM=; b=Zy/28i2k7/Su2oNUKE8TQCv34G 0uGy6JWMns/WO/LvXCT/Cj05lnhm9/mU6M2tkKhCxpLyF+f3aJ0r2AMMlWmjSukq2xD+e6kQWmjOS kNMk5yjgKfwXDaIJxqWFBdKSWsFiVEw4LmZm49l7xAnyqTyWG+UsyYJMoVdigSbIsnXDhfh+D0V3A 91GhZxEYEFGzmFXLSjYAwijc9NkoBfhXN3uoE+4GQFBrcdKDA0TjLuPgGKXxni1BvUhZciiWxyah2 04tCyz+JPxJMvqi86lzoFuAPlkT/xKaJwxuKcouSD5VNXPwN+wJWaevMjlUbL4EOUm/ok4/zXdI2Z zN1Advmw==; Received: from [2601:1c0:6280:3f0::7376] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lkZ30-000D27-Hq; Sat, 22 May 2021 21:20:38 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org, Vincent Chen Subject: [PATCH] riscv: sifive: fix Kconfig errata warning Date: Sat, 22 May 2021 14:20:36 -0700 Message-Id: <20210522212036.5513-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The SOC_SIFIVE Kconfig entry unconditionally selects ERRATA_SIFIVE. However, ERRATA_SIFIVE depends on RISCV_ERRATA_ALTERNATIVE, which is not set, so SOC_SIFIVE should either depend on or select RISCV_ERRATA_ALTERNATIVE. Use 'select' here to quieten the Kconfig warning. WARNING: unmet direct dependencies detected for ERRATA_SIFIVE Depends on [n]: RISCV_ERRATA_ALTERNATIVE [=n] Selected by [y]: - SOC_SIFIVE [=y] Fixes: 1a0e5dbd3723 ("riscv: sifive: Add SiFive alternative ports") Signed-off-by: Randy Dunlap Cc: Paul Walmsley Cc: Palmer Dabbelt Cc: Albert Ou Cc: linux-riscv@lists.infradead.org Cc: Vincent Chen --- arch/riscv/Kconfig.socs | 1 + 1 file changed, 1 insertion(+) --- linux-next-20210521.orig/arch/riscv/Kconfig.socs +++ linux-next-20210521/arch/riscv/Kconfig.socs @@ -14,6 +14,7 @@ config SOC_SIFIVE select CLK_SIFIVE select CLK_SIFIVE_PRCI select SIFIVE_PLIC + select RISCV_ERRATA_ALTERNATIVE select ERRATA_SIFIVE help This enables support for SiFive SoC platform hardware.