diff options
author | Brian Inglis <Brian.Inglis@SystematicSW.ab.ca> | 2020-04-10 22:35:28 -0600 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2020-04-14 12:35:51 +0200 |
commit | 073edd532910230b992fdd30edd726403aab3854 (patch) | |
tree | 730a612f91ed98564759b944621d4ec4a613b38a | |
parent | 3d1360113d2d917124f9715baa9e2cfb6ad96915 (diff) | |
download | cygnal-073edd532910230b992fdd30edd726403aab3854.tar.gz cygnal-073edd532910230b992fdd30edd726403aab3854.tar.bz2 cygnal-073edd532910230b992fdd30edd726403aab3854.zip |
proc_cpuinfo: Add PPIN support for AMD
Newer AMD CPUs support a feature called protected processor
identification number (PPIN). This feature can be detected via
CPUID_Fn80000008_EBX[23].
-rw-r--r-- | winsup/cygwin/fhandler_proc.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index 03ec621f4..f1bc1c740 100644 --- a/winsup/cygwin/fhandler_proc.cc +++ b/winsup/cygwin/fhandler_proc.cc @@ -1262,6 +1262,7 @@ format_proc_cpuinfo (void *, char *&destbuf) /* ftcprint (features1, 14, "ibrs" ); */ /* ind br restricted spec */ /* ftcprint (features1, 15, "stibp"); */ /* 1 thread ind br pred */ /* ftcprint (features1, 17, "stibp_always_on"); */ /* stibp always on */ + ftcprint (features1, 23, "amd_ppin"); /* protected proc id no */ /* ftcprint (features1, 24, "ssbd"); */ /* spec store byp dis */ ftcprint (features1, 25, "virt_ssbd"); /* vir spec store byp dis */ /* ftcprint (features1, 26, "ssb_no"); */ /* ssb fixed in hardware */ |