Files
linux/arch/x86/include/asm
Vitaly Kuznetsov c30e9bc8b6 KVM: nVMX: hyper-v: Enable L2 TLB flush
Enable L2 TLB flush feature on nVMX when:
- Enlightened VMCS is in use.
- The feature flag is enabled in eVMCS.
- The feature flag is enabled in partition assist page.

Perform synthetic vmexit to L1 after processing TLB flush call upon
request (HV_VMX_SYNTHETIC_EXIT_REASON_TRAP_AFTER_FLUSH).

Note: nested_evmcs_l2_tlb_flush_enabled() uses cached VP assist page copy
which gets updated from nested_vmx_handle_enlightened_vmptrld(). This is
also guaranteed to happen post migration with eVMCS backed L2 running.

Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20221101145426.251680-27-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-11-18 12:59:17 -05:00
..
2021-10-20 22:35:04 +02:00
2021-03-18 15:31:53 +01:00
2022-08-04 11:11:59 +02:00
2022-06-27 10:33:58 +02:00
2020-01-23 10:41:20 -08:00
2022-09-26 10:13:16 -07:00
2021-03-18 15:31:53 +01:00
2022-08-31 14:34:11 -07:00
2022-09-29 12:20:50 +02:00
2020-05-07 16:06:20 +02:00
2022-04-12 15:42:59 +02:00
2021-12-11 09:09:47 +01:00
2021-10-28 23:25:26 +02:00
2020-10-28 20:26:25 +01:00
2021-10-05 21:48:30 +02:00
2022-08-19 04:05:42 -04:00
2020-11-26 12:58:56 +01:00
2022-06-28 13:20:21 +02:00
2020-11-06 23:14:58 +01:00
2022-10-03 14:03:26 -07:00
2022-04-07 08:27:52 -07:00
2022-04-14 14:09:43 +02:00
2020-09-16 16:52:28 +02:00
2021-12-11 09:09:45 +01:00
2021-07-01 11:06:03 -07:00
2022-08-21 10:06:28 -07:00
2022-04-14 14:15:54 +02:00
2022-08-25 15:54:03 +02:00
2022-07-07 10:13:02 -07:00
2021-12-11 09:09:45 +01:00
2020-03-21 16:03:25 +01:00
2022-04-07 08:27:52 -07:00
2020-11-17 14:36:13 +01:00
2022-08-18 12:36:42 +02:00
2022-01-30 21:17:00 -05:00
2022-01-30 21:17:00 -05:00
2020-03-23 18:45:14 +01:00
2022-06-08 05:56:24 -04:00
2020-01-14 12:20:58 +01:00