aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Inglis <Brian.Inglis@SystematicSW.ab.ca>2021-04-27 17:28:52 -0600
committerCorinna Vinschen <corinna@vinschen.de>2021-04-28 12:26:03 +0200
commit5eb232ede72e394e280d1a23131267c7002d2c52 (patch)
tree77d7bc7a74e9b430c0eb9394807b256f1531a38f
parenta89bd73c5f201d8f2fcce601cc4117269f12514f (diff)
downloadnewlib-5eb232ede72e394e280d1a23131267c7002d2c52.zip
newlib-5eb232ede72e394e280d1a23131267c7002d2c52.tar.gz
newlib-5eb232ede72e394e280d1a23131267c7002d2c52.tar.bz2
format_proc_cpuinfo: add v_spec_ctrl, bus_lock_detect
Linux 5.12 Frozen Wasteland added features and changes: add AMD 0x8000000a EDX:20 v_spec_ctrl virtual speculation control support add Intel 0x00000007 ECX:24 bus_lock_detect bus lock detect debug exception
-rw-r--r--winsup/cygwin/fhandler_proc.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc
index 501c157..7cd0b3a 100644
--- a/winsup/cygwin/fhandler_proc.cc
+++ b/winsup/cygwin/fhandler_proc.cc
@@ -1519,6 +1519,7 @@ format_proc_cpuinfo (void *, char *&destbuf)
ftcprint (features1, 13, "avic"); /* virt int control */
ftcprint (features1, 15, "v_vmsave_vmload"); /* virt vmsave vmload */
ftcprint (features1, 16, "vgif"); /* virt glb int flag */
+ ftcprint (features1, 20, "v_spec_ctrl"); /* virt spec ctrl support */
/* ftcprint (features1, 28, "svme_addr_chk"); *//* secure vmexit addr check */
}
@@ -1542,6 +1543,7 @@ format_proc_cpuinfo (void *, char *&destbuf)
ftcprint (features1, 14, "avx512_vpopcntdq"); /* vec popcnt dw/qw */
ftcprint (features1, 16, "la57"); /* 5 level paging */
ftcprint (features1, 22, "rdpid"); /* rdpid instruction */
+ ftcprint (features1, 24, "bus_lock_detect"); /* bus lock detect dbg excptn */
ftcprint (features1, 25, "cldemote"); /* cldemote instr */
ftcprint (features1, 27, "movdiri"); /* movdiri instr */
ftcprint (features1, 28, "movdir64b"); /* movdir64b instr */