[PATCH 2/2] arm64: Apply existing Apple CPU workarounds to M3 and M4
From: Michael Reeves via B4 Relay
Date: Thu Oct 08 2026 - 08:16:26 EST
From: Michael Reeves <michael.reeves077@xxxxxxxxx>
Add M3, M3 Pro, M3 Max and base M4 to apple_cpus so they receive the
existing PMU trap and broken SEIS workarounds needed by KVM.
Co-developed-by: Yureka Lilian <yureka@xxxxxxxxxxxxxx>
Signed-off-by: Yureka Lilian <yureka@xxxxxxxxxxxxxx>
Tested-by: Yureka Lilian <yureka@xxxxxxxxxxxxxx>
Tested-by: Myria Sarvay <myrialsarvay@xxxxxxxxx>
Signed-off-by: Michael Reeves <michael.reeves077@xxxxxxxxx>
---
arch/arm64/kernel/cpu_errata.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/kernel/cpu_errata.c b/arch/arm64/kernel/cpu_errata.c
index e0c094025..8a7703b86 100644
--- a/arch/arm64/kernel/cpu_errata.c
+++ b/arch/arm64/kernel/cpu_errata.c
@@ -288,6 +288,14 @@ static const struct midr_range apple_cpus[] = {
MIDR_ALL_VERSIONS(MIDR_APPLE_M2_AVALANCHE_PRO),
MIDR_ALL_VERSIONS(MIDR_APPLE_M2_BLIZZARD_MAX),
MIDR_ALL_VERSIONS(MIDR_APPLE_M2_AVALANCHE_MAX),
+ MIDR_ALL_VERSIONS(MIDR_APPLE_M3_SAWTOOTH),
+ MIDR_ALL_VERSIONS(MIDR_APPLE_M3_EVEREST),
+ MIDR_ALL_VERSIONS(MIDR_APPLE_M3_SAWTOOTH_PRO),
+ MIDR_ALL_VERSIONS(MIDR_APPLE_M3_EVEREST_PRO),
+ MIDR_ALL_VERSIONS(MIDR_APPLE_M3_SAWTOOTH_MAX),
+ MIDR_ALL_VERSIONS(MIDR_APPLE_M3_EVEREST_MAX),
+ MIDR_ALL_VERSIONS(MIDR_APPLE_M4_DONAN_ECORE),
+ MIDR_ALL_VERSIONS(MIDR_APPLE_M4_DONAN_PCORE),
{},
};
--
2.56.0