* [PATCH 5.4-6.17 0/2] arm64: errata: Apply workarounds for Neoverse-V3AE
@ 2025-10-16 11:12 Ryan Roberts
2025-10-16 11:12 ` [PATCH 5.4-6.17 1/2] arm64: cputype: Add Neoverse-V3AE definitions Ryan Roberts
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Ryan Roberts @ 2025-10-16 11:12 UTC (permalink / raw)
To: stable
Cc: Ryan Roberts, catalin.marinas, will, mark.rutland,
linux-arm-kernel, linux-kernel
Hi All,
This series is a backport intended for all supported stable kernels (5.4-6.17)
of the recent errata workarounds for Neoverse-V3AE, which were originally posted
at:
https://lore.kernel.org/all/20250919145832.4035534-1-ryan.roberts@arm.com/
... and were originally merged upstream in v6.18-rc1.
I've tested that these patches apply to 5.4-6.12 without issue, but there is a
trivial conflict to resolve in silicon-errata.rst for it to apply to 6.16 and
6.17. Are you happy to deal with that or should I send a separate series?
Thanks,
Ryan
Mark Rutland (2):
arm64: cputype: Add Neoverse-V3AE definitions
arm64: errata: Apply workarounds for Neoverse-V3AE
Documentation/arch/arm64/silicon-errata.rst | 2 ++
arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/cputype.h | 2 ++
arch/arm64/kernel/cpu_errata.c | 1 +
4 files changed, 6 insertions(+)
--
2.43.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 5.4-6.17 1/2] arm64: cputype: Add Neoverse-V3AE definitions
2025-10-16 11:12 [PATCH 5.4-6.17 0/2] arm64: errata: Apply workarounds for Neoverse-V3AE Ryan Roberts
@ 2025-10-16 11:12 ` Ryan Roberts
2025-10-16 11:12 ` [PATCH 5.4-6.17 2/2] arm64: errata: Apply workarounds for Neoverse-V3AE Ryan Roberts
2025-10-17 7:08 ` [PATCH 5.4-6.17 0/2] " Greg KH
2 siblings, 0 replies; 5+ messages in thread
From: Ryan Roberts @ 2025-10-16 11:12 UTC (permalink / raw)
To: stable
Cc: Ryan Roberts, catalin.marinas, will, mark.rutland,
linux-arm-kernel, linux-kernel, James Morse
From: Mark Rutland <mark.rutland@arm.com>
[ Upstream commit 3bbf004c4808e2c3241e5c1ad6cc102f38a03c39 ]
Add cputype definitions for Neoverse-V3AE. These will be used for errata
detection in subsequent patches.
These values can be found in the Neoverse-V3AE TRM:
https://developer.arm.com/documentation/SDEN-2615521/9-0/
... in section A.6.1 ("MIDR_EL1, Main ID Register").
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Ryan Roberts <ryan.roberts@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
[ Ryan: Trivial backport ]
Signed-off-by: Ryan Roberts <ryan.roberts@arm.com>
---
arch/arm64/include/asm/cputype.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/include/asm/cputype.h b/arch/arm64/include/asm/cputype.h
index d92a0203e5a9..c279a0a9b366 100644
--- a/arch/arm64/include/asm/cputype.h
+++ b/arch/arm64/include/asm/cputype.h
@@ -93,6 +93,7 @@
#define ARM_CPU_PART_NEOVERSE_V2 0xD4F
#define ARM_CPU_PART_CORTEX_A720 0xD81
#define ARM_CPU_PART_CORTEX_X4 0xD82
+#define ARM_CPU_PART_NEOVERSE_V3AE 0xD83
#define ARM_CPU_PART_NEOVERSE_V3 0xD84
#define ARM_CPU_PART_CORTEX_X925 0xD85
#define ARM_CPU_PART_CORTEX_A725 0xD87
@@ -180,6 +181,7 @@
#define MIDR_NEOVERSE_V2 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_V2)
#define MIDR_CORTEX_A720 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A720)
#define MIDR_CORTEX_X4 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X4)
+#define MIDR_NEOVERSE_V3AE MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_V3AE)
#define MIDR_NEOVERSE_V3 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_V3)
#define MIDR_CORTEX_X925 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X925)
#define MIDR_CORTEX_A725 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A725)
--
2.43.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 5.4-6.17 2/2] arm64: errata: Apply workarounds for Neoverse-V3AE
2025-10-16 11:12 [PATCH 5.4-6.17 0/2] arm64: errata: Apply workarounds for Neoverse-V3AE Ryan Roberts
2025-10-16 11:12 ` [PATCH 5.4-6.17 1/2] arm64: cputype: Add Neoverse-V3AE definitions Ryan Roberts
@ 2025-10-16 11:12 ` Ryan Roberts
2025-10-17 7:08 ` [PATCH 5.4-6.17 0/2] " Greg KH
2 siblings, 0 replies; 5+ messages in thread
From: Ryan Roberts @ 2025-10-16 11:12 UTC (permalink / raw)
To: stable
Cc: Ryan Roberts, catalin.marinas, will, mark.rutland,
linux-arm-kernel, linux-kernel, James Morse
From: Mark Rutland <mark.rutland@arm.com>
[ Upstream commit 0c33aa1804d101c11ba1992504f17a42233f0e11 ]
Neoverse-V3AE is also affected by erratum #3312417, as described in its
Software Developer Errata Notice (SDEN) document:
Neoverse V3AE (MP172) SDEN v9.0, erratum 3312417
https://developer.arm.com/documentation/SDEN-2615521/9-0/
Enable the workaround for Neoverse-V3AE, and document this.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Ryan Roberts <ryan.roberts@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
[ Ryan: Trivial backport ]
Signed-off-by: Ryan Roberts <ryan.roberts@arm.com>
---
Documentation/arch/arm64/silicon-errata.rst | 2 ++
arch/arm64/Kconfig | 1 +
arch/arm64/kernel/cpu_errata.c | 1 +
3 files changed, 4 insertions(+)
diff --git a/Documentation/arch/arm64/silicon-errata.rst b/Documentation/arch/arm64/silicon-errata.rst
index b42fea07c5ce..b6dacd012539 100644
--- a/Documentation/arch/arm64/silicon-errata.rst
+++ b/Documentation/arch/arm64/silicon-errata.rst
@@ -198,6 +198,8 @@ stable kernels.
+----------------+-----------------+-----------------+-----------------------------+
| ARM | Neoverse-V3 | #3312417 | ARM64_ERRATUM_3194386 |
+----------------+-----------------+-----------------+-----------------------------+
+| ARM | Neoverse-V3AE | #3312417 | ARM64_ERRATUM_3194386 |
++----------------+-----------------+-----------------+-----------------------------+
| ARM | MMU-500 | #841119,826419 | N/A |
+----------------+-----------------+-----------------+-----------------------------+
| ARM | MMU-600 | #1076982,1209401| N/A |
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 7887d18cce3e..40ae4dd961b1 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -1111,6 +1111,7 @@ config ARM64_ERRATUM_3194386
* ARM Neoverse-V1 erratum 3324341
* ARM Neoverse V2 erratum 3324336
* ARM Neoverse-V3 erratum 3312417
+ * ARM Neoverse-V3AE erratum 3312417
On affected cores "MSR SSBS, #0" instructions may not affect
subsequent speculative instructions, which may permit unexepected
diff --git a/arch/arm64/kernel/cpu_errata.c b/arch/arm64/kernel/cpu_errata.c
index a78f247029ae..3f675ae57d09 100644
--- a/arch/arm64/kernel/cpu_errata.c
+++ b/arch/arm64/kernel/cpu_errata.c
@@ -455,6 +455,7 @@ static const struct midr_range erratum_spec_ssbs_list[] = {
MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V1),
MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V2),
MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V3),
+ MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V3AE),
{}
};
#endif
--
2.43.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 5.4-6.17 0/2] arm64: errata: Apply workarounds for Neoverse-V3AE
2025-10-16 11:12 [PATCH 5.4-6.17 0/2] arm64: errata: Apply workarounds for Neoverse-V3AE Ryan Roberts
2025-10-16 11:12 ` [PATCH 5.4-6.17 1/2] arm64: cputype: Add Neoverse-V3AE definitions Ryan Roberts
2025-10-16 11:12 ` [PATCH 5.4-6.17 2/2] arm64: errata: Apply workarounds for Neoverse-V3AE Ryan Roberts
@ 2025-10-17 7:08 ` Greg KH
2025-10-20 8:59 ` Ryan Roberts
2 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2025-10-17 7:08 UTC (permalink / raw)
To: Ryan Roberts
Cc: stable, catalin.marinas, will, mark.rutland, linux-arm-kernel,
linux-kernel
On Thu, Oct 16, 2025 at 12:12:04PM +0100, Ryan Roberts wrote:
> Hi All,
>
> This series is a backport intended for all supported stable kernels (5.4-6.17)
> of the recent errata workarounds for Neoverse-V3AE, which were originally posted
> at:
>
> https://lore.kernel.org/all/20250919145832.4035534-1-ryan.roberts@arm.com/
>
> ... and were originally merged upstream in v6.18-rc1.
>
> I've tested that these patches apply to 5.4-6.12 without issue, but there is a
> trivial conflict to resolve in silicon-errata.rst for it to apply to 6.16 and
> 6.17. Are you happy to deal with that or should I send a separate series?
Please resend a separate series for that, and then resend this series as
well, marked for the specific kernel releases that they are for.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 5.4-6.17 0/2] arm64: errata: Apply workarounds for Neoverse-V3AE
2025-10-17 7:08 ` [PATCH 5.4-6.17 0/2] " Greg KH
@ 2025-10-20 8:59 ` Ryan Roberts
0 siblings, 0 replies; 5+ messages in thread
From: Ryan Roberts @ 2025-10-20 8:59 UTC (permalink / raw)
To: Greg KH
Cc: stable, catalin.marinas, will, mark.rutland, linux-arm-kernel,
linux-kernel
On 17/10/2025 08:08, Greg KH wrote:
> On Thu, Oct 16, 2025 at 12:12:04PM +0100, Ryan Roberts wrote:
>> Hi All,
>>
>> This series is a backport intended for all supported stable kernels (5.4-6.17)
>> of the recent errata workarounds for Neoverse-V3AE, which were originally posted
>> at:
>>
>> https://lore.kernel.org/all/20250919145832.4035534-1-ryan.roberts@arm.com/
>>
>> ... and were originally merged upstream in v6.18-rc1.
>>
>> I've tested that these patches apply to 5.4-6.12 without issue, but there is a
>> trivial conflict to resolve in silicon-errata.rst for it to apply to 6.16 and
>> 6.17. Are you happy to deal with that or should I send a separate series?
>
> Please resend a separate series for that, and then resend this series as
> well, marked for the specific kernel releases that they are for.
OK will do. Incoming shortly...
>
> thanks,
>
> greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-10-20 8:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-16 11:12 [PATCH 5.4-6.17 0/2] arm64: errata: Apply workarounds for Neoverse-V3AE Ryan Roberts
2025-10-16 11:12 ` [PATCH 5.4-6.17 1/2] arm64: cputype: Add Neoverse-V3AE definitions Ryan Roberts
2025-10-16 11:12 ` [PATCH 5.4-6.17 2/2] arm64: errata: Apply workarounds for Neoverse-V3AE Ryan Roberts
2025-10-17 7:08 ` [PATCH 5.4-6.17 0/2] " Greg KH
2025-10-20 8:59 ` Ryan Roberts
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox