Tim Wiederhake
877f609b8c
cpu_map: Add missing feature "flush-l1d"
...
Signed-off-by: Tim Wiederhake <twiederh@redhat.com >
Reviewed-by: Michal Privoznik <mprivozn@redhat.com >
2023-05-26 08:43:06 +02:00
Tim Wiederhake
24b95e07d2
cpu_map: Add missing x86 feature "sgx"
...
Signed-off-by: Tim Wiederhake <twiederh@redhat.com >
Reviewed-by: Jiri Denemark <jdenemar@redhat.com >
2022-11-08 21:44:40 +01:00
Jiri Denemark
12eb0c9496
cpu_map: Add pschange-mc-no bit in IA32_ARCH_CAPABILITIES MSR
...
Signed-off-by: Jiri Denemark <jdenemar@redhat.com >
Reviewed-by: Pavel Hrdina <phrdina@redhat.com >
2020-05-25 19:20:21 +02:00
Jiri Denemark
17cdefe5f1
cpu_map: Don't use new noTSX models for host-model CPUs
...
Host-model CPU definitions (and domain capabilities) will use the
original CPU models (without noTSX in their name) and explicitly disable
hle and rtm features. This way domains with host-model CPUs will be
migratable even to older versions of libvirt which do not support the
noTSX model variants.
The new models will be advertised in host capabilities and they may
be used explicitly with custom CPUs.
Signed-off-by: Jiri Denemark <jdenemar@redhat.com >
Reviewed-by: Christian Ehrhardt <christian.ehrhardt@canonical.com >
Tested-by: Christian Ehrhardt <christian.ehrhardt@canonical.com >
2020-03-25 22:27:39 +01:00
Christian Ehrhardt
dd17a4eba8
cpu_map: Add more -noTSX x86 CPU models
...
One of the mitigation methods for TAA[1] is to disable TSX
support on the host system. Linux added a mechanism to disable
TSX globally through the kernel command line, and many Linux
distributions now default to tsx=off. This makes existing CPU
models that have HLE and RTM enabled not usable anymore.
Add new versions of all CPU models that have the HLE and RTM
features enabled, that can be used when TSX is disabled in the
host system.
On systems disabling the features without those types defined
in cpu-maps users end up without modern CPU types in the list
of usable CPUs to use in the likes of virsh domcapabilities
or tools higher in the stack like virt-manager.
This adds:
-Cascadelake-Server-noTSX
-Icelake-Client-noTSX
-Icelake-Server-noTSX
-Skylake-Server-noTSX-IBRS
-Skylake-Client-noTSX-IBRS
Introduced in QEMU by commit v4.2.0-rc2-3-g9ab2237f19 (function)
and commit v4.2.0-rc2-4-g02fa60d101 (names)
References:
[1] TAA, TSX asynchronous Abort:
https://software.intel.com/security-software-guidance/insights/deep-dive-intel-transactional-synchronization-extensions-intel-tsx-asynchronous-abort
https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/tsx_async_abort.html
Fixes: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1853200
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com >
Message-Id: <20200310104806.2723-2-christian.ehrhardt@canonical.com >
Reviewed-by: Jiri Denemark <jdenemar@redhat.com >
2020-03-25 22:27:39 +01:00
Jiri Denemark
62a50628ff
cputest: Add data for Intel(R) Core(TM) i7-8550U CPU without TSX
...
Signed-off-by: Jiri Denemark <jdenemar@redhat.com >
Reviewed-by: Christian Ehrhardt <christian.ehrhardt@canonical.com >
2020-03-09 16:17:34 +01:00