Home
last modified time | relevance | path

Searched refs:hv (Results 1 - 25 of 37) sorted by relevance

12

/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dtest_vxlan_under_vrf.sh16 # | | veth-hv | | | | veth-hv | |
39 # | hv-1 netns | | hv-2 netns |
49 ip link del veth-hv-1 2>/dev/null || true
52 for ns in hv-1 hv-2 vm-1 vm-2; do
65 ip link add veth-hv-1 type veth peer name veth-hv-2
66 setup-hv
[all...]
H A Dtest_vxlan_vnifiltering.sh43 # | hv-1 netns +--------|------------+ |
47 # | hv-2 netns +--------|-------------+ |
151 ip netns exec hv-1 ping -c 1 -W 1 $1 &>/dev/null
153 ip netns exec hv-1 ping -c 1 -W 1 $2 &>/dev/null
167 ip link del veth-hv-1 2>/dev/null || true
170 for ns in hv-1 hv-2 vm-11 vm-21 vm-12 vm-22 vm-31 vm-32; do
177 setup-hv-networking() {
178 hv=$1
184 ip netns add hv
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Dtest_vxlan_under_vrf.sh16 # | | veth-hv | | | | veth-hv | |
39 # | hv-1 netns | | hv-2 netns |
49 ip link del veth-hv-1 2>/dev/null || true
52 for ns in hv-1 hv-2 vm-1 vm-2; do
65 ip link add veth-hv-1 type veth peer name veth-hv-2
66 setup-hv
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/hyperv/
H A Dhyperv_drm_modeset.c26 struct hyperv_drm_device *hv = to_hv(fb->dev); in hyperv_blit_to_vram_rect() local
27 struct iosys_map dst = IOSYS_MAP_INIT_VADDR_IOMEM(hv->vram); in hyperv_blit_to_vram_rect()
30 if (!drm_dev_enter(&hv->dev, &idx)) in hyperv_blit_to_vram_rect()
55 struct hyperv_drm_device *hv = to_hv(connector->dev); in hyperv_connector_get_modes() local
61 drm_set_preferred_mode(connector, hv->preferred_width, in hyperv_connector_get_modes()
62 hv->preferred_height); in hyperv_connector_get_modes()
79 static inline int hyperv_conn_init(struct hyperv_drm_device *hv) in hyperv_conn_init() argument
81 drm_connector_helper_add(&hv->connector, &hyperv_connector_helper_funcs); in hyperv_conn_init()
82 return drm_connector_init(&hv->dev, &hv in hyperv_conn_init()
87 hyperv_check_size(struct hyperv_drm_device *hv, int w, int h, struct drm_framebuffer *fb) hyperv_check_size() argument
105 struct hyperv_drm_device *hv = to_hv(pipe->crtc.dev); hyperv_pipe_enable() local
120 struct hyperv_drm_device *hv = to_hv(pipe->crtc.dev); hyperv_pipe_check() local
138 struct hyperv_drm_device *hv = to_hv(pipe->crtc.dev); hyperv_pipe_update() local
165 hyperv_pipe_init(struct hyperv_drm_device *hv) hyperv_pipe_init() argument
188 struct hyperv_drm_device *hv = to_hv(dev); hyperv_mode_valid() local
203 hyperv_mode_config_init(struct hyperv_drm_device *hv) hyperv_mode_config_init() argument
[all...]
H A Dhyperv_drm_drv.c70 static int hyperv_setup_vram(struct hyperv_drm_device *hv, in hyperv_setup_vram() argument
73 struct drm_device *dev = &hv->dev; in hyperv_setup_vram()
80 hv->fb_size = (unsigned long)hv->mmio_megabytes * 1024 * 1024; in hyperv_setup_vram()
82 ret = vmbus_allocate_mmio(&hv->mem, hdev, 0, -1, hv->fb_size, 0x100000, in hyperv_setup_vram()
94 hv->vram = ioremap_cache(hv->mem->start, hv->fb_size); in hyperv_setup_vram()
95 if (!hv in hyperv_setup_vram()
112 struct hyperv_drm_device *hv; hyperv_vmbus_probe() local
171 struct hyperv_drm_device *hv = to_hv(dev); hyperv_vmbus_remove() local
198 struct hyperv_drm_device *hv = to_hv(dev); hyperv_vmbus_resume() local
[all...]
H A Dhyperv_drm_proto.c199 struct hyperv_drm_device *hv = hv_get_drvdata(hdev); in hyperv_sendpacket() local
211 drm_err_ratelimited(&hv->dev, "Unable to send packet via vmbus; error %d\n", ret); in hyperv_sendpacket()
218 struct hyperv_drm_device *hv = hv_get_drvdata(hdev); in hyperv_negotiate_version() local
219 struct synthvid_msg *msg = (struct synthvid_msg *)hv->init_buf; in hyperv_negotiate_version()
220 struct drm_device *dev = &hv->dev; in hyperv_negotiate_version()
230 t = wait_for_completion_timeout(&hv->wait, VMBUS_VSP_TIMEOUT); in hyperv_negotiate_version()
241 hv->synthvid_version = ver; in hyperv_negotiate_version()
250 struct hyperv_drm_device *hv = hv_get_drvdata(hdev); in hyperv_update_vram_location() local
251 struct synthvid_msg *msg = (struct synthvid_msg *)hv->init_buf; in hyperv_update_vram_location()
252 struct drm_device *dev = &hv in hyperv_update_vram_location()
353 struct hyperv_drm_device *hv = hv_get_drvdata(hdev); hyperv_update_dirt() local
378 struct hyperv_drm_device *hv = hv_get_drvdata(hdev); hyperv_get_supported_resolution() local
427 struct hyperv_drm_device *hv = hv_get_drvdata(hdev); hyperv_receive_sub() local
454 struct hyperv_drm_device *hv = hv_get_drvdata(hdev); hyperv_receive() local
477 struct hyperv_drm_device *hv = hv_get_drvdata(hdev); hyperv_connect_vsp() local
[all...]
H A Dhyperv_drm.h43 int hyperv_mode_config_init(struct hyperv_drm_device *hv);
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/lib/x86_64/
H A Dhyperv.c15 struct hyperv_test_pages *hv = addr_gva2hva(vm, hv_pages_gva); in vcpu_alloc_hyperv_test_pages() local
18 hv->vp_assist = (void *)vm_vaddr_alloc_page(vm); in vcpu_alloc_hyperv_test_pages()
19 hv->vp_assist_hva = addr_gva2hva(vm, (uintptr_t)hv->vp_assist); in vcpu_alloc_hyperv_test_pages()
20 hv->vp_assist_gpa = addr_gva2gpa(vm, (uintptr_t)hv->vp_assist); in vcpu_alloc_hyperv_test_pages()
23 hv->partition_assist = (void *)vm_vaddr_alloc_page(vm); in vcpu_alloc_hyperv_test_pages()
24 hv->partition_assist_hva = addr_gva2hva(vm, (uintptr_t)hv->partition_assist); in vcpu_alloc_hyperv_test_pages()
25 hv in vcpu_alloc_hyperv_test_pages()
[all...]
/kernel/linux/linux-6.6/arch/x86/kvm/
H A Dhyperv.c111 struct kvm_hv *hv = to_kvm_hv(vcpu->kvm); in synic_update_vector() local
140 hv->synic_auto_eoi_used++; in synic_update_vector()
142 hv->synic_auto_eoi_used--; in synic_update_vector()
150 !!hv->synic_auto_eoi_used); in synic_update_vector()
338 struct kvm_hv *hv = to_kvm_hv(vcpu->kvm); in kvm_hv_syndbg_complete_userspace() local
341 hv->hv_syndbg.control.status = in kvm_hv_syndbg_complete_userspace()
570 struct kvm_hv *hv = to_kvm_hv(kvm); in get_time_ref_counter() local
578 if (hv->hv_tsc_page_status != HV_TSC_PAGE_SET) in get_time_ref_counter()
583 return mul_u64_u64_shr(tsc, hv->tsc_ref.tsc_scale, 64) in get_time_ref_counter()
584 + hv in get_time_ref_counter()
1035 struct kvm_hv *hv = to_kvm_hv(kvm); kvm_hv_msr_get_crash_data() local
1047 struct kvm_hv *hv = to_kvm_hv(kvm); kvm_hv_msr_get_crash_ctl() local
1055 struct kvm_hv *hv = to_kvm_hv(kvm); kvm_hv_msr_set_crash_ctl() local
1064 struct kvm_hv *hv = to_kvm_hv(kvm); kvm_hv_msr_set_crash_data() local
1152 tsc_page_update_unsafe(struct kvm_hv *hv) tsc_page_update_unsafe() argument
1161 struct kvm_hv *hv = to_kvm_hv(kvm); kvm_hv_setup_tsc_page() local
1238 struct kvm_hv *hv = to_kvm_hv(kvm); kvm_hv_request_tsc_page_update() local
1329 struct kvm_hv *hv = to_kvm_hv(kvm); kvm_hv_set_msr_pw() local
1477 struct kvm_hv *hv = to_kvm_hv(vcpu->kvm); kvm_hv_set_msr() local
1585 struct kvm_hv *hv = to_kvm_hv(kvm); kvm_hv_get_msr_pw() local
1702 struct kvm_hv *hv = to_kvm_hv(vcpu->kvm); kvm_hv_set_msr_common() local
1723 struct kvm_hv *hv = to_kvm_hv(vcpu->kvm); kvm_hv_get_msr_common() local
1745 struct kvm_hv *hv = to_kvm_hv(kvm); sparse_set_to_vcpu_mask() local
2356 struct kvm_hv *hv = to_kvm_hv(vcpu->kvm); kvm_hvcall_signal_event() local
2641 struct kvm_hv *hv = to_kvm_hv(kvm); kvm_hv_init_vm() local
2649 struct kvm_hv *hv = to_kvm_hv(kvm); kvm_hv_destroy_vm() local
2660 struct kvm_hv *hv = to_kvm_hv(kvm); kvm_hv_eventfd_assign() local
2684 struct kvm_hv *hv = to_kvm_hv(kvm); kvm_hv_eventfd_deassign() local
[all...]
/kernel/linux/linux-5.10/arch/x86/kvm/
H A Dhyperv.c289 struct kvm_hv *hv = &kvm->arch.hyperv; in kvm_hv_syndbg_complete_userspace() local
292 hv->hv_syndbg.control.status = in kvm_hv_syndbg_complete_userspace()
523 struct kvm_hv *hv = &kvm->arch.hyperv; in get_time_ref_counter() local
531 if (!hv->tsc_ref.tsc_sequence) in get_time_ref_counter()
536 return mul_u64_u64_shr(tsc, hv->tsc_ref.tsc_scale, 64) in get_time_ref_counter()
537 + hv->tsc_ref.tsc_offset; in get_time_ref_counter()
953 struct kvm_hv *hv = &vcpu->kvm->arch.hyperv; in kvm_hv_msr_get_crash_data() local
954 size_t size = ARRAY_SIZE(hv->hv_crash_param); in kvm_hv_msr_get_crash_data()
959 *pdata = hv->hv_crash_param[array_index_nospec(index, size)]; in kvm_hv_msr_get_crash_data()
965 struct kvm_hv *hv in kvm_hv_msr_get_crash_ctl() local
973 struct kvm_hv *hv = &vcpu->kvm->arch.hyperv; kvm_hv_msr_set_crash_ctl() local
997 struct kvm_hv *hv = &vcpu->kvm->arch.hyperv; kvm_hv_msr_set_crash_data() local
1079 struct kvm_hv *hv = &kvm->arch.hyperv; kvm_hv_setup_tsc_page() local
1140 struct kvm_hv *hv = &kvm->arch.hyperv; kvm_hv_set_msr_pw() local
1231 struct kvm_hv *hv = &vcpu->kvm->arch.hyperv; kvm_hv_set_msr() local
1341 struct kvm_hv *hv = &kvm->arch.hyperv; kvm_hv_get_msr_pw() local
1477 struct kvm_hv *hv = &kvm->arch.hyperv; sparse_set_to_vcpu_mask() local
1918 struct kvm_hv *hv = &kvm->arch.hyperv; kvm_hv_eventfd_assign() local
1942 struct kvm_hv *hv = &kvm->arch.hyperv; kvm_hv_eventfd_deassign() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kvm/
H A DMakefile62 kvm-hv-y += \
69 kvm-hv-$(CONFIG_PPC_UV) += \
72 kvm-hv-$(CONFIG_PPC_TRANSACTIONAL_MEM) += \
132 obj-$(CONFIG_KVM_BOOK3S_64_HV) += kvm-hv.o
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A DMakefile67 kvm-hv-y += \
74 kvm-hv-$(CONFIG_PPC_UV) += \
77 kvm-hv-$(CONFIG_PPC_TRANSACTIONAL_MEM) += \
136 obj-$(CONFIG_KVM_BOOK3S_64_HV) += kvm-hv.o
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-tegra.c22 void __iomem *hv; member
87 writel(MGBE_SID, mgbe->hv + MGBE_WRAP_AXI_ASID0_CTRL); in tegra_mgbe_resume()
222 mgbe->hv = devm_platform_ioremap_resource_byname(pdev, "hypervisor"); in tegra_mgbe_probe()
223 if (IS_ERR(mgbe->hv)) in tegra_mgbe_probe()
224 return PTR_ERR(mgbe->hv); in tegra_mgbe_probe()
339 writel(MGBE_SID, mgbe->hv + MGBE_WRAP_AXI_ASID0_CTRL); in tegra_mgbe_probe()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dsecurity.c306 bool enable, hv; in setup_stf_barrier() local
308 hv = cpu_has_feature(CPU_FTR_HVMODE); in setup_stf_barrier()
322 (security_ftr_enabled(SEC_FTR_L1D_FLUSH_HV) && hv)); in setup_stf_barrier()
H A Dtraps.c1753 bool hv; in facility_unavailable_exception() local
1755 hv = (TRAP(regs) == 0xf80); in facility_unavailable_exception()
1756 if (hv) in facility_unavailable_exception()
1762 if ((hv || status >= 2) && in facility_unavailable_exception()
1845 hv ? "Hypervisor " : "", facility, status, regs->nip, regs->msr); in facility_unavailable_exception()
/kernel/linux/linux-5.10/drivers/hv/
H A DMakefile10 hv.o connection.o channel.o \
/kernel/linux/linux-6.6/drivers/hv/
H A DMakefile10 hv.o connection.o channel.o \
/kernel/linux/linux-5.10/tools/
H A DMakefile21 @echo ' hv - tools used when in Hyper-V clients'
67 cgroup firewire hv guest bootconfig spi usb virtio vm bpf iio gpio objtool leds wmi pci firmware debugging: FORCE
102 all: acpi cgroup cpupower gpio hv firewire liblockdep \
/kernel/linux/linux-5.10/lib/zstd/
H A Dhuf.h84 void *name##hv = &(name##hb); \
85 HUF_CElt *name = (HUF_CElt *)(name##hv) /* no final ; */
/kernel/linux/linux-6.6/tools/
H A DMakefile22 @echo ' hv - tools used when in Hyper-V clients'
72 cgroup counter firewire hv guest bootconfig spi usb virtio mm bpf iio gpio objtool leds wmi pci firmware debugging tracing: FORCE
119 all: acpi cgroup counter cpupower gpio hv firewire \
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A DMakefile58 mlx5_core-$(CONFIG_PCI_HYPERV_INTERFACE) += lib/hv.o lib/hv_vhca.o
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dtraps.c1760 bool hv; in DEFINE_INTERRUPT_HANDLER() local
1762 hv = (TRAP(regs) == INTERRUPT_H_FAC_UNAVAIL); in DEFINE_INTERRUPT_HANDLER()
1763 if (hv) in DEFINE_INTERRUPT_HANDLER()
1769 if ((hv || status >= 2) && in DEFINE_INTERRUPT_HANDLER()
1850 hv ? "Hypervisor " : "", facility, status, regs->nip, regs->msr); in DEFINE_INTERRUPT_HANDLER()
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/include/x86_64/
H A Devmcs.h261 static inline bool load_evmcs(struct hyperv_test_pages *hv) in load_evmcs() argument
263 if (evmcs_vmptrld(hv->enlightened_vmcs_gpa, hv->enlightened_vmcs)) in load_evmcs()
/kernel/linux/linux-5.10/arch/powerpc/xmon/
H A Dxmon.c2016 bool hv = mfmsr() & MSR_HV; in dump_300_sprs() local
2024 hv ? mfspr(SPRN_PSSCR) : mfspr(SPRN_PSSCR_PR)); in dump_300_sprs()
2026 if (!hv) in dump_300_sprs()
2694 bool hv = cpu_has_feature(CPU_FTR_HVMODE); in dump_one_xive() local
2696 if (hv) { in dump_one_xive()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A DMakefile89 mlx5_core-$(CONFIG_PCI_HYPERV_INTERFACE) += lib/hv.o lib/hv_vhca.o

Completed in 23 milliseconds

12