Date: Wed, 13 Jun 2018 15:58:33 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r335065 - head/sys/arm64/arm64 Message-ID: <201806131558.w5DFwXdZ012312@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806131558.w5DFwXdZ012312>