aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/arm64/mp_machdep.c
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2018-01-09 14:33:05 +0000
committerAndrew Turner <andrew@FreeBSD.org>2018-01-09 14:33:05 +0000
commit4bb409fb8d8757d8c3cc0221d65150a57e444139 (patch)
tree8df36b542d92ca54a279bb59d3993d8dbdeb45e1 /sys/arm64/arm64/mp_machdep.c
parent091da2dfa536fe4ae8ac1e5c807296196b6d2184 (diff)
downloadsrc-4bb409fb8d8757d8c3cc0221d65150a57e444139.tar.gz
src-4bb409fb8d8757d8c3cc0221d65150a57e444139.zip
Add a framework to install CPU errata on arm64. Each erratum can encode
a mask and value to compare with the Main ID Register. If these match then a function is called to handle the installation of the erratum workaround. No errata are currently handled, however this will change soon in a future commit. MFC after: 1 week Sponsored by: DARPA, AFRL
Notes
Notes: svn path=/head/; revision=327727
Diffstat (limited to 'sys/arm64/arm64/mp_machdep.c')
-rw-r--r--sys/arm64/arm64/mp_machdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm64/arm64/mp_machdep.c b/sys/arm64/arm64/mp_machdep.c
index 2b2d7f8fbe2c..9ea0a2ba400c 100644
--- a/sys/arm64/arm64/mp_machdep.c
+++ b/sys/arm64/arm64/mp_machdep.c
@@ -282,6 +282,7 @@ init_secondary(uint64_t cpu)
* runtime chip identification.
*/
identify_cpu();
+ install_cpu_errata();
intr_pic_init_secondary();