Home
last modified time | relevance | path

Searched refs:flush_ex (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/tools/testing/selftests/kvm/x86_64/
Dhyperv_tlb_flush.c205 struct hv_tlb_flush_ex *flush_ex = (struct hv_tlb_flush_ex *)data->hcall_gva; in sender_guest_code() local
273 flush_ex->flags = HV_FLUSH_ALL_VIRTUAL_ADDRESS_SPACES; in sender_guest_code()
274 flush_ex->hv_vp_set.format = HV_GENERIC_SET_SPARSE_4K; in sender_guest_code()
275 flush_ex->hv_vp_set.valid_bank_mask = BIT_ULL(WORKER_VCPU_ID_2 / 64); in sender_guest_code()
276 flush_ex->hv_vp_set.bank_contents[0] = BIT_ULL(WORKER_VCPU_ID_2 % 64); in sender_guest_code()
288 flush_ex->flags = HV_FLUSH_ALL_VIRTUAL_ADDRESS_SPACES; in sender_guest_code()
289 flush_ex->hv_vp_set.format = HV_GENERIC_SET_SPARSE_4K; in sender_guest_code()
290 flush_ex->hv_vp_set.valid_bank_mask = BIT_ULL(WORKER_VCPU_ID_2 / 64); in sender_guest_code()
291 flush_ex->hv_vp_set.bank_contents[0] = BIT_ULL(WORKER_VCPU_ID_2 % 64); in sender_guest_code()
293 flush_ex->gva_list[1] = (u64)data->test_pages; in sender_guest_code()
[all …]
/linux-6.6.21/arch/x86/kvm/
Dhyperv.c1956 struct hv_tlb_flush_ex flush_ex; in kvm_hv_flush_tlb() local
2025 flush_ex.address_space = hc->ingpa; in kvm_hv_flush_tlb()
2026 flush_ex.flags = hc->outgpa; in kvm_hv_flush_tlb()
2027 memcpy(&flush_ex.hv_vp_set, in kvm_hv_flush_tlb()
2031 if (unlikely(kvm_read_guest(kvm, hc->ingpa, &flush_ex, in kvm_hv_flush_tlb()
2032 sizeof(flush_ex)))) in kvm_hv_flush_tlb()
2034 hc->data_offset = sizeof(flush_ex); in kvm_hv_flush_tlb()
2037 trace_kvm_hv_flush_tlb_ex(flush_ex.hv_vp_set.valid_bank_mask, in kvm_hv_flush_tlb()
2038 flush_ex.hv_vp_set.format, in kvm_hv_flush_tlb()
2039 flush_ex.address_space, in kvm_hv_flush_tlb()
[all …]