Skip to content

Commit 805ee6e

Browse files
author
Herton R. Krzesinski
committed
Merge: arm64: Update core arch code to v5.19
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/1439 Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2122232 Omitted-fix: 0b52f76 "docs/arm64: elf_hwcaps: unify newlines in HWCAP lists" This is just a documentation whitespace change which we don't need in RHEL. Omitted-fix: c35fe2a elf: Fix the arm64 MTE ELF segment name and value This is a fix for a misnumbered/misnamed ELF segment which isn't actually used in RHEL yet. Update core arm64 code to v5.19 Signed-off-by: Mark Salter <msalter@redhat.com> Approved-by: John W. Linville <linville@redhat.com> Approved-by: Donald Dutile <ddutile@redhat.com> Approved-by: Gavin Shan <gshan@redhat.com> Approved-by: Cornelia Huck <cohuck@redhat.com> Approved-by: Eric Auger <eric.auger@redhat.com> Approved-by: Mark Langsdorf <mlangsdo@redhat.com> Approved-by: David Arcari <darcari@redhat.com> Approved-by: Lenny Szubowicz <lszubowi@redhat.com> Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
2 parents cceb43f + d6ace19 commit 805ee6e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+4091
-950
lines changed

Documentation/ABI/testing/sysfs-devices-system-cpu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,12 +493,13 @@ What: /sys/devices/system/cpu/cpuX/regs/
493493
/sys/devices/system/cpu/cpuX/regs/identification/
494494
/sys/devices/system/cpu/cpuX/regs/identification/midr_el1
495495
/sys/devices/system/cpu/cpuX/regs/identification/revidr_el1
496+
/sys/devices/system/cpu/cpuX/regs/identification/smidr_el1
496497
Date: June 2016
497498
Contact: Linux ARM Kernel Mailing list <linux-arm-kernel@lists.infradead.org>
498499
Description: AArch64 CPU registers
499500

500501
'identification' directory exposes the CPU ID registers for
501-
identifying model and revision of the CPU.
502+
identifying model and revision of the CPU and SMCU.
502503

503504
What: /sys/devices/system/cpu/aarch32_el0
504505
Date: May 2021

Documentation/arm64/booting.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,16 @@ Before jumping into the kernel, the following conditions must be met:
350350

351351
- SMCR_EL2.FA64 (bit 31) must be initialised to 0b1.
352352

353+
For CPUs with the Memory Tagging Extension feature (FEAT_MTE2):
354+
355+
- If EL3 is present:
356+
357+
- SCR_EL3.ATA (bit 26) must be initialised to 0b1.
358+
359+
- If the kernel is entered at EL1 and EL2 is present:
360+
361+
- HCR_EL2.ATA (bit 56) must be initialised to 0b1.
362+
353363
The requirements described above for CPU mode, caches, MMUs, architected
354364
timers, coherency and system registers apply to all CPUs. All CPUs must
355365
enter the kernel in the same exception level. Where the values documented

Documentation/arm64/cpu-feature-registers.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,8 @@ infrastructure:
290290
+------------------------------+---------+---------+
291291
| RPRES | [7-4] | y |
292292
+------------------------------+---------+---------+
293+
| WFXT | [3-0] | y |
294+
+------------------------------+---------+---------+
293295

294296

295297
Appendix I: Example

Documentation/arm64/elf_hwcaps.rst

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,37 @@ HWCAP2_MTE3
264264
Functionality implied by ID_AA64PFR1_EL1.MTE == 0b0011, as described
265265
by Documentation/arm64/memory-tagging-extension.rst.
266266

267+
HWCAP2_SME
268+
Functionality implied by ID_AA64PFR1_EL1.SME == 0b0001, as described
269+
by Documentation/arm64/sme.rst.
270+
271+
HWCAP2_SME_I16I64
272+
Functionality implied by ID_AA64SMFR0_EL1.I16I64 == 0b1111.
273+
274+
HWCAP2_SME_F64F64
275+
Functionality implied by ID_AA64SMFR0_EL1.F64F64 == 0b1.
276+
277+
HWCAP2_SME_I8I32
278+
Functionality implied by ID_AA64SMFR0_EL1.I8I32 == 0b1111.
279+
280+
HWCAP2_SME_F16F32
281+
Functionality implied by ID_AA64SMFR0_EL1.F16F32 == 0b1.
282+
283+
HWCAP2_SME_B16F32
284+
Functionality implied by ID_AA64SMFR0_EL1.B16F32 == 0b1.
285+
286+
HWCAP2_SME_F32F32
287+
Functionality implied by ID_AA64SMFR0_EL1.F32F32 == 0b1.
288+
289+
HWCAP2_SME_FA64
290+
Functionality implied by ID_AA64SMFR0_EL1.FA64 == 0b1.
291+
292+
HWCAP2_WFXT
293+
Functionality implied by ID_AA64ISAR2_EL1.WFXT == 0b0010.
294+
295+
HWCAP2_EBF16
296+
Functionality implied by ID_AA64ISAR1_EL1.BF16 == 0b0010.
297+
267298
4. Unused AT_HWCAP bits
268299
-----------------------
269300

Documentation/arm64/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ ARM64 Architecture
2121
perf
2222
pointer-authentication
2323
silicon-errata
24+
sme
2425
sve
2526
tagged-address-abi
2627
tagged-pointers

Documentation/arm64/silicon-errata.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,14 @@ stable kernels.
8282
+----------------+-----------------+-----------------+-----------------------------+
8383
| ARM | Cortex-A57 | #1319537 | ARM64_ERRATUM_1319367 |
8484
+----------------+-----------------+-----------------+-----------------------------+
85+
| ARM | Cortex-A57 | #1742098 | ARM64_ERRATUM_1742098 |
86+
+----------------+-----------------+-----------------+-----------------------------+
8587
| ARM | Cortex-A72 | #853709 | N/A |
8688
+----------------+-----------------+-----------------+-----------------------------+
8789
| ARM | Cortex-A72 | #1319367 | ARM64_ERRATUM_1319367 |
8890
+----------------+-----------------+-----------------+-----------------------------+
91+
| ARM | Cortex-A72 | #1655431 | ARM64_ERRATUM_1742098 |
92+
+----------------+-----------------+-----------------+-----------------------------+
8993
| ARM | Cortex-A73 | #858921 | ARM64_ERRATUM_858921 |
9094
+----------------+-----------------+-----------------+-----------------------------+
9195
| ARM | Cortex-A76 | #1188873,1418040| ARM64_ERRATUM_1418040 |
@@ -102,6 +106,8 @@ stable kernels.
102106
+----------------+-----------------+-----------------+-----------------------------+
103107
| ARM | Cortex-A510 | #2077057 | ARM64_ERRATUM_2077057 |
104108
+----------------+-----------------+-----------------+-----------------------------+
109+
| ARM | Cortex-A510 | #2441009 | ARM64_ERRATUM_2441009 |
110+
+----------------+-----------------+-----------------+-----------------------------+
105111
| ARM | Cortex-A710 | #2119858 | ARM64_ERRATUM_2119858 |
106112
+----------------+-----------------+-----------------+-----------------------------+
107113
| ARM | Cortex-A710 | #2054223 | ARM64_ERRATUM_2054223 |

0 commit comments

Comments
 (0)