]> git.proxmox.com Git - mirror_qemu.git/commit
i386: Add new versions of Skylake/Cascadelake/Icelake without TSX
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 20 Nov 2019 16:49:11 +0000 (13:49 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 21 Nov 2019 15:35:05 +0000 (16:35 +0100)
commit9ab2237f1979f31de228b2a73b56925dbde938d1
tree1565174cc2b327093fa6626b50f4c4e6b5d8793a
parent2a9758c51e2c2d13fc3845c3d603c11df98b8823
i386: Add new versions of Skylake/Cascadelake/Icelake without TSX

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.

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

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.c