Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93f033f3 authored by Isaac J. Manjarres's avatar Isaac J. Manjarres
Browse files

arm64: Enable branch predictor hardening on kryo4xx gold cores



Add the kryo4xx gold cores to the list of CPUs that need
to have the SMCCC workaround for branch predictor
hardening.

Change-Id: I9b7f132316e45d592f25029b34e32bb680db08b7
Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent e19ca39b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -574,6 +574,11 @@ const struct arm64_cpu_capabilities arm64_errata[] = {
		MIDR_ALL_VERSIONS(MIDR_CAVIUM_THUNDERX2),
		.enable = enable_smccc_arch_workaround_1,
	},
	{
		.capability = ARM64_HARDEN_BRANCH_PREDICTOR,
		MIDR_ALL_VERSIONS(MIDR_KRYO4G),
		.enable = enable_smccc_arch_workaround_1,
	},
#endif
#ifdef CONFIG_ARM64_SSBD
	{