Skip to content

[INTERNAL,redhat] New configs in arch/arm64

Jeremy Cline requested to merge emails/series-10 into internal
Hi,

As part of the ongoing rebase effort, the following configuration
options need to be reviewed.

As a reminder, the ARK configuration flow involves moving unreviewed
configuration options from the pending directory to the ark directory.
In the diff below, options are removed from the pending directory and
added to the ark hierarchy. The final options that need to be ACKed
are the files that are being added to the ark hierarchy.

If the value for a file that is added should be changed, please reply
with a better option.

 CONFIG_ARM64_ERRATUM_1319367:

 This option adds work arounds for ARM Cortex-A57 erratum 1319537
 and A72 erratum 1319367

 Cortex-A57 and A72 cores could end-up with corrupted TLBs by
 speculating an AT instruction during a guest context switch.

 If unsure, say Y.

 Symbol: ARM64_ERRATUM_1319367 [=y]
 Type  : bool
 Prompt: Cortex-A57/A72: Speculative AT instruction using out-of-context translation regime could cause subsequent request to generate an incorrect translation
   Location:
     -> Kernel Features
       -> ARM errata workarounds via the alternatives framework
   Defined at arch/arm64/Kconfig:547

---

 CONFIG_ARM64_ERRATUM_1542419:

 This option adds a workaround for ARM Neoverse-N1 erratum
 1542419.

 Affected Neoverse-N1 cores could execute a stale instruction when
 modified by another CPU. The workaround depends on a firmware
 counterpart.

 Workaround the issue by hiding the DIC feature from EL0. This
 forces user-space to perform cache maintenance.

 If unsure, say Y.

 Symbol: ARM64_ERRATUM_1542419 [=y]
 Type  : bool
 Prompt: Neoverse-N1: workaround mis-ordering of instruction fetches
   Location:
     -> Kernel Features
       -> ARM errata workarounds via the alternatives framework
   Defined at arch/arm64/Kconfig:577

---

 CONFIG_CPU_LITTLE_ENDIAN:

 Say Y if you plan on running a kernel with a little-endian userspace.
 This is usually the case for distributions targeting arm64.

 Symbol: CPU_LITTLE_ENDIAN [=y]
 Type  : bool
 Prompt: Build little-endian kernel
   Location:
     -> Kernel Features
       -> Endianness (<choice> [=y])
   Defined at arch/arm64/Kconfig:893
   Depends on: <choice>

---
---
 .../generic/CONFIG_ARM64_ERRATUM_1319367      |  1 +
 .../generic/CONFIG_ARM64_ERRATUM_1542419      |  1 +
 .../common/generic/CONFIG_CPU_LITTLE_ENDIAN   |  1 +
 .../generic/CONFIG_ARM64_ERRATUM_1319367      | 21 ----------------
 .../generic/CONFIG_ARM64_ERRATUM_1542419      | 25 -------------------
 .../pending/generic/CONFIG_CPU_LITTLE_ENDIAN  | 17 -------------
 6 files changed, 3 insertions(+), 63 deletions(-)
 create mode 100644 redhat/configs/common/generic/CONFIG_ARM64_ERRATUM_1319367
 create mode 100644 redhat/configs/common/generic/CONFIG_ARM64_ERRATUM_1542419
 create mode 100644 redhat/configs/common/generic/CONFIG_CPU_LITTLE_ENDIAN
 delete mode 100644 redhat/configs/pending/generic/CONFIG_ARM64_ERRATUM_1319367
 delete mode 100644 redhat/configs/pending/generic/CONFIG_ARM64_ERRATUM_1542419
 delete mode 100644 redhat/configs/pending/generic/CONFIG_CPU_LITTLE_ENDIAN

Merge request reports