commit | 9e360d32fe8228c4fee6cab84f60020d0ecf061e | [log] [tgz] |
---|---|---|
author | Venkatesh Srinivas <venkateshs@google.com> | Thu May 23 04:24:09 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Thu May 23 04:24:09 2019 +0000 |
tree | 786bcf1615832d5f94bb20f7cea04d325ccf5f80 | |
parent | 5d863352b729510a5dbd89ca6d82c0b8d7c62a33 [diff] |
[kernel][x86] Intel: Convert meltdown/l1tf enumeration to use cpuid.h cpuid.h provides a new(er) C++-y interface to fetch x86 CPUID properties; switch from using the old C cached cpuid interface to the C++ one. The C++ cpuid.h interfaces also allow writing unit tests; this will be interesting in particular for MDS, which has more complex conditions for when it is present. Tested: Meltdown/L1TF enumeration still work: $ k cpu features [00006.962] 01219:01240> Vendor: Intel [00006.962] 01219:01240> Microarch: Haswell [00006.963] 01219:01240> F/M/S: 6/3c/4 [00006.963] 01219:01240> patch_level: 0 [00006.963] 01219:01240> Brand: Intel Core Processor (Haswell) [00006.963] 01219:01240> Features: fpu sse sse2 sse3 ssse3 sse4.1 sse4.2 mmx fxsr xsave aesni clflush smep smap erms [00006.963] 01219:01240> syscall nx rdtscp hypervisor [00006.963] 01219:01240> Properties: meltdown l1tf ZX-4185 Change-Id: I6edd044352b2aa2ced58dbb747beab0809e6dfa5
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See the documentation.