aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorChangbin Du <[email protected]>2017-12-22 14:31:49 +0800
committerChris Wilson <[email protected]>2017-12-22 11:12:15 +0000
commit219af7331f37e0e803688f6c5f7d29bc6204e88e (patch)
tree3e40004026527c3ba6d285cd7096513fd1590a30 /tools/perf/util/c++/clang.cpp
parent27d558a1a0ab07bcf15b3ca7e816f9ed2f558e59 (diff)
drm/i915: Do not enable movntdqa optimization in hypervisor guest
Our QA reported a problem caused by movntdqa instructions. Currently, the KVM hypervisor doesn't support VEX-prefix instructions emulation. If users passthrough a GPU to guest with vfio option 'x-no-mmap=on', then all access to the BARs will be trapped and emulated. The KVM hypervisor would raise an inertal error to qemu which cause the guest killed. (Since 'movntdqa' ins is not supported.) This patch try not to enable movntdqa optimization if the driver is running in hypervisor guest. Signed-off-by: Changbin Du <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions