Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1603106ybz; Thu, 16 Apr 2020 12:05:47 -0700 (PDT) X-Google-Smtp-Source: APiQypLOSC6qJy0amqINetiYkqnmKww9i3oKVxEMFCI/zRoJKww260R22xKYzIWvZojSGCU9y1+j X-Received: by 2002:a17:906:af6f:: with SMTP id os15mr11298174ejb.78.1587063947620; Thu, 16 Apr 2020 12:05:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587063947; cv=none; d=google.com; s=arc-20160816; b=ao8BTIPT3H4rO+8tOrD2YViVDwbFE+RZasbVAER+6v6H3uKwMiyuVQdEpVwdwk5k6q tIBUhazYYcmKhcaKRgY03MDCydBWxMv6iikcf+4xcFGmhDieoVe6AjVzO7uSnaJ+PD6n 0NgKObeE8Owuf4CgrsCNl/U2IMBbEqIEV8GlMrJL1+sQlimC8Bs0yTG5CZm/7K79+aFT sywEqntYtR7elwF0luFeQpmEmYofqEeBOnB1gkdfLoQnXobGTshyeI9zVM5zVBHB8W1T 6edqrn9VxCA/8wd/8Mbc67OtxjogB/2FpGQYB6XPWNwN9LEOB4v1J1PYNRrGa1BbNdlC ey5g== 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=BwUyArwgGvJRCspxEWpK3zwRZ0U72iBHiynRy7yKNwI=; b=Wq5dtgSKqwIyG6QXuRVgE9la1YXfCOtAUgtdo+fU+lcDS7qtPRMVuGg7ZHtlf0PJAO TyYpVdilJ5K/cQpEvoYkj1raViO18Jr423zvvz59/OPSYqEPO6iyFgsTLubesbDEW6Nr e29zg3S+0PJyVRHLnSh8U1RrsnSWyUNV6S2tCZq2E2KW5ElsZD98rrt7Z+04+8lbShjL BQ7H/+0B56jjOwvo9ZJbp0W8rHBHeLQxVJEHetOkbU4ZYWbBqTrSlb9o6TRy2XpIcKKf MRoWYQpU+vlArWVWP9Uiz6j9F3m0A4jTynTuiHc8RUTwq7gLRa7rq3rPsfut/VTGd1/K xL0w== 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 e7si256466ejx.367.2020.04.16.12.05.23; Thu, 16 Apr 2020 12:05:47 -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 S2634554AbgDPL5d (ORCPT + 99 others); Thu, 16 Apr 2020 07:57:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2634459AbgDPL5G (ORCPT ); Thu, 16 Apr 2020 07:57:06 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32AF3C061A0F for ; Thu, 16 Apr 2020 04:57:06 -0700 (PDT) Received: from ramsan ([IPv6:2a02:1810:ac12:ed60:fd83:81bb:c1d7:433d]) by albert.telenet-ops.be with bizsmtp id TPx02200L4dKHqf06Px0Vl; 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-0003KX-8w; 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-0005Jv-6x; 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 1/2] arm64: Sort vendor-specific errata Date: Thu, 16 Apr 2020 13:56:57 +0200 Message-Id: <20200416115658.20406-2-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 Sort configuration options for vendor-specific errata by vendor, to increase uniformity. Move ARM64_WORKAROUND_REPEAT_TLBI up, as it is also selected by ARM64_ERRATUM_1286807. Signed-off-by: Geert Uytterhoeven --- arch/arm64/Kconfig | 72 +++++++++++++++++++++++----------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 40fb05d96c6072c9..8d33d7fed6d8549b 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -553,6 +553,9 @@ config ARM64_ERRATUM_1530923 If unsure, say Y. +config ARM64_WORKAROUND_REPEAT_TLBI + bool + config ARM64_ERRATUM_1286807 bool "Cortex-A76: Modification of the translation table for a virtual address might lead to read-after-read ordering violation" default y @@ -694,6 +697,35 @@ config CAVIUM_TX2_ERRATUM_219 If unsure, say Y. +config FUJITSU_ERRATUM_010001 + bool "Fujitsu-A64FX erratum E#010001: Undefined fault may occur wrongly" + default y + help + This option adds a workaround for Fujitsu-A64FX erratum E#010001. + On some variants of the Fujitsu-A64FX cores ver(1.0, 1.1), memory + accesses may cause undefined fault (Data abort, DFSC=0b111111). + This fault occurs under a specific hardware condition when a + load/store instruction performs an address translation using: + case-1 TTBR0_EL1 with TCR_EL1.NFD0 == 1. + case-2 TTBR0_EL2 with TCR_EL2.NFD0 == 1. + case-3 TTBR1_EL1 with TCR_EL1.NFD1 == 1. + case-4 TTBR1_EL2 with TCR_EL2.NFD1 == 1. + + The workaround is to ensure these bits are clear in TCR_ELx. + The workaround only affects the Fujitsu-A64FX. + + If unsure, say Y. + +config HISILICON_ERRATUM_161600802 + bool "Hip07 161600802: Erroneous redistributor VLPI base" + default y + help + The HiSilicon Hip07 SoC uses the wrong redistributor base + when issued ITS commands such as VMOVP and VMAPP, and requires + a 128kB offset to be applied to the target address in this commands. + + If unsure, say Y. + config QCOM_FALKOR_ERRATUM_1003 bool "Falkor E1003: Incorrect translation due to ASID change" default y @@ -705,9 +737,6 @@ config QCOM_FALKOR_ERRATUM_1003 is unchanged. Work around the erratum by invalidating the walk cache entries for the trampoline before entering the kernel proper. -config ARM64_WORKAROUND_REPEAT_TLBI - bool - config QCOM_FALKOR_ERRATUM_1009 bool "Falkor E1009: Prematurely complete a DSB after a TLBI" default y @@ -729,25 +758,6 @@ config QCOM_QDF2400_ERRATUM_0065 If unsure, say Y. -config SOCIONEXT_SYNQUACER_PREITS - bool "Socionext Synquacer: Workaround for GICv3 pre-ITS" - default y - help - Socionext Synquacer SoCs implement a separate h/w block to generate - MSI doorbell writes with non-zero values for the device ID. - - If unsure, say Y. - -config HISILICON_ERRATUM_161600802 - bool "Hip07 161600802: Erroneous redistributor VLPI base" - default y - help - The HiSilicon Hip07 SoC uses the wrong redistributor base - when issued ITS commands such as VMOVP and VMAPP, and requires - a 128kB offset to be applied to the target address in this commands. - - If unsure, say Y. - config QCOM_FALKOR_ERRATUM_E1041 bool "Falkor E1041: Speculative instruction fetches might cause errant memory access" default y @@ -758,22 +768,12 @@ config QCOM_FALKOR_ERRATUM_E1041 If unsure, say Y. -config FUJITSU_ERRATUM_010001 - bool "Fujitsu-A64FX erratum E#010001: Undefined fault may occur wrongly" +config SOCIONEXT_SYNQUACER_PREITS + bool "Socionext Synquacer: Workaround for GICv3 pre-ITS" default y help - This option adds a workaround for Fujitsu-A64FX erratum E#010001. - On some variants of the Fujitsu-A64FX cores ver(1.0, 1.1), memory - accesses may cause undefined fault (Data abort, DFSC=0b111111). - This fault occurs under a specific hardware condition when a - load/store instruction performs an address translation using: - case-1 TTBR0_EL1 with TCR_EL1.NFD0 == 1. - case-2 TTBR0_EL2 with TCR_EL2.NFD0 == 1. - case-3 TTBR1_EL1 with TCR_EL1.NFD1 == 1. - case-4 TTBR1_EL2 with TCR_EL2.NFD1 == 1. - - The workaround is to ensure these bits are clear in TCR_ELx. - The workaround only affects the Fujitsu-A64FX. + Socionext Synquacer SoCs implement a separate h/w block to generate + MSI doorbell writes with non-zero values for the device ID. If unsure, say Y. -- 2.17.1