svn commit: r335065 - head/sys/arm64/arm64

Andrew Turner andrew at FreeBSD.org
Wed Jun 13 15:58:34 UTC 2018


Author: andrew
Date: Wed Jun 13 15:58:33 2018
New Revision: 335065
URL: https://svnweb.freebsd.org/changeset/base/335065

Log:
  Add ThunderX2 to the list of CPUs we need to apply the branch predictor
  hardening to.
  
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/arm64/arm64/cpu_errata.c

Modified: head/sys/arm64/arm64/cpu_errata.c
==============================================================================
--- head/sys/arm64/arm64/cpu_errata.c	Wed Jun 13 15:56:24 2018	(r335064)
+++ head/sys/arm64/arm64/cpu_errata.c	Wed Jun 13 15:58:33 2018	(r335065)
@@ -73,6 +73,12 @@ static struct cpu_quirks cpu_quirks[] = {
 		.midr_value = CPU_ID_RAW(CPU_IMPL_ARM, CPU_PART_CORTEX_A75,0,0),
 		.quirk_install = install_psci_bp_hardening,
 	},
+	{
+		.midr_mask = CPU_IMPL_MASK | CPU_PART_MASK,
+		.midr_value =
+		    CPU_ID_RAW(CPU_IMPL_CAVIUM, CPU_PART_THUNDERX2, 0,0),
+		.quirk_install = install_psci_bp_hardening,
+	},
 };
 
 static void


More information about the svn-src-head mailing list