diff options
author | Nicolai Stange <nstange@suse.de> | 2018-07-22 14:38:18 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-08-05 10:53:14 +0300 |
commit | 18b57ce2eb8c8b9a24174a89250cf5f57c76ecdc (patch) | |
tree | 136d45faa9dded38530f316d9d6bfea41adb7381 /kernel/crash_core.c | |
parent | ffcba43ff66c7dab34ec700debd491d2a4d319b4 (diff) | |
download | linux-18b57ce2eb8c8b9a24174a89250cf5f57c76ecdc.tar.xz |
x86/KVM/VMX: Don't set l1tf_flush_l1d from vmx_handle_external_intr()
For VMEXITs caused by external interrupts, vmx_handle_external_intr()
indirectly calls into the interrupt handlers through the host's IDT.
It follows that these interrupts get accounted for in the
kvm_cpu_l1tf_flush_l1d per-cpu flag.
The subsequently executed vmx_l1d_flush() will thus be aware that some
interrupts have happened and conduct a L1d flush anyway.
Setting l1tf_flush_l1d from vmx_handle_external_intr() isn't needed
anymore. Drop it.
Signed-off-by: Nicolai Stange <nstange@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/crash_core.c')
0 files changed, 0 insertions, 0 deletions