Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1527892ybz; Thu, 16 Apr 2020 10:44:28 -0700 (PDT) X-Google-Smtp-Source: APiQypK5SgSGZP5e7twoe3TNXERZpR1RYfSSMzyKOUsRde73YAGgo2DpnFJPRdkzXHQF+AMR0YOU X-Received: by 2002:a05:6402:1597:: with SMTP id c23mr31718573edv.107.1587059068689; Thu, 16 Apr 2020 10:44:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587059068; cv=none; d=google.com; s=arc-20160816; b=0jKbaIdYbjWo61T3r3er7DSVU7U6qWbv6pLbLLGI95rnW37h0GHERl1ffDRTT/DYRk wx4qjLIJXmu57xPf6qH3B4zz1QR6hGIuD0XsablS7Gjzjxh8V4jPjCmwpUW8ht3hBimb +dWuU/aONamT3i4Kxn/UbCQr1ij/7hZKFFFaKLWDT+WCuKIWc5lxJVAZvnDuqNa/pM/T kzqL4pUptxtV9J55JiUx7dEe0RjSwmOF2LsZIw7mNS99vsAplwjB39rq8hmd1kp1MZyx CoTWdUTGGLf2OlkkpW1hNP6r5MKx5eREwVXPBskRCDvzjXDeTCmIwwdTUf2f/UI65UC1 +d8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=+OW2cmYFxIZqqmPQVPrMWQcXYuAJmcuvAV/YNDdgNJQ=; b=XlANL6v4NYJTO/+tCAj3jlS89hhX5wsYUgKjkOSpsGKWiw/TOo+S6y1dsa13BOCH3+ Xh9JS+RGSe7AdssKRdvxoHuKd7uJSV0XmB1ZTYwxJBhowurVsojYSoJE1GEnpGRuJr58 b3Q1CTtKcrKJUD5w58iJCuN7W23Bk56TvQDMX5WkiaYnm6UoXlxWjnD8XcV37o3oMs3K 8XnkhcE2wCAKWRP3WZ4/tBm1JuuBnwnguFg2pn8+yDJfK5AsLuD27El+6bpxbdYUUtiI arIGMwgmZ2r/662bxoiz8u+jkoiv3IOSll+Pc12h6fPooBscn+hP3S1cCtaVa2SO2vy+ k6Zg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m22si4865989edb.488.2020.04.16.10.44.03; Thu, 16 Apr 2020 10:44:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2634369AbgDPL6H (ORCPT + 99 others); Thu, 16 Apr 2020 07:58:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2634526AbgDPL5G (ORCPT ); Thu, 16 Apr 2020 07:57:06 -0400 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC005C061A0C for ; Thu, 16 Apr 2020 04:57:05 -0700 (PDT) Received: from ramsan ([IPv6:2a02:1810:ac12:ed60:fd83:81bb:c1d7:433d]) by michel.telenet-ops.be with bizsmtp id TPx0220094dKHqf06Px0kz; Thu, 16 Apr 2020 13:57:03 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1jP38e-0003Kb-9y; Thu, 16 Apr 2020 13:57:00 +0200 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1jP38e-0005Jx-7f; Thu, 16 Apr 2020 13:57:00 +0200 From: Geert Uytterhoeven To: Catalin Marinas , Will Deacon Cc: Robert Richter , Wei Xu , Andy Gross , Bjorn Andersson , Masahiro Yamada , Arnd Bergmann , linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 2/2] [RFC] arm64: Add dependencies to vendor-specific errata Date: Thu, 16 Apr 2020 13:56:58 +0200 Message-Id: <20200416115658.20406-3-geert+renesas@glider.be> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200416115658.20406-1-geert+renesas@glider.be> References: <20200416115658.20406-1-geert+renesas@glider.be> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently the user is asked about enabling support for each and every vendor-specific erratum, even when support for the specific platform is not enabled. Fix this by adding platform dependencies to the config options controlling support for vendor-specific errata. Note that FUJITSU_ERRATUM_010001 is left untouched, as no config symbol exists for the Fujitsu A64FX platform. Signed-off-by: Geert Uytterhoeven --- arch/arm64/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 8d33d7fed6d8549b..81f52f0b988e6350 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -622,6 +622,8 @@ config ARM64_ERRATUM_1542419 If unsure, say Y. +if ARCH_THUNDER2 + config CAVIUM_ERRATUM_22375 bool "Cavium erratum 22375, 24313" default y @@ -697,6 +699,8 @@ config CAVIUM_TX2_ERRATUM_219 If unsure, say Y. +endif # ARCH_THUNDER2 + config FUJITSU_ERRATUM_010001 bool "Fujitsu-A64FX erratum E#010001: Undefined fault may occur wrongly" default y @@ -718,6 +722,7 @@ config FUJITSU_ERRATUM_010001 config HISILICON_ERRATUM_161600802 bool "Hip07 161600802: Erroneous redistributor VLPI base" + depends on ARCH_HISI default y help The HiSilicon Hip07 SoC uses the wrong redistributor base @@ -726,6 +731,8 @@ config HISILICON_ERRATUM_161600802 If unsure, say Y. +if ARCH_QCOM + config QCOM_FALKOR_ERRATUM_1003 bool "Falkor E1003: Incorrect translation due to ASID change" default y @@ -768,8 +775,11 @@ config QCOM_FALKOR_ERRATUM_E1041 If unsure, say Y. +endif # ARCH_QCOM + config SOCIONEXT_SYNQUACER_PREITS bool "Socionext Synquacer: Workaround for GICv3 pre-ITS" + depends on ARCH_SYNQUACER default y help Socionext Synquacer SoCs implement a separate h/w block to generate -- 2.17.1