Skip to contentSkip to conversation

arm64: errata: Fix two Kconfig column entries

PATCH Superseded TAKANO Mitsuhiro 1 participant 4 messages Nov 6

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

cover arm64: errata: Fix two Kconfig column entries

Two entries in the arm64 silicon-errata table name Kconfig symbols that do not exist. The GIC-700 #2941627 row names ARM64_ERRATUM_2941627, but the workaround has no Kconfig option at all; it is enabled from irq-gic-v3.c through gic_enable_quirks(). The Falkor E1041 row spells QCOM_FALKOR_ERRATUM_E1041 without the E.

The first patch marks the GIC-700 row "N/A", matching other workarounds that have no option. The second corrects the Falkor symbol name. Both changes touch only the text of the table; no Kconfig symbol or code changes, and no build was run.

TAKANO Mitsuhiro (2):
arm64: errata: Mark GIC-700 #2941627 N/A in silicon-errata
arm64: errata: Fix Falkor E1041 Kconfig name in silicon-errata

 Documentation/arch/arm64/silicon-errata.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

base-commit: d48723711bae9b8cdc56719c448ba42fef28cbee

Signature · 1 line
2.53.0
#1 lore raw

PATCH 1/2 arm64: errata: Mark GIC-700 #2941627 N/A in silicon-errata

The GIC-700 #2941627 entry in the arm64 silicon-errata table names ARM64_ERRATUM_2941627 in its Kconfig column, but no Kconfig file defines that symbol and no code refers to it, so a reader who follows the name finds nothing at the other end.

The workaround has no Kconfig option: irq-gic-v3.c passes the GICD_IIDR value to gic_enable_quirks(), which matches it against gic_quirks[], and gic_enable_quirk_arm64_2941627() enables a static branch. The table already records workarounds of that kind as "N/A", for example NVIDIA T241-FABRIC-4, a GIC workaround like this one.

Set the Kconfig column to "N/A", as the table does for workarounds that have no option. The row stays because this file acts as the registry of software workarounds in the kernel: deleting it would drop the table's only pointer to gic_enable_quirk_arm64_2941627().

Only the text of the table changes, and no build was run.

Fixes 6fe5c68ee6a1 ("irqchip/gic-v3: Workaround for GIC-700 erratum 2941627")
---
 Documentation/arch/arm64/silicon-errata.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/arch/arm64/silicon-errata.rst +1 -1
index afe109afe692..afea5e57ab95 100644
@@ -279,7 +279,7 @@ stable kernels.
 | ARM            | MMU S3          | #3995052,       | N/A                         |
 |                |                 | #3673557        |                             |
 +----------------+-----------------+-----------------+-----------------------------+
-| ARM            | GIC-700         | #2941627        | ARM64_ERRATUM_2941627       |
+| ARM            | GIC-700         | #2941627        | N/A                         |
 +----------------+-----------------+-----------------+-----------------------------+
 | ARM            | SI L1           | #4311569        | ARM64_ERRATUM_4311569       |
 +----------------+-----------------+-----------------+-----------------------------+
Signature · 1 line
2.53.0
#2 lore raw

PATCH 2/2 arm64: errata: Fix Falkor E1041 Kconfig name in silicon-errata

In reply to TAKANO Mitsuhiro

The Falkor E1041 entry in the arm64 silicon-errata table names QCOM_FALKOR_ERRATUM_1041, but the symbol defined in arch/arm64/Kconfig and used in arch/arm64/include/asm/assembler.h is QCOM_FALKOR_ERRATUM_E1041. Correct the name in the table.

The E1003 and E1009 rows above name QCOM_FALKOR_ERRATUM_1003 and QCOM_FALKOR_ERRATUM_1009, without the E, so a missing E in the E1041 row looked right; only the E1041 symbol keeps it.

The Kconfig symbol stays as it is; only the table is wrong.

Only the text of the table changes, and no build was run.

Fixes 932b50c7c1c6 ("arm64: Add software workaround for Falkor erratum 1041")
---
 Documentation/arch/arm64/silicon-errata.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/arch/arm64/silicon-errata.rst +1 -1
index afea5e57ab95..f554fa04662c 100644
@@ -360,7 +360,7 @@ stable kernels.
 +----------------+-----------------+-----------------+-----------------------------+
 | Qualcomm Tech. | QDF2400 ITS     | E0065           | QCOM_QDF2400_ERRATUM_0065   |
 +----------------+-----------------+-----------------+-----------------------------+
-| Qualcomm Tech. | Falkor v{1,2}   | E1041           | QCOM_FALKOR_ERRATUM_1041    |
+| Qualcomm Tech. | Falkor v{1,2}   | E1041           | QCOM_FALKOR_ERRATUM_E1041   |
 +----------------+-----------------+-----------------+-----------------------------+
 | Qualcomm Tech. | Kryo4xx Gold    | N/A             | ARM64_ERRATUM_1463225       |
 +----------------+-----------------+-----------------+-----------------------------+
Signature · 1 line
2.53.0