linux-stable/Documentation/arm64
Rob Herring 6e3ae2927b arm64: errata: Add Cortex-A520 speculative unprivileged load workaround
commit 471470bc70 upstream.

Implement the workaround for ARM Cortex-A520 erratum 2966298. On an
affected Cortex-A520 core, a speculatively executed unprivileged load
might leak data from a privileged load via a cache side channel. The
issue only exists for loads within a translation regime with the same
translation (e.g. same ASID and VMID). Therefore, the issue only affects
the return to EL0.

The workaround is to execute a TLBI before returning to EL0 after all
loads of privileged data. A non-shareable TLBI to any address is
sufficient.

The workaround isn't necessary if page table isolation (KPTI) is
enabled, but for simplicity it will be. Page table isolation should
normally be disabled for Cortex-A520 as it supports the CSV3 feature
and the E0PD feature (used when KASLR is enabled).

Cc: stable@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230921194156.1050055-2-robh@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-10 22:00:39 +02:00
..
acpi_object_usage.rst Documentation: arm64/acpi : clarify arm64 support of IBFT 2021-03-22 12:43:20 +00:00
amu.rst Documentation: Chinese translation of Documentation/arm64/amu.rst 2020-09-28 15:24:24 -06:00
arm-acpi.rst
asymmetric-32bit.rst Documentation: arm64: describe asymmetric 32-bit support 2021-08-20 12:33:07 +02:00
booting.rst arm64: booting: Document our requirements for fine grained traps with SME 2022-11-01 19:30:34 +00:00
cpu-feature-registers.rst arm64: cpufeature: Fix the visibility of compat hwcaps 2022-11-03 18:04:56 +00:00
elf_hwcaps.rst arm64/sysreg: Add hwcap for SVE EBF16 2022-09-06 18:53:52 +01:00
features.rst docs: archis: add a per-architecture features list 2020-12-03 15:10:15 -07:00
hugetlbpage.rst Documentation: Chinese translation of Documentation/arm64/hugetlbpage.rst 2020-10-21 15:15:17 -06:00
index.rst arm64/sme: Provide ABI documentation for SME 2022-04-22 18:50:39 +01:00
kasan-offsets.sh arm64: mm: extend linear region for 52-bit VA configurations 2020-11-09 17:15:37 +00:00
legacy_instructions.rst
memory-tagging-extension.rst elf: Fix the arm64 MTE ELF segment name and value 2022-04-28 11:37:06 +01:00
memory.rst Documentation/arm64: update memory layout table. 2022-06-23 18:35:40 +01:00
perf.rst Documentation: arm64: Document PMU counters access from userspace 2021-12-14 11:41:19 +00:00
pointer-authentication.rst arm64: update PAC description for kernel 2021-12-02 10:13:35 +00:00
silicon-errata.rst arm64: errata: Add Cortex-A520 speculative unprivileged load workaround 2023-10-10 22:00:39 +02:00
sme.rst arm64/ptrace: Document extension of NT_ARM_TLS to cover TPIDR2_EL0 2022-09-21 17:26:58 +01:00
sve.rst Merge branches 'for-next/doc', 'for-next/sve', 'for-next/sysreg', 'for-next/gettimeofday', 'for-next/stacktrace', 'for-next/atomics', 'for-next/el1-exceptions', 'for-next/a510-erratum-2658417', 'for-next/defconfig', 'for-next/tpidr2_el0' and 'for-next/ftrace', remote-tracking branch 'arm64/for-next/perf' into for-next/core 2022-09-30 09:17:57 +01:00
tagged-address-abi.rst docs/arm64: delete a space from tagged-address-abi 2021-12-14 19:01:37 +00:00
tagged-pointers.rst arm64: expose FAR_EL1 tag bits in siginfo 2020-11-23 18:17:39 +00:00